
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
    color: #FFFFFF;
    overflow-x: hidden;
}

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

.navbar-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #63B8FF;
}

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

.navbar-menu a:hover {
    color: #63B8FF;
    text-shadow: 0 0 10px #63B8FF;
}

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

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

/* 主页大图 */
.hero {
    height: 100vh;
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 28, 51, 0.5);
    backdrop-filter: blur(5px);
}

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

.hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #63B8FF, #9D50BB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5em;
    color: #D3D3D3;
}

/* 模块化内容 */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: #63B8FF;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 300px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, backdrop-filter 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    backdrop-filter: blur(15px);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.card p {
    font-size: 1em;
    color: #D3D3D3;
    line-height: 1.6;
}

/* 示例数据展示 */
.sample-data {
    background: rgba(20, 28, 51, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    margin-top: 60px;
}

.sample-data h2 {
    font-size: 2em;
    color: #63B8FF;
    margin-bottom: 20px;
    text-align: center;
}

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

.sample-data li {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* 代码展示 */
.code-section {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    margin-top: 40px;
}

.code-section pre {
    margin: 0;
    color: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

/* 页脚 */
.footer {
    background: rgba(20, 28, 51, 0.9);
    padding: 20px;
    text-align: center;
    color: #D3D3D3;
    position: relative;
}

/* 提示信息 */
.reference-note {
    text-align: center;
    font-size: 1em;
    color: #FF69B4;
    margin-top: 20px;
}

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2em;
    }

    .section-content {
        flex-direction: column;
        gap: 20px;
    }

    .navbar {
        flex-direction: column;
    }

    .navbar-menu {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5em;
    }

    .navbar-logo {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2em;
    }
}

@media (min-width: 1440px) {
    .section {
        padding: 100px 40px;
    }

    .hero-title {
        font-size: 4em;
    }

    .section-title {
        font-size: 3em;
    }
}

