/* FastFly 2026 - 极光与毛玻璃拟态样式表 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --secondary: #38bdf8;
  --accent-purple: #a78bfa;
  --accent-pink: #f0abfc;
  --bg-main: #f4f6ff;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.08);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: #1e293b;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 4个大极光渐变背景色块与漂移动画 */
.aurora-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.aurora-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  top: -100px;
  left: -80px;
  animation: aurora-float-1 22s infinite alternate ease-in-out;
}

.aurora-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
  top: 15%;
  right: -120px;
  animation: aurora-float-2 26s infinite alternate ease-in-out;
}

.aurora-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #a78bfa 0%, rgba(167, 139, 250, 0) 70%);
  bottom: 20%;
  left: 10%;
  animation: aurora-float-3 28s infinite alternate ease-in-out;
}

.aurora-4 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f0abfc 0%, rgba(240, 171, 252, 0) 70%);
  bottom: -100px;
  right: 5%;
  animation: aurora-float-4 24s infinite alternate ease-in-out;
}

@keyframes aurora-float-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.12); }
  100% { transform: translate(40px, 160px) scale(0.95); }
}

@keyframes aurora-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 120px) scale(1.08); }
  100% { transform: translate(-160px, 40px) scale(0.92); }
}

@keyframes aurora-float-3 {
  0% { transform: translate(0, 0) scale(0.95); }
  50% { transform: translate(140px, -100px) scale(1.15); }
  100% { transform: translate(60px, -60px) scale(1); }
}

@keyframes aurora-float-4 {
  0% { transform: translate(0, 0) scale(1.05); }
  50% { transform: translate(-120px, -80px) scale(0.9); }
  100% { transform: translate(-40px, -140px) scale(1.1); }
}

/* 玻璃拟态核心样式卡片 */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  border-radius: 24px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -15px rgba(99, 102, 241, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

/* 粘性导航栏毛玻璃 */
.glass-nav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 25px -10px rgba(99, 102, 241, 0.05);
}

/* 最受欢迎套餐的渐变边框 */
.glass-popular-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.22);
}

.glass-popular-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(135deg, #6366f1, #38bdf8, #f0abfc);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* 首屏悬浮状态卡上下漂移动画 */
.float-slow {
  animation: float-animation 6s ease-in-out infinite;
}

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

/* 绿点脉冲动画 */
.pulse-green {
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* 按钮渐变与光效 */
.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 14px 24px -5px rgba(99, 102, 241, 0.55);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.25);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 8px 18px -4px rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

/* 渐变文字效果 */
.text-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #0284c7 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
