/* 
 * Minyer IPTV 静态网站整合样式文件
 * 创建时间：2025-01-16 20:35:15
 * 创建人：Minyer
 * 修改时间：2025-01-17 00:50:00
 * 修改人：Minyer
 * 版权声明：© 2025 Minyer 保留所有权利 网址：www.minyer.com
 * 说明：整合了所有CSS样式，包括globals.css、iptv-website样式等
 */

/* 优化字体导入 - 使用font-display:swap提升性能 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700&display=swap');

/* Tailwind CSS 基础样式 */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* 自定义CSS变量 - Minyer IPTV 霓虹风格设计系统 */
:root {
  /* 霓虹色彩系统 */
  --neon-cyan: #00f3ff;
  --neon-blue: #00f3ff;
  --neon-purple: #8b5cf6;
  --neon-pink: #f472b6;
  --neon-yellow: #fbbf24;
  --neon-green: #10b981;
  --neon-orange: #f97316;
  --neon-red: #ef4444;
  
  /* 兼容性颜色变量 */
  --primary-color: #00ffff;
  --secondary-color: #ff00ff;
  --accent-color: #7700ff;
  --glow-strength: 5px;
  
  /* 背景色系 */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-glass: rgba(15, 23, 42, 0.8);
  
  /* 文字色系 */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  /* 玻璃效果变量 */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* 背景网格图案 */
.bg-grid-pattern {
  background-image: 
    linear-gradient(rgba(0, 243, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* 返回顶部按钮样式 */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 243, 255, 0.5);
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
}

.back-to-top-btn.show:hover {
  transform: translateY(-3px) scale(1.1);
}

.back-to-top-btn:active {
  transform: translateY(-1px) scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* 星空背景动画 */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.stars:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: animStar 10s linear infinite;
}

.stars2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.stars2:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 25px 25px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 50px 75px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 125px 25px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 175px 75px, rgba(255,255,255,0.6), transparent);
  background-repeat: repeat;
  background-size: 250px 150px;
  animation: animStar 15s linear infinite;
}

.stars3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.stars3:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 75px 125px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 125px 75px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 200px 150px, rgba(255,255,255,0.4), transparent);
  background-repeat: repeat;
  background-size: 300px 200px;
  animation: animStar 25s linear infinite;
}

@keyframes animStar {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}

/* 霓虹发光效果 */
.neon-glow {
  text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor,
    0 0 20px currentColor;
}

.neon-glow-cyan {
  color: var(--neon-cyan);
  text-shadow: 
    0 0 5px var(--neon-cyan),
    0 0 10px var(--neon-cyan),
    0 0 15px var(--neon-cyan),
    0 0 20px var(--neon-cyan);
}

.neon-glow-purple {
  color: var(--neon-purple);
  text-shadow: 
    0 0 5px var(--neon-purple),
    0 0 10px var(--neon-purple),
    0 0 15px var(--neon-purple),
    0 0 20px var(--neon-purple);
}

/* 霓虹边框效果 */
.neon-border {
  border: 2px solid var(--neon-cyan);
  box-shadow: 
    0 0 5px var(--neon-cyan),
    inset 0 0 5px var(--neon-cyan);
}

.neon-border:hover {
  box-shadow: 
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-cyan),
    inset 0 0 10px var(--neon-cyan);
}

/* 玻璃效果 */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* 渐变文字效果 */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 霓虹按钮样式 */
.neon-button {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.neon-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.2), transparent);
  transition: left 0.5s;
}

.neon-button:hover:before {
  left: 100%;
}

.neon-button:hover {
  background: var(--neon-cyan);
  color: var(--bg-primary);
  box-shadow: 
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-cyan),
    0 0 40px var(--neon-cyan);
  transform: translateY(-2px);
}

/* 卡片样式 */
.feature-card {
  background: #111827;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 定价卡片样式 - 按钮底对齐 */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px; /* 统一卡片最小高度 */
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(100, 116, 139, 0.5); /* 添加边框 */
}

/* 桌面端价格卡片网格布局 */
.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem; /* 统一间距 */
  align-items: stretch;
}

/* 移动端价格卡片滑动样式 */
@media (max-width: 1023px) {
  .pricing-cards-container {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem; /* 统一间距 */
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    /* 隐藏滚动条 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    align-items: stretch;
  }
  
  /* 隐藏 Webkit 浏览器的滚动条 */
  .pricing-cards-container::-webkit-scrollbar {
    display: none;
  }
  
  .pricing-card {
    min-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: center;
    height: auto;
    min-height: 520px; /* 移动端也使用统一高度 */
  }
}

.pricing-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
  transition: left 0.5s;
}

.pricing-card:hover:before {
  left: 100%;
}

.pricing-card:hover {
  border-color: var(--neon-cyan) !important;
  box-shadow: 
    0 0 20px rgba(0, 243, 255, 0.3),
    inset 0 0 20px rgba(0, 243, 255, 0.1) !important;
  z-index: 10 !important;
}

/* 选中的价格卡片样式 */
.pricing-card.scale-105 {
  z-index: 20 !important;
}

.pricing-card .select-plan-btn {
  margin-top: auto;
}

/* 未选中套餐按钮的渐变蓝色边框样式 */
.select-plan-btn.bg-slate-700 {
  background: rgba(51, 65, 85, 0.8) !important;
  border: 2px solid transparent !important;
  background-image: linear-gradient(rgba(51, 65, 85, 0.8), rgba(51, 65, 85, 0.8)), 
                    linear-gradient(135deg, #3b82f6, #06b6d4, #8b5cf6) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  transition: all 0.3s ease !important;
}

.select-plan-btn.bg-slate-700:hover {
  background: rgba(71, 85, 105, 0.9) !important;
  background-image: linear-gradient(rgba(71, 85, 105, 0.9), rgba(71, 85, 105, 0.9)), 
                    linear-gradient(135deg, #2563eb, #0891b2, #7c3aed) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* 选择按钮样式 - 取消光波效果 */
.select-plan-btn {
  /* 移除光波效果相关样式 */
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
  transition: left 0.5s;
}

.feature-card:hover:before {
  left: 100%;
}

.feature-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 
    0 0 20px rgba(0, 243, 255, 0.3),
    inset 0 0 20px rgba(0, 243, 255, 0.1);
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

/* 英雄区域按钮样式 - 确保两个按钮宽度一致 */
.hero-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-action-buttons {
    flex-direction: row;
  }
}

.hero-action-buttons button {
  min-width: 220px;
  width: 100%;
  max-width: 280px;
  height: 56px;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* 光波动画效果 */
.hero-action-buttons button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  border-radius: 9999px;
  animation: shimmer 2s infinite;
}

/* 排除光波效果的按钮 */
.hero-action-buttons button.no-shimmer::before {
  display: none;
}

/* 光波效果按钮 */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  border-radius: 9999px;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@media (min-width: 640px) {
  .hero-action-buttons button {
    width: auto;
    flex: 1;
    max-width: 250px;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .neon-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .feature-card {
    margin-bottom: 16px;
  }
  
  .gradient-text {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .gradient-text {
    font-size: 2rem;
  }
  
  .neon-button {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

/* 加载动画 */
.loading {
  animation: pulse 2s infinite;
}

/* 淡入动画 */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* 脉冲动画 */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 弹跳动画 */
.animate-bounce {
  animation: bounce 1s infinite;
}

/* 工具类 */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 隐藏类 */
.hidden {
  display: none !important;
}

.invisible {
  visibility: hidden;
}

/* 显示类 */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

/* 定位类 */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

/* 层级类 */
.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

/* 间距类 */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }
.m-10 { margin: 2.5rem; }
.m-12 { margin: 3rem; }
.m-16 { margin: 4rem; }
.m-20 { margin: 5rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }

/* 边距类 */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }

.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }

/* 填充类 */
.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-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* 宽度类 */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }

/* 高度类 */
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }

/* 最小高度类 */
.min-h-screen { min-height: 100vh; }

/* 最大宽度类 */
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }

/* 边框类 */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }

/* 圆角类 */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* 阴影类 */
.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: translateZ(0); }
.scale-90 { transform: scale(0.9); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

/* 移除定价卡片的放大效果，保持高度一致 */
.pricing-card.scale-105 {
  transform: none;
  /* 移除放大效果，保持原始大小 */
}

/* 过渡类 */
.transition-all { transition: all 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* 透明度类 */
.opacity-10 { opacity: 0.1; }
.opacity-60 { opacity: 0.6; }
.opacity-99 { opacity: 0.99; }
.opacity-100 { opacity: 1; }

/* 溢出类 */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* 指针事件类 */
.pointer-events-none { pointer-events: none; }

/* 光标类 */
.cursor-pointer { cursor: pointer; }

/* 对象适配类 */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* 字体类 */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* 文本大小类 */
.text-xs { font-size: 0.75rem; }
.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; }
.text-7xl { font-size: 4.5rem; }

/* 文本对齐类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* 行高类 */
.leading-relaxed { line-height: 1.625; }

/* 字母间距类 */
.tracking-wide { letter-spacing: 0.025em; }

/* 文本装饰类 */
.no-underline { text-decoration: none; }

/* 文本变换类 */
.uppercase { text-transform: uppercase; }

/* 抗锯齿类 */
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 背景裁剪类 */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

/* 文本填充类 */
.text-transparent {
  color: transparent;
}

/* Flex 类 */
.flex-col { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gap 类 */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Grid 类 */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.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)); }

/* 响应式 Grid 类 */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:block { display: block; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
}

/* 颜色类 */
.text-white { color: #ffffff; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }

.text-cyan-100 { color: #cffafe; }
.text-cyan-400 { color: #22d3ee; }
.text-purple-400 { color: #c084fc; }
.text-yellow-400 { color: #facc15; }

/* 皇冠图标颜色与4K文字保持一致 */
.lucide-crown {
  color: #facc15 !important;
}
.text-green-400 { color: #4ade80; }
.text-orange-400 { color: #fb923c; }
.text-blue-400 { color: #60a5fa; }

.bg-gray-900 { background-color: #111827; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-600 { background-color: #475569; }
.bg-slate-500 { background-color: #64748b; }

.bg-blue-500 { background-color: #3b82f6; }
.bg-purple-500 { background-color: #8b5cf6; }
.bg-green-500 { background-color: #10b981; }
.bg-orange-500 { background-color: #f97316; }
.bg-cyan-500 { background-color: #06b6d4; }
.bg-yellow-500 { background-color: #eab308; }

.border-slate-700 { border-color: #334155; }
.border-slate-600 { border-color: #475569; }
.border-slate-800 { border-color: #1e293b; }
.border-cyan-400 { border-color: #22d3ee; }
.border-cyan-500 { border-color: #06b6d4; }

/* 渐变背景类 */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }

.from-gray-900 { --tw-gradient-from: #111827; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 24, 39, 0)); }
.from-slate-900 { --tw-gradient-from: #0f172a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 23, 42, 0)); }
.from-slate-800 { --tw-gradient-from: #1e293b; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 41, 59, 0)); }
.from-cyan-400 { --tw-gradient-from: #22d3ee; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 211, 238, 0)); }
.from-cyan-500 { --tw-gradient-from: #06b6d4; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 182, 212, 0)); }
.from-cyan-600 { --tw-gradient-from: #0891b2; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(8, 145, 178, 0)); }

.via-blue-900 { --tw-gradient-stops: var(--tw-gradient-from), #1e3a8a, var(--tw-gradient-to, rgba(30, 58, 138, 0)); }
.via-purple-900 { --tw-gradient-stops: var(--tw-gradient-from), #581c87, var(--tw-gradient-to, rgba(88, 28, 135, 0)); }
.via-purple-400 { --tw-gradient-stops: var(--tw-gradient-from), #c084fc, var(--tw-gradient-to, rgba(192, 132, 252, 0)); }

.to-purple-900 { --tw-gradient-to: #581c87; }
.to-slate-900 { --tw-gradient-to: #0f172a; }
.to-slate-800 { --tw-gradient-to: #1e293b; }
.to-purple-400 { --tw-gradient-to: #c084fc; }
.to-purple-500 { --tw-gradient-to: #8b5cf6; }
.to-purple-600 { --tw-gradient-to: #9333ea; }
.to-pink-400 { --tw-gradient-to: #f472b6; }

/* 隐藏类 - 响应式 */
@media (max-width: 767px) {
  .md\:hidden { display: none !important; }
}

@media (min-width: 768px) {
  .hidden.md\:block { display: block !important; }
}

/* 延迟动画类 */
.delay-1000 {
  animation-delay: 1000ms;
}

/* 自定义工具类 */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

/* 背景透明度类 */
.bg-opacity-10 { background-color: rgba(var(--tw-bg-opacity-color), 0.1); }
.bg-opacity-20 { background-color: rgba(var(--tw-bg-opacity-color), 0.2); }
.bg-opacity-30 { background-color: rgba(var(--tw-bg-opacity-color), 0.3); }
.bg-opacity-50 { background-color: rgba(var(--tw-bg-opacity-color), 0.5); }

/* 悬停效果类 */
.hover\:bg-cyan-400:hover { background-color: #22d3ee; }
.hover\:bg-cyan-600:hover { background-color: #0891b2; }
.hover\:text-slate-900:hover { color: #0f172a; }
.hover\:border-slate-600:hover { border-color: #475569; }
.hover\:border-slate-500:hover { border-color: #64748b; }
.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


/* 焦点效果类 */
.focus\:outline-none:focus { outline: none; }

/* 活动状态类 */
.active\:scale-95:active { transform: scale(0.95); }

/* 禁用状态类 */
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* 选中状态类 */
.selected { background-color: var(--neon-cyan) !important; }

/* 加载状态类 */
.loading-spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 2px solid var(--neon-cyan);
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 错误状态类 */
.error {
  border-color: var(--neon-red) !important;
  color: var(--neon-red) !important;
}

/* 成功状态类 */
.success {
  border-color: var(--neon-green) !important;
  color: var(--neon-green) !important;
}

/* 警告状态类 */
.warning {
  border-color: var(--neon-yellow) !important;
  color: var(--neon-yellow) !important;
}

/* 信息状态类 */
.info {
  border-color: var(--neon-blue) !important;
  color: var(--neon-blue) !important;
}

/* 打印样式 */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .neon-glow,
  .neon-border,
  .glass-effect {
    box-shadow: none !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .feature-card {
    border-width: 2px;
  }
  
  .neon-button {
    border-width: 3px;
  }
}

/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
  }
}

/* 浅色模式支持 */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f8fafc;
    --bg-secondary: #e2e8f0;
    --text-primary: #0f172a;
  }
}

/* 自定义属性重置 */
.dark {
  color-scheme: dark;
}

.light {
  color-scheme: light;
}

/* 最终样式确保 */
body.dark {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* 确保所有动画都能正常工作 */
* {
  will-change: auto;
}

.animate-pulse,
.animate-bounce,
.loading,
.fade-in {
  will-change: transform, opacity;
}

/* 确保所有过渡效果都能正常工作 */
.transition-all,
.feature-card,
.neon-button {
  will-change: transform, box-shadow, border-color;
}

/* Premium Content 样式 */
.premium-category-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(100, 116, 139, 0.5);
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  min-height: 120px;
}

.premium-category-btn:hover {
  background: rgba(51, 65, 85, 0.7);
  border-color: rgba(139, 92, 246, 0.5);
  color: var(--text-primary);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.premium-category-btn.active {
  background: rgba(139, 92, 246, 0.2);
  border: 2px solid var(--neon-purple);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.premium-category-btn.active .category-icon {
  color: white;
}

.premium-category-btn.active .category-name {
  color: white;
}

.premium-category-btn.active p {
  color: rgba(196, 181, 253, 0.8);
}

.premium-category-btn .category-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
  stroke-width: 2;
}

.premium-category-btn .category-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.premium-category-btn p {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.8);
  margin: 0;
}

#premium-category-details {
  background: rgba(30, 41, 59, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(100, 116, 139, 0.3);
  transition: all 0.5s ease;
}

#premium-category-details h3 {
  color: var(--neon-purple);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

#premium-category-details p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

#premium-category-details .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

#premium-category-details .feature-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s ease;
}

#premium-category-details .feature-item:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

#premium-category-details .feature-item h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#premium-category-details .feature-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Premium Content 响应式设计 */
@media (max-width: 768px) {
  .premium-category-btn {
    padding: 0.75rem;
    min-height: 80px;
  }
  
  .premium-category-btn .category-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .premium-category-btn .category-name {
    font-size: 0.75rem;
  }
  
  #premium-category-details {
    padding: 1rem;
  }
  
  #premium-category-details .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* 高级功能特色在小屏幕上的优化 */
  .grid-cols-3 > div {
    padding: 1rem;
    font-size: 0.875rem;
  }
  
  .grid-cols-3 > div h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .grid-cols-3 > div p {
    font-size: 0.75rem;
  }
  
  .grid-cols-3 > div .w-12 {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .grid-cols-3 > div .w-6 {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  /* Premium分类按钮响应式 - 移动端两行显示，每行3个 */
  #premium-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.75rem;
    overflow: hidden;
  }
  
  .grid-cols-6 .premium-category-btn {
    padding: 0.5rem;
    min-height: 80px;
    font-size: 0.75rem;
  }
  
  .grid-cols-6 .premium-category-btn .category-icon {
    width: 1rem;
    height: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .grid-cols-6 .premium-category-btn .category-name {
    font-size: 0.625rem;
    margin-bottom: 0.125rem;
  }
  
  .grid-cols-6 .premium-category-btn p {
    font-size: 0.5rem;
    line-height: 1.2;
  }
}

/* FAQ 模块样式 */
.faq-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  overflow: hidden;
}

.faq-background-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.faq-floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.faq-floating-element:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.faq-floating-element:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.faq-floating-element:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.faq-search-box {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-search-box:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.faq-category-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 200px;
  justify-content: center;
}

.faq-category-btn:hover,
.faq-category-btn.active {
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
  transform: translateY(-2px);
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.faq-question {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--neon-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.expanded {
  max-height: 500px;
}

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
  transform: translateY(-5px);
}

.quick-link-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quick-link-card:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}

/* 智能功能展示模块样式 */
.smart-features-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.smart-feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.smart-feature-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

.smart-feature-card.active {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(139, 92, 246, 0.1));
  border-color: var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
}

.feature-icon {
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.smart-feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

.progress-bar {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  height: 100%;
  border-radius: 10px;
  transition: width 0.8s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

.feature-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.feature-details.expanded {
  max-height: 300px;
}

.action-button {
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.4);
}

.action-button:active {
  transform: translateY(0);
}

.action-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.action-button:hover::before {
  left: 100%;
}

/* 自定义动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* 动画类 */
.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

.animate-pulse-glow {
  animation: pulse-glow 2s infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-rotate-slow {
  animation: rotate-slow 20s linear infinite;
}

.animate-shimmer {
  animation: shimmer 2s infinite;
}

/* FAQ 响应式设计 */
@media (max-width: 768px) {
  .faq-floating-element {
    display: none;
  }
  
  /* FAQ分类按钮移动端样式 - 确保4个按钮宽度一致 */
  #faq-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
  }
  
  .faq-category-btn {
    min-width: auto;
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
    text-align: center;
  }
  
  .faq-category-btn .font-medium {
    font-size: 0.75rem;
  }
  
  .smart-feature-card {
    padding: 1rem;
  }
  
  .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .progress-bar {
    height: 6px;
  }
  
  .action-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .contact-card,
  .quick-link-card {
    padding: 1rem;
  }
}

/* Contact 联系我们模块样式 */
#contact {
  position: relative;
  background: linear-gradient(to bottom, #0f172a, #000000);
}

#contact .absolute {
  pointer-events: none;
}

/* 联系方式卡片样式 */
.contact-method-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(71, 85, 105, 1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.contact-method-card:hover {
  background: rgba(51, 65, 85, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-method-card .group:hover {
  transform: scale(1.1);
}

/* 联系表单样式 */
#contact-form {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(71, 85, 105, 1);
  border-radius: 0.75rem;
  padding: 2rem;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  background: rgba(51, 65, 85, 0.5);
  border: 1px solid rgba(71, 85, 105, 1);
  border-radius: 0.5rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
  background: rgba(51, 65, 85, 0.8);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: rgba(148, 163, 184, 1);
}

#contact-form button[type="submit"] {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#contact-form button[type="submit"]:hover {
  background: linear-gradient(to right, #2563eb, #0891b2);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

#contact-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 成功消息样式 */
#contact-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

/* 部门联系方式样式 */
.department-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(71, 85, 105, 1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.department-card:hover {
  background: rgba(51, 65, 85, 0.5);
  border-color: rgba(59, 130, 246, 0.5);
}

.department-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 营业时间和社交媒体样式 */
.business-hours-card,
.social-media-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(71, 85, 105, 1);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148, 163, 184, 1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link:hover.facebook {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.1);
}

.social-link:hover.twitter {
  color: #1da1f2;
  background: rgba(29, 161, 242, 0.1);
}

.social-link:hover.instagram {
  color: #e4405f;
  background: rgba(228, 64, 95, 0.1);
}

.social-link:hover.youtube {
  color: #ff0000;
  background: rgba(255, 0, 0, 0.1);
}

.social-link:hover.linkedin {
  color: #0077b5;
  background: rgba(0, 119, 181, 0.1);
}

/* 表单验证样式 */
.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.form-field.success input,
.form-field.success select,
.form-field.success textarea {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-field.error .error-message {
  display: block;
}





/* 网格脉冲动画 */
@keyframes gridPulse {
  0% {
    background-size: 100%, 20px 20px, 20px 20px;
  }
  50% {
    background-size: 100%, 25px 25px, 25px 25px;
  }
  100% {
    background-size: 100%, 20px 20px, 20px 20px;
  }
}

/* 额外动画类 */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from {
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor;
  }
  to {
    text-shadow: 
      0 0 10px currentColor,
      0 0 20px currentColor,
      0 0 30px currentColor,
      0 0 40px currentColor;
  }
}



/* 加载动画 */
.loading-spinner {
  border: 3px solid var(--glass-border);
  border-top: 3px solid var(--neon-cyan);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

/* 背景装饰动画 */
.bg-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.bg-decoration:nth-child(2) {
  animation-delay: -2s;
  animation-duration: 8s;
}

.bg-decoration:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 10s;
}

/* 智能功能模块特定样式 */
.smart-feature-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smart-feature-card:hover {
  transform: translateY(-2px);
}

.smart-feature-card.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* 设备支持卡片悬停效果 - 与feature-card相同 */
.group.bg-gradient-to-br {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.group.bg-gradient-to-br:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
  transition: left 0.5s;
}

.group.bg-gradient-to-br:hover:before {
  left: 100%;
}

.group.bg-gradient-to-br:hover {
  border-color: var(--neon-cyan) !important;
  box-shadow: 
    0 0 20px rgba(0, 243, 255, 0.3),
    inset 0 0 20px rgba(0, 243, 255, 0.1) !important;
}

.feature-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

/* 响应式设计增强 */
@media (max-width: 768px) {
  .stars, .stars2, .stars3 {
    animation-duration: 30s;
  }
  
  .bg-grid-pattern {
    background-size: 30px 30px;
  }
  
  .smart-feature-card {
    padding: 1rem;
  }
  
  .feature-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  #contact {
    padding: 3rem 0;
  }
  
  #contact .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-method-card {
    padding: 1rem;
  }
  
  #contact-form {
    padding: 1.5rem;
  }
  
  .department-card {
    padding: 1rem;
  }
}

/* © 2025 Minyer 保留所有权利 网址：www.minyer.com */

/* 视频淡入动画 */
@keyframes videoFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.8;
  }
}

.video-fade-in {
  animation: videoFadeIn 3s ease-in-out forwards;
}

/* 纯白色文字样式 */
.text-pure-white {
  color: #ffffff !important;
}
