
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A192F, #1E2B45);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #C71585;
}

a {
    color: #00FFFF;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: #6A0DAD;
    transform: scale(1.05);
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin-left: 25px;
}

.navbar ul li a {
    padding: 10px 15px;
    border-radius: 5px;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00FFFF;
    transition: width 0.3s ease-in-out;
}

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

/* Hero 区域 */
.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover, 
                url('https://images.gptkong.com/demo/sample2.png') no-repeat right bottom/50%, 
                linear-gradient(135deg, #0A192F, #1E2B45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 40px;
    animation: slideUp 2s ease-in-out;
}

.hero .cta-button {
    background: #00FFFF;
    color: #0A192F;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.hero .cta-button:hover {
    background: #6A0DAD;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.5);
}

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

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 特性部分 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.1);
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 10%, transparent 10.01%);
    transform: rotate(45deg);
    transition: all 0.5s ease-in-out;
}

.feature-item:hover::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.feature-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 2px solid #00FFFF;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* 示例文章展示 */
.article-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1E2B45, #0A192F);
}

.article-container {
    max-width: 800px;
    margin: auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.article-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

.article-container pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    color: #00FFFF;
}

.article-container blockquote {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-left: 5px solid #00FFFF;
    margin: 20px 0;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

/* 提示信息 */
.footer-note {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

