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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #f0f8ff;
}

a {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffdd57;
}

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

header {
    text-align: center;
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #d0e8f2;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

nav a {
    font-size: 1em;
    padding: 10px 20px;
    border: 2px solid #00aaff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: #00aaff;
    color: #fff;
}

.hero {
    position: relative;
    height: 500px;
    background: url('https://images.gptkong.com/demo/sample1.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

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

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

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.section:nth-child(even) {
    background: rgba(0, 0, 0, 0.3);
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #ffdd57;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

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

.card h3 {
    margin-bottom: 10px;
    color: #d0e8f2;
}

.card p {
    font-size: 0.95em;
    color: #e0f7fa;
}

.code-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #00ffcc;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

table th {
    background: #00aaff;
    color: #fff;
}

table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

button {
    padding: 10px 20px;
    background: #ffdd57;
    border: none;
    border-radius: 25px;
    color: #333;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background: #ffaa00;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer p {
    color: #c0c0c0;
    font-size: 0.9em;
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    
    .hero h2 {
        font-size: 1.8em;
    }
    
    nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    
    .hero h2 {
        font-size: 2em;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    header h1 {
        font-size: 3em;
    }
    
    .hero h2 {
        font-size: 2.2em;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    header h1 {
        font-size: 3.5em;
    }
    
    .hero h2 {
        font-size: 2.5em;
    }
}

@media (min-width: 1441px) {
    header h1 {
        font-size: 4em;
    }
    
    .hero h2 {
        font-size: 3em;
    }
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-background {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
}


