
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    overflow-x: hidden;
}
a {
    color: #00ff9f;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ff6f61;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
header .logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #00ff9f, #ff6f61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
    font-size: 16px;
    position: relative;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #ff6f61;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}
nav ul li a:hover::after {
    width: 100%;
}
.main-content {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
}
.hero-section {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: aurora-move 15s linear infinite;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.7), transparent);
}
.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}
.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(45deg, #00ff9f, #ff6f61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}
button.cta-button {
    background-color: #00ff9f;
    color: #121212;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
button.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%);
    opacity: 0;
    transition: all 0.3s ease;
}
button.cta-button:hover::before {
    width: 200%;
    height: 200%;
    opacity: 1;
}
.features-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #24243e, #302b63);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.7);
}
.feature-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}
.feature-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
    background: linear-gradient(45deg, #00ff9f, #ff6f61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.feature-item p {
    font-size: 16px;
    line-height: 1.6;
}
.example-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #302b63, #0f0c29);
}
.example-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    background: linear-gradient(45deg, #00ff9f, #ff6f61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.example-article {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.example-article h2 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00ff9f, #ff6f61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.example-article p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.example-article pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 10px;
    overflow: auto;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
}
.example-article code {
    color: #00ff9f;
}
.footer {
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
}
.footer p {
    font-size: 14px;
    color: #cccccc;
}
@keyframes aurora-move {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* 响应式设计 */
@media (max-width: 1440px) {
    header {
        padding: 15px 30px;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    button.cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    .example-section h2 {
        font-size: 28px;
    }
}
@media (max-width: 1024px) {
    nav ul {
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 60px;
        right: -100%;
        height: 100%;
        width: 200px;
        transition: right 0.3s ease;
    }
    nav ul.active {
        right: 0;
    }
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .example-section h2 {
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul {
        width: 100%;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    button.cta-button {
        padding: 10px 20px;
        font-size: 12px;
    }
}
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 20px;
    }
    .example-article {
        padding: 20px;
    }
    .feature-item h3 {
        font-size: 18px;
    }
}

