/* ============================================
   Page Content Area Styles - Enhanced Design
   子页面内容区域样式设计
   ============================================ */

/* ============================================
   1. 页面标题区域 (Page Header)
   ============================================ */
.page-header {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #1e3a5f 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    color: rgba(255,255,255,0.5);
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 500;
}

/* ============================================
   2. 主要内容区域 (Main Content)
   ============================================ */
.page-content {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100px);
    min-height: 500px;
}

/* 内容卡片 */
.content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.content-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.content-card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* ============================================
   3. 特色网格布局 (Feature Grid)
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563eb, #3b82f6);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.feature-description {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   4. 信息区块 (Info Sections)
   ============================================ */
.info-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid #bae6fd;
    position: relative;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.info-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-section-content {
    color: #334155;
    line-height: 1.7;
}

/* ============================================
   5. 数据展示区块 (Data Display)
   ============================================ */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.data-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.data-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.data-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.data-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* ============================================
   6. 表格样式 (Tables)
   ============================================ */
.data-table-container {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    margin: 30px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #cbd5e1;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.data-table tr:hover td {
    background: #f8fafc;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* ============================================
   7. 响应式适配
   ============================================ */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-content {
        padding: 40px 0;
    }
    
    .content-card {
        padding: 24px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table th,
    .data-table td {
        padding: 12px;
        font-size: 0.875rem;
    }
}

/* ============================================
   8. 动画效果
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.content-card,
.feature-card,
.data-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.content-card:nth-child(1) { animation-delay: 0.1s; }
.content-card:nth-child(2) { animation-delay: 0.2s; }
.content-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
