.cases-page {
  background: #fff;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: -70px;
  min-height: 580px;
  background: linear-gradient(270deg, #0d1a36 0%, #14204a 30%, #0d1a36 60%, #0d1a36 100%);
  background-size: 200% 100%;
  animation: banner-shimmer 1.8s ease-in-out infinite;
}
.hero-banner.is-loaded {
  animation: none;
  background: none;
}
@media (max-width: 768px) {
  .hero-banner {
    min-height: auto;
  }
}

@keyframes banner-shimmer {
  0% {
    background-position: -100% center;
  }
  100% {
    background-position: 200% center;
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #0d2348 50%, #1a0a3d 100%);
  background-size: cover;
  background-position: center;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: img-fade-in 0.6s ease forwards;
}

@keyframes img-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 180px 60px 120px 270px;
  display: flex;
  align-items: center;
}
@media (max-width: 1600px) {
  .hero-wrapper {
    padding: 130px 56px 72px 240px;
  }
}
@media (max-width: 1470px) {
  .hero-wrapper {
    padding: 130px 56px 72px 120px;
  }
}
@media (max-width: 1200px) {
  .hero-wrapper {
    padding: 120px 40px 64px 60px;
  }
}
@media (max-width: 768px) {
  .hero-wrapper {
    padding: 100px 20px 56px 20px;
  }
}

.hero-content-left {
  flex: 0 0 auto;
  width: 60%;
  max-width: 800px;
  text-align: left;
  animation: fade-in-left 0.8s ease-out;
}
@media (max-width: 1024px) {
  .hero-content-left {
    width: 70%;
  }
}
@media (max-width: 768px) {
  .hero-content-left {
    width: 100%;
    text-align: center;
  }
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.hero-title {
  font-size: 51px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #1a1a2e;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 50px;
  }
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(26, 26, 46, 0.68);
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}

.hero-stat {
  flex: 0 0 auto;
  text-align: left;
  padding-right: 32px;
}
.hero-stat .stat-num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.1;
  margin-bottom: 4px;
}
.hero-stat .stat-num i {
  font-style: normal;
  font-size: 17px;
  font-weight: 600;
  margin-left: 2px;
  color: #6366f1;
}
.hero-stat .stat-label {
  font-size: 13px;
  color: rgba(26, 26, 46, 0.55);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(26, 26, 46, 0.15);
  flex-shrink: 0;
  margin-right: 32px;
}

.industry-nav {
  background: #f5f7fa;
  position: sticky;
  top: 64px;
  z-index: 100;
  padding: 16px 0;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid #ddd;
  background: transparent;
  color: #555;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: #1890ff;
  color: #1890ff;
}
.filter-btn.active {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
}

.cases-grid-section {
  padding: 16px 0 60px;
  background: #f5f7fa;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  gap: 24px;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 340px));
  }
}
@media (max-width: 540px) {
  .cases-grid {
    grid-template-columns: minmax(0, 340px);
  }
}

.case-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.case-card:hover .card-cover {
  transform: scale(1.04);
}

.card-cover {
  width: 100%;
  height: 210px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.5s ease;
  overflow: hidden;
}

.card-cover-num {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 32px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.14);
  line-height: 1;
  pointer-events: none;
}

.card-body {
  flex: 1;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  min-height: 28px;
}

.card-logo-img {
  height: 40px;
  max-width: 110px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.card-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #e6f4ff;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-logo-text {
  font-size: 11px;
  font-weight: 700;
  color: #1890ff;
}

.card-name {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 12px;
  flex: 0 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 40.8px;
  text-overflow: ellipsis;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.btn-consult {
  flex: 0 0 auto;
  padding: 0 20px;
  height: 28px;
  border: 1.5px solid #1890ff;
  color: #1890ff;
  background: transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-consult:hover {
  background: rgba(99, 102, 241, 0.06);
  color: #096dd9;
  border-color: #096dd9;
}

.btn-detail {
  flex: 0 0 auto;
  padding: 0 20px;
  height: 28px;
  border: none;
  background: #1890ff;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-detail:hover {
  background: #096dd9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.qr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.qr-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px 32px;
  width: 320px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.qr-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
}
.qr-close:hover {
  color: #333;
}

.qr-image-wrap {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.qr-image {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.qr-tip {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

.qr-fade-enter-active,
.qr-fade-leave-active {
  transition: opacity 0.2s ease;
}
.qr-fade-enter-active .qr-card,
.qr-fade-leave-active .qr-card {
  transition: transform 0.2s ease;
}

.qr-fade-enter-from,
.qr-fade-leave-to {
  opacity: 0;
}
.qr-fade-enter-from .qr-card,
.qr-fade-leave-to .qr-card {
  transform: scale(0.92);
}

.pagination-bar {
  display: flex;
  justify-content: center;
  padding: 36px 0 8px;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: url("../img/footer-bg.png") center/cover no-repeat;
  padding: 50px 0;
  text-align: center;
  color: #111827;
}
.cta-section .container {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(17, 24, 39, 0.76);
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-block;
  height: 52px;
  padding: 0 48px;
  background: linear-gradient(40deg, #686BFD 30%, #2488FA 100%) !important;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}
.cta-btn:hover {
  background: linear-gradient(90deg, #4f52d9 0%, #6366f1 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .hero-stat {
    padding-right: 20px;
    text-align: center;
  }
  .hero-stat .stat-num {
    font-size: 26px;
  }
  .hero-stat .stat-num i {
    font-size: 14px;
  }
  .hero-stat .stat-label {
    font-size: 12px;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-stat-divider {
    height: 32px;
    margin-right: 20px;
  }
  .industry-nav {
    padding: 12px 0;
  }
  .filter-bar {
    gap: 8px;
  }
  .filter-btn {
    padding: 6px 14px;
    font-size: 13px;
  }
  .cases-grid-section {
    padding: 12px 0 40px;
  }
  .cases-grid {
    gap: 16px;
  }
  .card-cover {
    height: 180px;
  }
  .card-body {
    padding: 14px 14px 16px;
  }
  .card-name {
    font-size: 15px;
  }
  .card-desc {
    font-size: 12px;
  }
  .qr-card {
    width: 90vw;
    max-width: 320px;
    padding: 32px 24px 24px;
  }
  .cta-section {
    padding: 36px 0;
  }
  .cta-section .container {
    padding: 0 20px;
  }
  .cta-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .cta-section p {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .cta-btn {
    height: 44px;
    padding: 0 32px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .hero-wrapper {
    padding: 90px 16px 48px 16px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-stat-divider {
    display: none;
  }
}
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 36px 0 8px;
  flex-wrap: wrap;
}
.pagination-bar .page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #e0e0e6;
  background: #fff;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}
.pagination-bar .page-btn:hover {
  color: #1890ff;
  border-color: #1890ff;
}
.pagination-bar .page-btn.active {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
}
.pagination-bar .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination-bar .page-ellipsis {
  color: #999;
  padding: 0 4px;
}
.pagination-bar .page-jumper {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  margin-left: 8px;
}
.pagination-bar .page-jumper input {
  width: 48px;
  height: 32px;
  border: 1px solid #e0e0e6;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  outline: none;
}
.pagination-bar .page-jumper input:focus {
  border-color: #1890ff;
}
