/* PC桌面版样式 - 专为大屏幕优化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 70px; /* 为固定头部留出滚动定位空间 */
}

/* 统一配色方案 */
:root {
    --primary-color: #4a90e2;
    --primary-dark: #357abd;
    --primary-light: #e3f2fd;
    --secondary-color: #64b5f6;
    --accent-color: #2196f3;
    --text-primary: #1a237e;
    --text-secondary: #5c6bc0;
    --text-light: #7986cb;
    --bg-primary: #ffffff;
    --bg-secondary: #e3f2fd;
    --bg-tertiary: #bbdefb;
    --border-color: #bbdefb;
    --shadow-light: 0 2px 10px rgba(33, 150, 243, 0.1);
    --shadow-medium: 0 5px 15px rgba(33, 150, 243, 0.15);
    --shadow-heavy: 0 10px 30px rgba(33, 150, 243, 0.2);
    --gradient-primary: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    --gradient-accent: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #f5fbff; /* 淡蓝色背景 */
    min-height: 100vh;
    margin: 0;
}

/* 顶部导航栏 */
header.header {
    background: var(--gradient-primary);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.logo span {
    color: #fff;
    font-weight: bold;
}

/* 主导航菜单 */
.main-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* 主内容区域 */
.main-content {
    width: 100%;
    max-width: 1400px; /* 增加最大宽度 */
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* 拉伸子元素以填充可用空间 */
}

/* 内容区域 */
.content-container {
    width: 100%;
    max-width: 1400px; /* 增加最大宽度 */
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

/* 表格风格的内容展示 */
.content-table {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.content-table-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
}

.content-table-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.content-table-row:last-child {
    border-bottom: none;
}

.content-table-cell {
    padding: 16px 20px;
    flex: 1;
}

.content-table-cell:first-child {
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    min-width: 200px;
}

.content-table-cell:not(:first-child) {
    color: var(--text-primary);
}

/* 文本内容块 */
.text-content {
    width: 100%;
    max-width: 100%; /* 移除限制，允许充分利用空间 */
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.text-content p {
    margin-bottom: 20px;
    text-align: justify; /* 两端对齐，更好地利用空间 */
}

/* 文本内容块 */
.text-content {
    width: 100%;
    max-width: 800px; /* 限制最大宽度以提高可读性 */
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.text-content p {
    margin-bottom: 20px;
    text-align: justify; /* 两端对齐，更好地利用空间 */
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
}

.page-header h1 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 内容区域 */
.content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

/* 网格布局系统 */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 卡片组件 */
.card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.card h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 特色卡片 */
.feature-card {
    text-align: center;
    padding: 40px 30px;
}

.feature-card .icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 表单样式 */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.table th,
.table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.table th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.table tr:hover {
    background-color: var(--bg-secondary);
}

/* 侧边栏布局 */
.sidebar-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;
}

.sidebar {
    background: #3c3c3c;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 90px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 16px;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #667eea;
    color: white;
}

/* 页脚 */
.footer {
    background: #f0f7ff;
    color: var(--text-secondary);
    padding: 30px 0 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
    color: var(--text-secondary);
}

/* 备案号样式 */
.beian {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #95a5a6;
}

.beian a {
    color: #95a5a6;
    text-decoration: none;
}

.beian a:hover {
    color: #4ecdc4;
    text-decoration: underline;
}

/* 工具类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.ml-40 { margin-left: 40px; }
.mr-40 { margin-right: 40px; }

.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }
.pl-40 { padding-left: 40px; }
.pr-40 { padding-right: 40px; }

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #444;
}

::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* 打印样式 */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}