/* Font Awesome Icons - 只包含页面中使用的图标 */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url(data:font/woff2;base64,) format("woff2");
}

.fas, .fab {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fab {
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
}

/* Font Awesome图标内容 */
.fa-clipboard-list:before { content: "📋"; }
.fa-chart-line:before { content: "📈"; }
.fa-shield-alt:before { content: "🛡️"; }
.fa-weixin:before { content: "💬"; }
.fa-qq:before { content: "💬"; }
.fa-times:before { content: "✕"; }

/* Pacifico字体替代 */
.font-pacifico {
  font-family: cursive, serif;
  font-style: italic;
}

/* 艺术Logo样式 */
.logo-text {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  background: linear-gradient(45deg, #2563eb, #7c3aed, #db2777);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  position: relative;
  animation: gradient-shift 3s ease-in-out infinite;
}

.logo-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #2563eb, #7c3aed, #db2777);
  background-size: 200% 200%;
  border-radius: 8px;
  filter: blur(8px);
  opacity: 0.3;
  z-index: -1;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* 二维码模态框样式 */
.qr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.qr-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.qr-modal-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  animation: slideIn 0.3s ease-out;
}

.qr-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qr-close:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.qr-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.qr-description {
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}

.qr-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Tailwind CSS 样式 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  min-height: 1024px;
}

.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-600 { background-color: #4b5563; }
.bg-gray-900 { background-color: #111827; }
.bg-primary { background-color: #2563eb; }
.bg-primary\/10 { background-color: rgba(37, 99, 235, 0.1); }
.bg-primary\/5 { background-color: rgba(37, 99, 235, 0.05); }
.bg-primary\/90 { background-color: rgba(37, 99, 235, 0.9); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/50 { background-color: rgba(255, 255, 255, 0.5); }

.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-600 { color: #4b5563; }
.text-primary { color: #2563eb; }

.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-8 { bottom: 2rem; }
.-bottom-6 { bottom: -1.5rem; }
.left-1\/2 { left: 50%; }
.z-50 { z-index: 50; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-2 { width: 0.5rem; }
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.h-2 { height: 0.5rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }

.max-w-\[1440px\] { max-width: 1440px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pr-12 { padding-right: 3rem; }
.ml-8 { margin-left: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-12 { margin-top: 3rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

.p-8 { padding: 2rem; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[32px\] { border-radius: 32px; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-primary { border-color: #2563eb; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

.transform { transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-x-1\/2 { --tw-translate-x: -50%; }

.whitespace-nowrap { white-space: nowrap; }
.text-center { text-align: center; }

.object-cover { object-fit: cover; }

.hover\:text-primary:hover { color: #2563eb; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:bg-primary:hover { background-color: #2563eb; }
.hover\:bg-primary\/90:hover { background-color: rgba(37, 99, 235, 0.9); }
.hover\:bg-primary\/5:hover { background-color: rgba(37, 99, 235, 0.05); }

/* 自定义样式 */
.hero-bg {
  background: linear-gradient(90deg, #ffffff 50%, transparent 50%);
}

.carousel-container {
  transition: transform 0.5s ease-out;
}

.carousel-item {
  transition: all 0.5s ease-out;
  backface-visibility: hidden;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s ease;
  border-radius: 4px;
}

a {
  text-decoration: none;
  transition: color 0.2s ease;
}

/* 3D轮播样式 */
#carousel {
  width: 280px;
  height: 560px;
  perspective: 1000px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
} 