/* 全局样式 - 全新设计风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    line-height: 1.6;
    color: #1a202c;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}

/* 头部样式 - 深色主题 */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    color: white;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.3);
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 80px;
    animation: pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(5deg); }
}

.header-text h1 {
    font-size: 48px;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 统计卡片 - 玻璃拟态效果 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6, #ec4899);
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: #3b82f6;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-primary {
    border-left: 5px solid #3b82f6;
}

.stat-success {
    border-left: 5px solid #10b981;
}

.stat-warning {
    border-left: 5px solid #f59e0b;
}

.stat-icon {
    font-size: 50px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 8px;
    line-height: 1;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 15px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 筛选区域 - 卡片式设计 */
.filter-section {
    padding: 40px;
    background: #ffffff;
    border-bottom: 3px solid #e2e8f0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e2e8f0;
}

.section-header h3 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.result-count {
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 20px;
}

/* 快捷分类按钮容器 */
.quick-category-buttons-inline {
    display: flex;
    gap: 10px;
}

/* 快捷分类按钮 - 内联样式（与刷新按钮一致） */
.category-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-btn:hover::before {
    opacity: 1;
}

.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.category-btn:active {
    transform: translateY(-1px);
}

/* 高新按钮 - 蓝色渐变 */
.category-gaoxin {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.category-gaoxin.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 专精特新按钮 - 紫色渐变 */
.category-zjtx {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.category-zjtx.active {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 全部按钮 - 灰色渐变 */
.category-reset {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.category-reset.active {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    box-shadow: 0 6px 20px rgba(75, 85, 99, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 10px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-icon {
    font-size: 18px;
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8fafc;
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.form-actions {
    flex-direction: row;
    gap: 12px;
}

/* 按钮样式 - 立体渐变效果 */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(100, 116, 139, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 高新按钮 - 蓝色 */
.btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 专精特新按钮 - 紫色 */
.btn-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 人工智能按钮 - 青色渐变 */
.btn-ai {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ai:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 未来产业按钮 - 橙色渐变 */
.btn-future {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-future:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 操作栏 */
.action-bar {
    padding: 20px 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
}

/* 政策列表 - 现代卡片设计 */
.policy-list-container {
    padding: 40px;
    background: #ffffff;
}

.policy-list {
    min-height: 300px;
}

.policy-item {
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.policy-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #06b6d4 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-item:hover {
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.15);
    transform: translateX(10px) scale(1.01);
    border-color: #3b82f6;
}

.policy-item:hover::before {
    transform: scaleY(1);
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    gap: 20px;
}

.policy-title {
    font-size: 18px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 700;
    flex: 1;
    line-height: 1.6;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}

.policy-title:hover {
    color: #3b82f6;
    text-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.policy-title mark {
    background: linear-gradient(120deg, #fef08a 0%, #facc15 100%);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(250, 204, 21, 0.3);
}

.policy-category {
    padding: 6px 14px;
    font-size: 13px;
    align-self: flex-start;
    border-radius: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.policy-category::before {
    font-size: 15px;
}

.policy-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 政策通知 - 蓝色系 */
.category-notification {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1.5px solid #93c5fd;
}

.category-notification::before {
    content: '📢';
    font-size: 14px;
}

/* 政策文件 - 紫色系 */
.category-document {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
    border: 1.5px solid #c4b5fd;
}

.category-document::before {
    content: '📄';
    font-size: 14px;
}

/* 政策解读 - 橙色系 */
.category-interpretation {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #c2410c;
    border: 1.5px solid #fdba74;
}

.category-interpretation::before {
    content: '💡';
    font-size: 14px;
}

/* 调查征集 - 绿色系 */
.category-collection {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857;
    border: 1.5px solid #6ee7b7;
}

.category-collection::before {
    content: '📝';
    font-size: 14px;
}

/* 公示公告 - 红色系 */
.category-public {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #b91c1c;
    border: 1.5px solid #fca5a5;
}

.category-public::before {
    content: '📋';
    font-size: 14px;
}

.policy-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #64748b;
    flex-wrap: wrap;
}

.policy-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

/* 分页 - 现代按钮组 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 10px 16px;
    border: 2px solid #cbd5e1;
    background: white;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination button:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
}

.pagination button:active {
    transform: translateY(0);
}

.pagination button.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

.page-ellipsis {
    color: #94a3b8;
    font-size: 18px;
    font-weight: bold;
    padding: 0 8px;
}

.page-info {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    margin-top: 15px;
    text-align: center;
}

/* 每页显示选项 */
.per-page-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.per-page-selector label {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.per-page-selector select {
    padding: 8px 16px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 100px;
}

.per-page-selector select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.per-page-selector select:hover {
    border-color: #3b82f6;
}

/* 加载和空状态 */
.loading {
    text-align: center;
    padding: 80px 40px;
    color: #64748b;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty {
    text-align: center;
    padding: 80px 40px;
    color: #94a3b8;
    font-size: 18px;
    font-weight: 600;
}

.error {
    text-align: center;
    padding: 50px;
    color: #dc2626;
    font-weight: 600;
    font-size: 16px;
}

/* 模态框 - 现代弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-80px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
}

.modal-header h2 {
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.close {
    color: white;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    transform: rotate(90deg) scale(1.2);
    background: rgba(255, 255, 255, 0.2);
}

.warning-log {
    padding: 35px;
    max-height: calc(80vh - 120px);
    overflow-y: auto;
}

.warning-line {
    padding: 15px 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #f59e0b;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #92400e;
    transition: all 0.3s;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.warning-line:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* 页脚 - 简化布局 */
.footer {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 25px 40px;
    border-top: 3px solid #e2e8f0;
    color: #475569;
    margin-top: 50px;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-tip {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.disclaimer {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.icp-info {
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
}

.icp-info a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.icp-info a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 响应式设计 - 全面优化移动端体验 */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
    }

    .header {
        padding: 45px 30px;
    }

    .header-text h1 {
        font-size: 40px;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 30px;
    }

    .policy-title {
        font-size: 17px;
    }
}

/* 手机设备 (最大 768px) */
@media (max-width: 768px) {
    body {
        padding: 0;
        font-size: 15px;
    }

    .container {
        border-radius: 0;
        box-shadow: none;
    }

    /* 头部优化 */
    .header {
        padding: 30px 20px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .logo {
        font-size: 50px;
    }

    .header-text h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 统计卡片优化 */
    .stats-container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        font-size: 36px;
    }

    .stat-value {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* 筛选区域优化 */
    .filter-section {
        padding: 20px;
    }

    .section-header h3 {
        font-size: 18px;
    }

    .filter-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select {
        font-size: 16px; /* 防止iOS自动缩放 */
        padding: 12px 15px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
    }

    /* 操作按钮优化 */
    .action-bar {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .action-bar .btn {
        width: 100%;
    }

    /* 政策列表优化 */
    .policy-list-container {
        padding: 20px;
    }

    .policy-item {
        padding: 18px;
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .policy-item:hover {
        transform: translateX(5px) scale(1.005);
    }

    .policy-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .policy-title {
        font-size: 16px;
        line-height: 1.5;
        width: 100%;
    }

    .policy-category {
        padding: 5px 12px;
        font-size: 12px;
        align-self: flex-start;
    }

    .policy-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .policy-meta span {
        padding: 5px 10px;
        font-size: 13px;
    }

    /* 分页优化 */
    .pagination {
        padding: 20px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination button {
        padding: 10px 14px;
        font-size: 14px;
        min-width: 40px;
    }

    /* 模态框优化 */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .warning-log {
        padding: 20px;
        max-height: calc(90vh - 80px);
    }

    .warning-line {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* 页脚优化 */
    .footer {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    .footer-section p {
        font-size: 14px;
    }

    .disclaimer {
        font-size: 12px;
    }
}

/* 小屏手机 (最大 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .header {
        padding: 25px 15px;
    }

    .logo {
        font-size: 45px;
    }

    .header-text h1 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 13px;
    }

    .stats-container {
        padding: 15px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-value {
        font-size: 28px;
    }

    .filter-section,
    .policy-list-container,
    .action-bar {
        padding: 15px;
    }

    .policy-item {
        padding: 15px;
        margin-bottom: 12px;
    }

    .policy-title {
        font-size: 15px;
    }

    .policy-category {
        padding: 4px 10px;
        font-size: 11px;
    }

    .policy-meta {
        font-size: 12px;
    }

    .policy-meta span {
        padding: 4px 8px;
        font-size: 12px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 15px;
    }

    .pagination button {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* 横屏模式优化 */
@media (max-height: 600px) and (orientation: landscape) {
    .header {
        padding: 20px;
    }

    .header-content {
        flex-direction: row;
        text-align: left;
    }

    .logo {
        font-size: 40px;
    }

    .header-text h1 {
        font-size: 24px;
    }

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

    .modal-content {
        margin: 2% auto;
        max-height: 95vh;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增大可点击区域 */
    .btn {
        min-height: 44px;
    }

    .policy-item {
        min-height: 60px;
    }

    .pagination button {
        min-width: 44px;
        min-height: 44px;
    }

    /* 移除悬停效果，改用点击效果 */
    .policy-item:hover {
        transform: none;
    }

    .policy-item:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .btn:active {
        transform: scale(0.96);
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .policy-category {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* 打印样式 */
@media print {
    .header,
    .stats-container,
    .filter-section,
    .action-bar,
    .pagination,
    .footer {
        display: none;
    }

    .policy-item {
        break-inside: avoid;
        border: 1px solid #000;
        box-shadow: none;
    }

    .policy-category {
        border: 1px solid #000;
        background: white !important;
        color: black !important;
    }
}

/* 回到顶端按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.back-to-top-btn:active {
    transform: translateY(-1px);
}

/* 移动端适配 - 回到顶端按钮 */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 13px;
    }

    /* 分类按钮移动端适配 */
    .quick-category-buttons-inline {
        flex-wrap: wrap;
        width: 100%;
        margin-top: 10px;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
        flex: 1;
        min-width: calc(33.33% - 7px);
    }
}

@media (max-width: 480px) {
    .category-btn {
        min-width: calc(50% - 5px);
    }
}

/* 快捷分类按钮样式 - 简约现代风格 */
.quick-category-buttons {
    display: flex;
    gap: 12px;
    padding: 16px 30px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.category-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}

.category-btn:active {
    transform: translateY(0);
}

/* 高新按钮 - 蓝色 */
.category-gaoxin.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

/* 专精特新按钮 - 紫色 */
.category-zjtx.active {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

/* 全部按钮 - 默认激活状态为灰色 */
.category-reset.active {
    background: #6b7280;
    border-color: #6b7280;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.25);
}

/* 分类按钮激活状态 */
.category-btn-gaoxin.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.category-btn-zjtx.active {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.category-btn-ai.active {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%) !important;
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.category-btn-future.active {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.category-btn-reset.active {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
    box-shadow: 0 6px 20px rgba(71, 85, 105, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .quick-category-buttons {
        padding: 12px 20px;
        gap: 8px;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .category-btn {
        min-width: calc(33.33% - 8px);
    }
}
