/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action .container {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 4rem 2rem;
}

.call-to-action .content h2,
.call-to-action .content p {
  color: var(--contrast-color);
  position: relative;
  z-index: 2;
}

.call-to-action .btn-cta {
  background-color: color-mix(in srgb, var(--contrast-color) 15%, transparent);
  color: var(--contrast-color);
  padding: 12px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid var(--contrast-color);
  position: relative;
  z-index: 2;
}

.call-to-action .btn-cta:hover {
  background-color: var(--contrast-color);
  color: var(--accent-color);
}

.call-to-action .shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.call-to-action .shape svg {
  width: 100%;
  height: 100%;
}

.call-to-action .shape svg path {
  fill: color-mix(in srgb, var(--contrast-color) 50%, transparent);
}

.call-to-action .shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  opacity: 0.1;
  transform: rotate(45deg);
  animation: shapes-float 3s ease-in-out infinite;
}

.call-to-action .shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
  opacity: 0.15;
  transform: rotate(-15deg);
  animation: shapes-float 4s ease-in-out infinite;
}

.call-to-action .shape-3 {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 15%;
  opacity: 0.08;
  transform: rotate(15deg);
}

.call-to-action .dots {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  color: var(--contrast-color);
}

.call-to-action .dots svg {
  width: 100%;
  height: 100%;
}

.call-to-action .dots-1 {
  width: 200px;
  height: 200px;
  top: -30px;
  left: 10%;
  opacity: 0.1;
  transform: rotate(15deg);
  animation: shapes-float 4s ease-in-out infinite;
}

.call-to-action .dots-2 {
  width: 150px;
  height: 150px;
  bottom: 20px;
  right: 15%;
  opacity: 0.15;
  transform: rotate(-10deg);
}

@keyframes shapes-float {
  0%,
  100% {
    transform: scale(0.8) rotate(45deg) translateY(0);
  }

  50% {
    transform: scale(0.8) rotate(45deg) translateY(-20px);
  }
}

/*--------------------------------------------------------------
# Call To Action 2 Section
--------------------------------------------------------------*/
.call-to-action-2 {
  padding: 80px 0;
  background: linear-gradient(rgba(var(--primary-color-rgb), 0.9), rgba(var(--primary-color-rgb), 0.9)), center center;
  background-size: cover;
  position: relative;
}

.call-to-action-2 h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* CTA Title 样式 - 独立的规则 */
.cta-title {
  color: #fff !important;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .call-to-action-2 h3,
  .cta-title {
    font-size: 28px;
  }
}

.call-to-action-2 p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  background: #fff;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.cta-btn i {
  font-size: 24px;
}

/* Call To Action 区域的下载按钮特殊样式 */
.call-to-action-2 .download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto 0;
}

/* 深色背景上的下载按钮样式调整 */
.dark-background .download-btn {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.dark-background .download-btn:hover {
  background-color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* 深色背景上的按钮文字样式 */
.dark-background .download-btn small,
.dark-background .download-btn span,
.dark-background .download-btn i {
  color: #333;
}

.dark-background .download-btn:hover small,
.dark-background .download-btn:hover span,
.dark-background .download-btn:hover i {
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .call-to-action .container {
    padding: 3rem 1.5rem;
  }

  .call-to-action .shape-1 {
    width: 200px;
    height: 200px;
  }

  .call-to-action .shape-2 {
    width: 150px;
    height: 150px;
  }

  .call-to-action .shape-3 {
    width: 100px;
    height: 100px;
  }

  .call-to-action .dots-1 {
    width: 150px;
    height: 150px;
  }

  .call-to-action .dots-2 {
    width: 120px;
    height: 120px;
  }

  .call-to-action .dots-3 {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .call-to-action-2 {
    padding: 60px 0;
  }

  .call-to-action-2 h3 {
    font-size: 28px;
  }

  .call-to-action-2 p {
    font-size: 15px;
    padding: 0 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 200px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .call-to-action .container {
    border-radius: 0;
  }

  .call-to-action-2 .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .dark-background .download-btn {
    width: 80%;
    max-width: 250px;
    justify-content: center;
  }
}