/* --- 1. 全局设计系统 (复用主站风格) --- */
:root {
    --bg-color: #0B0E14; /* 核心背景：深空黑 */
    --bg-card: #15151A; 
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.08);
    
    /* 品牌渐变色 */
    --primary-gradient: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --accent-purple: #3b82f6;
    --accent-blue: #60A5FA;
    
    --text-main: #FFFFFF;
    --text-secondary: #94A3B8;
    --radius-card: 24px;
    --radius-btn: 50px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Inter', 'Noto Sans SC', sans-serif; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* 导航栏 */
nav { position: fixed; top: 0; width: 100%; height: 80px; padding: 0; background: rgba(11, 14, 20, 0.85); backdrop-filter: blur(12px); z-index: 1000; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-size: 15px; color: var(--text-secondary); font-weight: 500; }
.nav-links a:hover { color: var(--text-main); }
.btn-primary {
    padding: 12px 32px;
    background: #2563eb;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #1d4ed8;
}

/* 箭头图标 */
.arrow-right {
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid white;
    display: inline-block;
    margin-left: 5px;
}

/* --- Header 区域 --- */
.case-header {
  position: relative;
    height: 330px;
    min-height: 330px;
    text-align: center;
    background:  radial-gradient(circle at 50% 10%, rgba(118, 75, 162, 0.15) 0%, transparent 60%), url('../images/alshou.png') center center no-repeat;
   
    /* background-image: url('../images/alshou.png'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.case-header .container {
  position: relative;
  z-index: 2;
}
.case-header .header-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 14, 18, 0.7);
  z-index: 1;
}
.case-header h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; color: white; }
.case-header p { color: var(--text-secondary); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* --- 筛选过滤器 --- */
.filter-bar {
    display: flex; justify-content: center; gap: 15px; margin: 80px 0 60px; flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background: rgba(167, 139, 250, 0.1);
    border-color: var(--accent-purple);
    color: white;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.2);
}

/* --- 案例网格 (Grid) --- */
.case-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding-bottom: 60px;
}

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

/* 案例卡片容器 - 每行只显示两个 */
.case-item-wrapper {
    width: calc(50% - 15px);
    min-width: 560px;
}

/* 案例卡片 */
.case-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    overflow: hidden;
    animation: fadeIn 0.5s;
    margin: 0 auto 30px;
    display: flex; flex-direction: column;
    width: 100%;
    min-width: 560px;
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

.case-item:hover {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* 图片区域 */
.case-thumb {
    width: 100%;
    height: 256px;
    position: relative;
    overflow: hidden;
}
.case-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s;
}
.case-item:hover .case-thumb img { transform: scale(1.05); }
/* 品牌标签 */
.brand-tag {
    position: absolute; top: 20px; left: 20px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    padding: 6px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
.brand-tag i { color: white; }

/* 内容区域 */
.case-content { padding: 30px; display: flex; flex-direction: column; justify-content: center; flex: 1; }

.case-tags { margin-bottom: 10px; display: flex; gap: 8px; }
.c-tag { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; font-weight: 700; display: inline-block; margin-bottom: 10px; }

.case-title { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: white; transition: color 0.3s ease; }
.case-item:hover .case-title { color: #3b82f6; }
.case-desc { 
    font-size: 14px; 
    color: var(--text-secondary); 
    line-height: 1.6; 
    margin-bottom: 20px; 
    flex: 1; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    line-clamp: 2;
    position: relative; 
    -webkit-box-orient: vertical; 
    position: relative;
    cursor: pointer;
}

.case-desc.has-advanced-tooltip:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}



/* 数据栏 */
.case-data {
    display: flex; gap: 40px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border-light);
}
.data-point .metric-val { font-size: 20px; font-weight: 800; color: white; display: block; }
.data-point .metric-key { font-size: 13px; color: var(--text-secondary); text-transform: uppercase; }

/* 筛选隐藏动画类 */
.case-item-wrapper.hidden {
    display: none;
}

/* 底部栏 */
.bottomSidebar {
  background: #000;
  color: #FFF;
  padding: 50px;
  margin-top: 50px;
}

.bottomSidebar .bottomSidebar-top-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.bottomSidebar .bottomSidebar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #FFF;
  width: 1220px;
  padding: 30px 0;
  margin-bottom: 30px;
}

.bottomSidebar .bottomSidebar-top .top-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottomSidebar .bottomSidebar-top .top-item img {
  width: 40px;
}

.bottomSidebar .bottomSidebar-top .top-item {
  color: #94a3b8 !important;
  transition: color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottomSidebar .bottomSidebar-top .top-item:hover {
  color: #ffffff !important;
}

.bottomSidebar .bottomSidebar-flex {
  width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-img {
  width: 200px;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 20px;
}

.bottomSidebar .bottomSidebar-flex .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-box img {
  margin-right: 10px;
  margin-top: 10px;
}

.bottomSidebar .bottomSidebar-flex .util-list {
  color: #FFF;
  line-height: 40px;
  margin-left: 40px;
}

.bottomSidebar .bottomSidebar-flex .util-list h1 {
  margin-bottom: 12px;
  line-height: 16px;
  font-size: 16px;
  font-weight: 700;
}

.bottomSidebar .bottomSidebar-flex .info {
  margin-left: 40px;
  line-height: 40px;
}

.bottomSidebar .bottomSidebar-flex .info h1 {
  margin-bottom: 12px;
  line-height: 16px;
  font-size: 16px;
  font-weight: 700;
}

.bottomSidebar .bottomSidebar-flex .info p {
  display: flex;
  align-items: center;
}

.bottomSidebar .bottomSidebar-flex .info p img {
  width: 30px;
  margin-right: 5px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode {
  display: flex;
  text-align: center;
  margin-top: 9px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item {
  text-align: center;
  margin-right: 40px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item img {
  width: 90px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item div {
  margin-top: -12px;
}

.bottomSidebar .copyright {
  text-align: center;
  font-size: 13px;
  margin-top: 20px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .case-grid { 
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    /* 与首页保持一致：调整案例卡片布局 */
    .case-item { 
        flex-direction: column; 
        width: 100%;
        min-width: 560px;
        height: 546px;
    }
    .case-thumb { width: 100%; height: 256px; }
    .case-content { width: 100%; padding: 30px; }
}
@media (max-width: 768px) {
    .case-grid { 
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .filter-bar { gap: 10px; }
    .filter-btn { padding: 12px 20px; font-size: 14px; }
    
    /* 与首页保持一致：移动端调整 */
    .case-item {
        width: 100%;
        min-width: auto;
        height: auto;
    }
    .case-item-wrapper {
        width: 100%;
        min-width: auto;
    }
    .btn-primary, .btn-outline {
        padding: 12px 20px;
        font-size: 14px;
    }
}
@media (max-width: 600px) {
    .filter-btn { padding: 8px 20px; font-size: 12px; }
    .case-item-wrapper {
        width: 100%;
        min-width: auto;
    }
    .case-item {
        min-width: auto;
    }
}
@media (max-width: 600px) {
    .filter-btn { padding: 8px 20px; font-size: 12px; }
}