
/* 引入字体 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Helvetica+Neue:wght@400;700&display=swap');

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

* {
    box-sizing: border-box;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.navbar .logo {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #39ff14;
    text-decoration: none;
}

.navbar .nav-links a {
    margin-left: 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #39ff14;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .navbar .nav-links {
        margin-top: 10px;
    }
}

/* 头部区 */
.header {
    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;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.6);
}

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

.header-content h1 {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #39ff14, #6a0dad, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.header-content .cta-button {
    padding: 15px 30px;
    background: #39ff14;
    color: #000000;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-content .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}

.header-content .cta-button:hover::before {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.header-content .cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.4);
}

/* 主体内容 */
.main {
    padding: 100px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.section h2 {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #39ff14;
}

.section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.section pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

.section code {
    font-family: 'Roboto', monospace;
    color: #39ff14;
}

.section img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 10px;
    border-radius: 10px;
}

/* 示例数据展示 */
.sample-data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.sample-data .card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    width: calc(33% - 40px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sample-data .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.sample-data .card h3 {
    color: #ff4500;
    margin-bottom: 15px;
}

.sample-data .card ul {
    list-style: none;
    padding: 0;
}

.sample-data .card ul li {
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .sample-data .card {
        width: calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .sample-data .card {
        width: 100%;
    }
}

/* 页脚 */
.footer {
    width: 100%;
    background: rgba(30, 30, 30, 0.9);
    padding: 20px 50px;
    text-align: center;
    color: #ffffff;
}

.footer p {
    margin: 5px 0;
}

.footer a {
    color: #39ff14;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}

/* 提示信息 */
.reference-note {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(57, 255, 20, 0.8);
    color: #000000;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1000;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

