/* 通用页面布局CSS */
.page-container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
}

/* 导航栏样式 - 与index.html保持一致 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-primary, #4f5fc4) 0%, var(--brand-secondary, #6b3f8e) 100%);
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-strong, #0f1419);
    margin-bottom: 1rem;
    position: relative;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--brand-primary, #4f5fc4), var(--brand-secondary, #6b3f8e));
    border-radius: 2px;
}

/* 内容卡片 */
.content-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1),
                0 6px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    border: 1px solid #e2e5f1;
}

/* 图片样式 */
.content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
}

/* 列表样式 */
.content-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 按钮样式 */
.action-button {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--brand-primary, #4f5fc4), var(--brand-secondary, #6b3f8e));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 1rem;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 95, 196, 0.4);
}

/* 返回首页链接 */
.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0051a8;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
}

.back-home:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
}

/* 页脚样式 */
.page-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted, #3d4452);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}