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

/* 设置字体 */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 首屏样式 */
.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 60, 114, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
    animation: glow 2s infinite alternate;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-button {
    padding: 15px 30px;
    background: linear-gradient(45deg, #00ffcc, #0066ff);
    border: none;
    border-radius: 30px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background: linear-gradient(45deg, #0066ff, #00ffcc);
    box-shadow: 0 0 20px #00ffcc;
}

/* 动画效果 */
@keyframes glow {
    from {
        text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
    }
    to {
        text-shadow: 0 0 20px #00ffcc, 0 0 30px #00ffcc;
    }
}

/* 功能展示区 */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 60px 0;
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}

.feature {
    flex: 1 1 300px;
    margin: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.feature img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-shadow: 0 0 5px #00ffcc;
}

.feature p {
    font-size: 1rem;
    color: #e0e0e0;
}

/* 示例展示区 */
.sample-display {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.sample-display h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 0 0 10px #ff99cc;
}

.sample-article {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
}

.sample-article h3 {
    margin-top: 20px;
    font-size: 1.8rem;
    color: #ffcc00;
}

.sample-article pre {
    background: #000000;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

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

/* 尾屏样式 */
.footer {
    padding: 40px 0;
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    text-align: center;
}

.footer p {
    font-size: 1rem;
    color: #cccccc;
}

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

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

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

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

    .feature {
        width: 80%;
    }

    .sample-article {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .feature img {
        width: 60px;
        height: 60px;
    }
}

