/* common/floating-cta.css */
.floating-cta-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  width: 220px;
  transform: translateY(20px);
  animation: ctaSlideIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  font-family: 'Arial', sans-serif;
}

.cta-header {
  padding: 15px;
  background: #2b6cb0;
  color: white;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.cta-close {
  background: none;
  border: 0;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0 5px;
  line-height: 1;
}

.cta-content {
  padding: 15px;
}

.cta-content a {
  display: flex;
  align-items: center;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  color: white !important;
}

.cta-content a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-btn { background: #25D366; }
.email-btn { background: #2b6cb0; }
.call-btn { background: #38a169; }

.cta-content svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
}

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

@media (max-width: 768px) {
  .floating-cta-container {
    bottom: 15px;
    right: 15px;
    width: 90%;
    max-width: 300px;
  }
}

/* 原有CTA样式 */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  /* 其他样式... */
}

/* 关闭按钮样式 */
.cta-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  padding: 0 8px;
}

.cta-close-btn:hover {
  color: #666;
}

/* 隐藏面板 */
.floating-cta.hidden {
  display: none;
}