/* main.css */
:root {
    --primary: #1a56a8; /* 权威深蓝 */
    --secondary: #ff6f61; /* 珊瑚红CTA */
    --accent: #fadb5f; /* 信任金 */
    --light: #f5f7fa; /* 背景灰 */
  }
  
  body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
  }
  
  /* 加载动画 */
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
  }
  
  .error-message button {
    background: #007bff;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
  }
  
  .error-message button:hover {
    background: #0056b3;
  }
  /* 重置所有按钮默认样式 */
button.cta-button {
  border: none !important; /* 移除默认边框 */
  outline: none !important; /* 移除聚焦轮廓 */
  -webkit-appearance: none; /* 移除iOS默认样式 */
  appearance: none; /* 标准属性 */
  background: var(--secondary); /* 确保背景色统一 */
}
  /* 动画效果 */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* 响应式调整 */
  @media (max-width: 768px) {
    .chat-box {
      width: 280px;
      right: 10px;
    }
    
    /* 手机端隐藏联系入口文字 */
    .contact-entry .contact-text {
      display: none !important;
    }
    
    /* 调整图标大小和位置 */
    .contact-entry {
      width: 50px !important;
      height: 50px !important;
      justify-content: center !important;
      padding: 0 !important;
      border-radius: 50% !important;
    }
  }
  
  @media (max-width: 992px) {
    header {
      padding-bottom: 0;
    }
    .nav-container {
      padding: 15px 5%;
    }
  }