/* 自定义 CSS 样式文件 - 从 Tailwind CSS 样式转换而来 */

/* 基础重置和自定义字体（如果需要） */
* {
  box-sizing: border-box;
}

/* 文字阴影效果 */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 卡片悬停效果 */
.card-hover {
  transition: all 300ms ease-in-out;
}

.card-hover:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.5rem);
}

.card-hover-light {
  transition: all 300ms ease-in-out;
}

.card-hover-light:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-0.25rem);
}

/* 图片悬停缩放效果 */
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 700ms ease-out;
/*  width: 100%;*/
  height: auto;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
}

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(135deg, #6C63FF, #4A90E2);
}

/* 英雄背景图 */
.hero-bg {
  background-image: url('https://p3-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc/pc/super_tool/fe992bd658d644209da47d1100186a79~tplv-a9rns2rl98-image.image?lk3s=8e244e95&rcl=202601221718049E4F0AEB8C985E44C561&rrcfp=f06b921b&x-expires=1771665498&x-signature=LGWjbZbWh82VzmfcUBhVrCJIq%2FQ%3D');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 渐变文字效果 */
.gradient-text {
  background: linear-gradient(135deg, #6C63FF, #4A90E2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 毛玻璃效果 */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-effect-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 按钮样式 */
.btn-primary {
  background-color: #6C63FF;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 300ms ease-in-out;
  transform: scale(1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  outline: none;
}

.btn-primary:hover {
  background-color: rgba(108, 99, 255, 0.9);
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.5);
}

.btn-secondary {
  border: 1px solid white;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 300ms ease-in-out;
  transform: scale(1);
  outline: none;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background-color: white;
  border: 1px solid #6C63FF;
  color: #6C63FF;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 300ms ease-in-out;
  transform: scale(1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  outline: none;
}

.btn-outline:hover {
  background-color: #6C63FF;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-outline:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.5);
}

/* 动画效果 */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-pulse-slow {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

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

/* 动画延迟类 */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }

/* 响应式设计（可选添加） */
@media (max-width: 768px) {
  .hero-bg {
    background-size: contain;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* 打印样式 */
@media print {
  .glass-effect,
  .glass-effect-dark,
  .gradient-bg {
    background: white !important;
  }
  
  .gradient-text {
    background: none !important;
    -webkit-text-fill-color: black !important;
    color: black !important;
  }
}