/********************************************案例*********************************************/
/* ======================================== Hero Section ======================================== */
.herocases { align-items: center; background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%); display: flex; justify-content: center; min-height: 60vh; overflow: hidden; position: relative; }
.herocases-bg { inset: 0; position: absolute; z-index: 0; }
.herocases-bg::before { background-image: radial-gradient(circle at 20% 50%, rgba(54, 105, 239, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(90, 140, 247, 0.2) 0%, transparent 50%); content: ""; inset: 0; position: absolute; }
.herocases-overlay { background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4) 60%, transparent); inset: 0; position: absolute;}
.herocases-content { margin: 0 auto; max-width: 1280px; padding: 140px 24px 80px; position: relative; text-align: center; width: 100%; z-index: 2; }
.herocases-badge { align-items: center; animation: slideUp 0.8s ease-out 0.2s both; backdrop-filter: blur(8px); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 24px; display: inline-flex; gap: 8px; margin-bottom: 32px; padding: 8px 16px; }
.herocases-badge span { color: rgba(255, 255, 255, 0.9); font-size: 14px; }
.herocases-title { margin-bottom: 24px; }
.herocases-title h1 { animation: slideUp 0.8s ease-out 0.4s both; color: var(--brand-white); font-size: clamp(36px, 6vw, 56px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.herocases-description { animation: slideUp 0.8s ease-out 0.6s both; color: rgba(255, 255, 255, 0.7); font-size: 18px; line-height: 1.7; margin: 0 auto; max-width: 700px; }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ======================================== Page Header ======================================== */
.page-header { align-items: center; background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%); display: flex; justify-content: center; min-height: 40vh; overflow: hidden; position: relative; }
.page-header::before { background-image: radial-gradient(circle at 20% 50%, rgba(54, 105, 239, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(90, 140, 247, 0.2) 0%, transparent 50%); content: ""; inset: 0; position: absolute; }
.page-header-overlay { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)); inset: 0; position: absolute; }
.page-header-content { margin: 0 auto; max-width: 1280px; padding: 140px 24px 80px; position: relative; text-align: center; width: 100%; z-index: 2; }
.breadcrumb { align-items: center; animation: slideUp 0.8s ease-out 0.2s both; color: rgba(255, 255, 255, 0.7); display: flex; font-size: 14px; gap: 8px; justify-content: center; margin-bottom: 24px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.7); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--brand-white); }
.breadcrumb-separator { color: rgba(255, 255, 255, 0.5); }
.breadcrumb-current { color: var(--brand-white); }
.page-title { animation: slideUp 0.8s ease-out 0.4s both; color: var(--brand-white); font-size: clamp(36px, 6vw, 56px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.page-subtitle { animation: slideUp 0.8s ease-out 0.5s both; color: rgba(255, 255, 255, 0.8); font-size: clamp(18px, 3vw, 24px); font-weight: 300; }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ======================================== Filters Section ======================================== */
.filters-section { background: var(--brand-white); border-bottom: 1px solid var(--brand-gray3); padding: 75px 0 0 0; top: 0; z-index: 100; }
.filters-container { display: flex; flex-direction: column; gap: 20px; }
.filter-group { display: flex; flex-direction: column; gap: 12px; }
.filter-label { align-items: center; color: var(--brand-black); display: flex; font-size: 13px; font-weight: 600; gap: 8px; letter-spacing: 0.05em; text-transform: uppercase; }
.filter-label svg { color: var(--brand-blue); }
.filter-options { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn { background: var(--brand-gray2); border: 2px solid transparent;border-radius: 24px; color: var(--brand-gray1); cursor: pointer; font-size: 14px; font-weight: 500; padding: 10px 20px; transition: all var(--transition-normal); }
.filter-btn:hover { background: rgba(54, 105, 239, 0.1); color: var(--brand-blue); }
.filter-btn.active { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--brand-white); }
/* ========================================
  Cases Section
  ======================================== */
.cases-section { background: var(--brand-white); overflow: hidden; padding: 50px 0; position: relative; }
.cases-section::before { background: linear-gradient(to right, transparent, var(--brand-gray3), transparent); content: ""; height: 1px; left: 0; position: absolute; right: 0; top: 0; }
.cases-container { position: relative; z-index: 1; }
/* Grid Layout */
.cases-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-bottom: 60px; }
@media (max-width: 1024px) {
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cases-grid { grid-template-columns: 1fr; }
}
/* Case Card */
.case-card { background: var(--brand-white); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; transition: all var(--transition-slow); }
.case-card:hover { box-shadow: var(--shadow-xl); }
/* Case Image with Tab Buttons */
.case-image { aspect-ratio: 1; overflow: hidden; position: relative; }
.case-image img { left: 0; object-fit: cover; position: absolute; top: 0; transition: all var(--transition-slow); width: 100%; }
.case-image .img-default { opacity: 1; z-index: 1; }
.case-image .img-hover { opacity: 0; z-index: 2; }
.case-image.show-after .img-default { opacity: 0; }
.case-image.show-after .img-hover { opacity: 1; }
/* Tab Buttons - Below Image, Full Width */
.image-tabs { background: var(--brand-gray2); border-top: 1px solid var(--brand-gray3); display: flex; gap: 0; width: 100%; z-index: 10; }
.image-tab { background: transparent; border: none; color: var(--brand-gray1); cursor: pointer; flex: 1; font-size: 14px; font-weight: 500; padding: 12px 8px; text-align: center; transition: all var(--transition-fast); }
.image-tab:first-child { border-right: 1px solid var(--brand-gray3); }
.image-tab:hover { background: rgba(54, 105, 239, 0.05); color: var(--brand-blue); }
.image-tab.active { background: var(--brand-white); color: var(--brand-blue); font-weight: 600; }
.case-info { padding: 24px; }
.case-title { color: var(--brand-black); font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.case-content { -webkit-box-orient: vertical; color: var(--brand-gray1); display: -webkit-box; font-size: 14px; height: 95px; -webkit-line-clamp: 4; line-height: 1.7; margin-bottom: 16px;overflow: hidden; }
/* Product Tags */
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-bottom: 16px; }
.case-tag { align-items: center; background: rgba(54, 105, 239, 0.1); border: 1px solid transparent; border-radius: 16px; color: var(--brand-blue); display: inline-flex; font-size: 12px; font-weight: 500; padding: 6px 12px; transition: all var(--transition-fast); }
.case-tag:hover { background: var(--brand-blue); box-shadow: var(--shadow-sm); color: var(--brand-white); transform: translateY(-2px); }
.case-meta { align-items: center; border-top: 1px solid var(--brand-gray3); color: var(--brand-gray1); display: flex; font-size: 13px; justify-content: space-between; padding-top: 16px; }
.case-user { color: var(--brand-blue); font-weight: 500; }
/* More Cases Card */
.case-card.more-card { align-items: center; background: linear-gradient(135deg, #F8F9FF 0%, #F0F4FF 100%); border: 2px dashed var(--brand-gray3); cursor: pointer; display: flex; flex-direction: column; justify-content: center; min-height: 400px; text-align: center; }
.case-card.more-card:hover { background: linear-gradient(135deg, #F0F4FF 0%, #E8EEFF 100%); border-color: var(--brand-blue); }
.more-icon { align-items: center; background: var(--brand-white); border-radius: 50%; box-shadow: var(--shadow-md); color: var(--brand-blue); display: flex; height: 64px; justify-content: center; margin-bottom: 24px; width: 64px; }
.case-card.more-card .case-title { font-size: 20px; margin-bottom: 16px; }
.case-card.more-card .case-content { -webkit-line-clamp: unset; max-width: 280px; }
/* ======================================== Pagination ======================================== */
.pagination { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination-btn { align-items: center; background: var(--brand-white); border: 1px solid var(--brand-gray3); border-radius: 8px; color: var(--brand-gray1); display: flex; font-size: 14px; font-weight: 500; height: 40px; justify-content: center; min-width: 40px; padding: 0 12px; transition: all var(--transition-normal); }
.pagination-btn:hover:not(:disabled):not(.ellipsis) { background: rgba(54, 105, 239, 0.05); border-color: var(--brand-blue); color: var(--brand-blue); }
.pagination-btn.active { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--brand-white); }
.pagination-btn:disabled { cursor: not-allowed; opacity: 0.5; }
.pagination-btn.ellipsis { background: transparent; border: none; cursor: default; }
.pagination-btn.prev, .pagination-btn.next { gap: 6px; padding: 0 16px; }
/* 优化后的 page-status 样式 */
.page-status {
    align-items: center;
    background: var(--brand-gray2);
    border: 1px solid var(--brand-gray3);
    border-radius: 20px;
    color: var(--brand-gray1);
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    margin-right: 8px;
    padding: 8px 16px;
    white-space: nowrap;
}
.page-status::before {
    animation: pulse 2s infinite;
    background: var(--brand-blue);
    border-radius: 50%;
    content: "";
    height: 6px;
    margin-right: 8px;
    width: 6px;
}
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}
/* 响应式适配 */
@media (max-width: 640px) {
    .pagination {
        gap: 8px;
    }
    .page-status {
        font-size: 12px;
        justify-content: center;
        margin-bottom: 8px;
        margin-right: 4px;
        order: -1;
        padding: 6px 12px;
        width: 100%;
    }
    .pagination-btn {
        font-size: 13px;
        height: 36px;
        min-width: 36px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .filters-section { position: relative; top: 0; }
    .filter-options { gap: 8px; }
    .filter-btn { font-size: 13px; padding: 8px 16px; }
    .pagination-btn { font-size: 13px; height: 36px; min-width: 36px; }
}
/* Arrow Tag Style */
.arrow-tag { align-items: center; display: inline-flex; gap: 6px; padding: 8px 16px; }
.arrow-tag svg { transition: transform 0.3s ease; }
.arrow-tag:hover svg { transform: translateX(4px); }
/* ========================================
   Empty State - 优化后的空状态样式
   ======================================== */
.empty-state {
    background: linear-gradient(135deg, #F8F9FF 0%, #F0F4FF 100%);
    border: 1px dashed var(--brand-gray3);
    border-radius: 20px;
    margin: 40px 0;
    padding: 100px 24px;
    text-align: center;
}
.empty-state.active {
    animation: fadeInUp 0.6s ease-out;
    display: block;
}
.empty-state-icon-wrapper {
    align-items: center;
    background: var(--brand-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    height: 120px;
    justify-content: center;
    margin: 0 auto 32px;
    position: relative;
    width: 120px;
}
.empty-state-icon-wrapper::before {
    background: linear-gradient(135deg, rgba(54, 105, 239, 0.1) 0%, rgba(90, 140, 247, 0.05) 100%);
    border-radius: 50%;
    content: "";
    inset: -8px;
    position: absolute;
    z-index: -1;
}
.empty-state-icon {
    color: var(--brand-blue);
    height: 56px;
    opacity: 0.8;
    width: 56px;
}
.empty-state h3 {
    color: var(--brand-black);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}
.empty-state p {
    color: var(--brand-gray1);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}
.empty-state-suggestion {
    align-items: center;
    background: var(--brand-white);
    border: 2px solid var(--brand-blue);
    border-radius: 30px;
    color: var(--brand-blue);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    padding: 14px 28px;
    transition: all var(--transition-normal);
}
.empty-state-suggestion:hover {
    background: var(--brand-blue);
    box-shadow: var(--shadow-lg);
    color: var(--brand-white);
    transform: translateY(-2px);
}
.empty-state-suggestion svg {
    height: 18px;
    width: 18px;
}
/* Responsive */
@media (max-width: 768px) {
    .filters-section {
        position: relative;
        top: 0;
    }
    .filter-options {
        gap: 8px;
    }
    .filter-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    .pagination-btn {
        font-size: 13px;
        height: 36px;
        min-width: 36px;
    }
    /* Empty State 移动端适配 */
    .empty-state {
        margin: 20px 0;
        padding: 60px 20px;
    }
    .empty-state-icon-wrapper {
        height: 100px;
        margin-bottom: 24px;
        width: 100px;
    }
    .empty-state-icon {
        height: 48px;
        width: 48px;
    }
    .empty-state h3 {
        font-size: 20px;
    }
    .empty-state p {
        font-size: 14px;
        margin-bottom: 24px;
    }
}
.navbar { background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%); left: 0; padding: 16px 0; position: fixed; right: 0; top: 0; transition: all var(--transition-slow); z-index: 1000; }
.navbar.scrolled { background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 50%, #FFFFFF 100%); padding: 8px 0; }
.nav-container { align-items: center; display: flex; justify-content: space-between; margin: 0 auto; max-width: 1200px; padding: 0 24px; transition: all var(--transition-slow); }
.navbar.scrolled .nav-container { backdrop-filter: blur(12px); background: rgba(255, 255, 255, 0.9); border-radius: 50px; box-shadow: var(--shadow-lg); padding: 8px 24px; }
