:root {
    --primary-color: #0e90d2;
    --secondary-color: #667eea;
    --accent-color: #764ba2;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-radius: 16px;
    --box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    line-height: 1.6;
    color: white;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    height: 60px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: rgba(255,255,255,0.2);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.post-meta {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 10px;
}

.blog-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    width: 100%;
}

.post-content {
    color: var(--text-color);
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content pre {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    position: relative;
}

.post-content code {
    background: rgba(0,0,0,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--secondary-color);
}

.post-tags {
    margin: 30px 0;
}

.label {
    display: inline-block;
    padding: 6px 12px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
}

.label-primary { background: var(--primary-color); }
.label-success { background: var(--secondary-color); }
.label-info { background: var(--accent-color); }

.blog-readmore {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 20px;
}

.blog-readmore:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.features-section {
    padding: 80px 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

/* 页脚样式，与主页一致 */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-quote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-author {
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    background: rgba(255,255,255,0.1);
}

.footer-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 15px 0;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* 媒体查询，与主页一致 */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
        height: 50px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .blog-container {
        padding: 30px 20px;
    }

    .post-content h2 {
        font-size: 1.6rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 5px 10px;
    }

    .hero-title {
        font-size: 2rem;
    }
}