/* ========== Democenter 2.0 Page Styles ========== */

/* Banner Section Container */
.dc-banner-section {
  background: url('/democenter/images/content/content-banner-bg.png') no-repeat center top;
  background-size: cover;
}

.dc-banner-section.dc-banner-dpo {
  background-image: url('/democenter/images/dpo/dpo-banner-bg.png');
}

.dc-banner-section.dc-banner-knowledge {
  background-image: url('/democenter/images/knowledge/knowledge-banner-bg.png');
}

.dc-banner-container {
  position: relative;
}
.dc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


.dc-banner .banner-right {
  display: none;
}
.banner-right
.dc-banner-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.dc-banner .banner-left,.dc-banner .banner-desc {
  max-width: 100%;
}
.dc-banner .banner-title,.dc-banner .banner-desc{
  text-align: center !important;
}

.dc-banner .banner-buttons{
  justify-content: center !important;
}
/* Main Button with QR Icon - 扫码试用Demo */
.dc-main-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.dc-main-btn .dc-qr-icon {
  flex-shrink: 0;
  stroke: currentColor;
}

/* Secondary Button Size Adjustment */
.dc-btn-size {
  padding: 11px 24px !important;
}

.dc-btn-size .normal-btn-text {
  font-size: 16px !important;
}

/* Secondary Button Arrow Icon */
.dc-banner .normal-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}
.dc-banner {
  height: 650px;
}
/* .dc-banner .normal-btn .btn-arrow {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}
#banner::after{
  display: none;
} */
/* .dc-banner .normal-btn .btn-arrow::before {
  content: '';
  background-size: cover;
  width: 100%;
  height: 100%;
  background: url('/democenter/images/contact-btn.svg') no-repeat center center;
  transition: all 0.3s ease;
} */

/* .dc-banner .normal-btn:hover .btn-arrow {
  transform: translate(3px, -3px);
} */

/* .dc-banner .normal-btn:hover .btn-arrow::before {
  border-top-color: #0448A9;
  border-right-color: #0448A9;
}

.dc-banner .normal-btn:active .btn-arrow::before {
  border-top-color: #000000;
  border-right-color: #000000;
} */

.dc-section-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  /* padding: 0 40px; */
}

/* Section Tag Wrapper - 整行居中 */
.dc-section-tag-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* margin-bottom: 24px; */
  position: relative;
}

.dc-section-tag {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(106deg, #2DD4BF -8%, #2563EB 50%, #F43F5E 107%), linear-gradient(90deg, #3A7CF5 0%, #3C8EF3 34%, #A68AE5 64%, #DD5961 100%), linear-gradient(93deg, #C4E0FD 4%, #CAF0F8 26%, #FFE2B2 67%, #F1AC8F 99%);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  border-radius: 100px;
  position: absolute;
  top: -212px;
}



.dc-cta {
  /* padding: 60px 40px; */
  max-width: 1280px;
  margin: 0 auto;
  background: url('/democenter/images/cta-bg.png') no-repeat center center;
  background-size: cover;
  border-radius: 24px;
}

.dc-cta-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
 
 
  gap: 60px;
}

.dc-cta-content {
  flex: 1;
  max-width: 600px;
}

.dc-cta-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 20px;
}

.dc-cta-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.dc-cta-qrcode {
  flex-shrink: 0;
  text-align: center;
}

.dc-qrcode-box {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.dc-qrcode-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dc-qrcode-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.dc-qrcode-link-prefix {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

a.dc-qrcode-link {
  display: inline;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

a.dc-qrcode-link:hover {
  opacity: 0.8;
}

/* 中文和繁体版本隐藏 "or Click here" */
#zh .dc-qrcode-link-prefix,
#zh .dc-qrcode-link,
#hk .dc-qrcode-link-prefix,
#hk .dc-qrcode-link {
  display: none;
}

/* QR Modal */
.dc-qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-qr-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
  max-width: 320px;
}

.dc-qr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: #F3F4F6;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  transition: all 0.2s ease;
}

.dc-qr-modal-close:hover {
  background: #E5E7EB;
  color: #1F2937;
}

.dc-qr-modal-content img {
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
}

.dc-qr-modal-content p {
  font-size: 16px;
  color: #374151;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
  .dc-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dc-banner {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .dc-banner-wrapper {
    padding: 0 20px;
  }

  .dc-banner-title {
    font-size: 28px;
  }

  .dc-banner-desc {
    font-size: 16px;
  }

  .dc-banner-buttons {
    flex-direction: column;
    align-items: center;
  }

  .dc-section1 {
    padding: 60px 0;
  }

  .dc-section-wrapper {
    padding: 0 20px;
  }

  .dc-section-title {
    font-size: 28px;
  }

  .dc-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dc-cta {
    padding: 40px 20px;
  }

  .dc-cta-wrapper {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }

  .dc-cta-content {
    max-width: 100%;
  }

  .dc-cta-title {
    font-size: 24px;
  }
}
