/* ============================================
   DataMover 解决方案落地页样式
   适用于: /solutions/*.html
   ============================================ */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: #f5f7fb;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 页头 ========== */
.header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
}

.nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

.nav a:hover {
    color: #0066cc;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    margin: 20px 0 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li:not(:last-child):after {
    content: " / ";
    margin: 0 8px;
    color: #999;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ========== 文章主体 ========== */
.article {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 48px 56px;
    margin: 20px auto 40px;
}

/* 标题样式 */
.article h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a1a2e;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 16px;
    display: inline-block;
}

.article h2 {
    font-size: 26px;
    margin: 40px 0 20px;
    color: #1a1a2e;
    padding-left: 12px;
    border-left: 4px solid #0066cc;
}

.article h3 {
    font-size: 20px;
    margin: 28px 0 12px;
    color: #2c3e50;
}

.article h4 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #2c3e50;
}

/* 段落 */
.article p {
    margin-bottom: 18px;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

/* 引用块 */
.article blockquote {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 8px;
    color: #2c3e50;
}

.article blockquote p {
    margin-bottom: 0;
}

/* 列表 */
.article ul, .article ol {
    margin: 16px 0 16px 28px;
}

.article li {
    margin: 8px 0;
}

/* 代码 */
.article code {
    background: #f4f4f5;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 14px;
    color: #d63384;
}

.article pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
}

.article pre code {
    background: none;
    color: #d4d4d4;
    padding: 0;
    font-size: 14px;
}

/* 表格 */
.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.article th, .article td {
    border: 1px solid #dee2e6;
    padding: 12px 16px;
    text-align: left;
}

.article th {
    background: #f8f9fa;
    font-weight: 600;
}

.article tr:nth-child(even) {
    background: #fafafa;
}

/* 表格响应式包装 */
.table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

/* 图片 */
.article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    margin: 24px 0;
}

/* 链接 
.article a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}*/

.article a:hover {
    border-bottom-color: #0066cc;
}

/* 提示框 */
.tip, .note {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 24px 0;
}

.warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 24px 0;
}

/* ========== 长尾关键词区域 ========== */
.longtail-section {
    background: #f8f9fa;
    padding: 28px 32px;
    border-radius: 12px;
    margin: 48px 0 32px;
}

.longtail-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    color: #1a1a2e;
}

.longtail-section p {
    margin-bottom: 16px;
    color: #555;
}

.keyword-cloud {
    margin-top: 16px;
    line-height: 2.4;
}

.keyword-cloud a {
    display: inline-block;
    background: white;
    padding: 6px 16px;
    margin: 4px 8px 4px 0;
    border-radius: 24px;
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.keyword-cloud a:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    transform: translateY(-2px);
}

/* ========== 常见问题区域 ========== */
.faq-section {
    margin: 48px 0;
}

.faq-section h2 {
    margin-bottom: 28px;
}

.faq-item {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========== CTA区域 ========== */
.cta {
    background: linear-gradient(135deg, #0066cc 0%, #0052a0 100%);
    color: white;
    text-align: center;
    padding: 48px 32px;
    border-radius: 16px;
    margin: 48px 0 32px;
}

.cta h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 26px;
}

.cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #0066cc;
    border: none;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: white;
    color: #0066cc;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #0066cc;
    transform: translateY(-2px);
}

/* ========== 相关文章区域 ========== */
.related {
    background: #f8f9fa;
    padding: 28px 32px;
    border-radius: 12px;
    margin: 40px 0 20px;
}

.related h4 {
    margin-bottom: 20px;
    color: #1a1a2e;
    font-size: 18px;
}

.related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related li {
    margin: 12px 0;
    padding: 0;
}

.related a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.related a:hover {
    text-decoration: underline;
}

.related-desc {
    color: #888;
    font-size: 13px;
    margin-left: 8px;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a1a2e;
    color: #888;
    padding: 48px 0 32px;
    margin-top: 60px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
    text-align: left;
}

.footer-links > div {
    min-width: 150px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-links p {
    margin: 8px 0;
    font-size: 14px;
    color: #aaa;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #777;
}

.copyright a {
    color: #888;
    text-decoration: none;
}

.copyright a:hover {
    color: white;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .article {
        padding: 24px 20px;
    }
    
    .article h1 {
        font-size: 28px;
    }
    
    .article h2 {
        font-size: 22px;
    }
    
    .article h3 {
        font-size: 18px;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav a {
        margin: 0 12px;
        font-size: 14px;
    }
    
    .cta {
        padding: 32px 20px;
    }
    
    .cta h3 {
        font-size: 22px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }
    
    .footer-links > div {
        text-align: center;
    }
    
    .longtail-section {
        padding: 20px;
    }
    
    .keyword-cloud a {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
}

/* ========== 打印样式 ========== */
@media print {
    .header, .footer, .cta, .related, .breadcrumb, .longtail-section {
        display: none;
    }
    
    .article {
        padding: 0;
        box-shadow: none;
    }
    
    body {
        background: white;
    }
}



/* ========== 解决方案列表页样式 ========== */

.solutions-header {
    text-align: center;
    margin: 40px 0 30px;
}

.solutions-header h1 {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.solutions-header .subtitle {
    font-size: 18px;
    color: #666;
}

/* 搜索框 */
.search-box {
    text-align: center;
    margin: 0 0 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.search-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.search-row:first-child {
    max-width: 600px;
    margin: 0 auto 10px;
}

.search-box form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #1890ff;
}

.search-btn {
    padding: 12px 30px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #40a9ff;
}

.search-mode {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.search-mode input {
    margin-right: 4px;
}

.search-tip {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* 分类筛选按钮 */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 20px;
}

.filter-btn {
    background: #f0f2f5;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}

.filter-btn:hover {
    background: #e0e4e8;
}

.filter-btn.active {
    background: #0066cc;
    color: white;
}

/* 统计信息 */
.solutions-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 20px 0 30px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 40px;
    font-size: 14px;
    color: #666;
}

/* 文章网格 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.solution-card {
    display: flex;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.card-content h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.card-content h3 a:hover {
    color: #0066cc;
}

.card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-category {
    font-size: 12px;
    background: #e8f4ff;
    color: #0066cc;
    padding: 2px 10px;
    border-radius: 20px;
}

.card-tag {
    font-size: 12px;
    background: #f0f2f5;
    color: #666;
    padding: 2px 10px;
    border-radius: 20px;
}

/* 标签云区域 */
.tag-cloud-section {
    margin: 48px 0 32px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
}

.tag-cloud-section h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

.tag:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
}

.page-link {
    padding: 8px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s;
}

.page-link:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.page-current {
    padding: 8px 16px;
    color: #666;
}

/* 响应式 */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-stats {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        border-radius: 16px;
    }
    
    .category-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
    border-color: #1890ff;
    color: #1890ff;
}

.page-btn.active {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}