/* ==========================================================================
   慈善机场 (Charity Airport) - 官方网站核心样式表
   域名: cishanjc.lat
   ========================================================================== */

:root {
  --primary-navy: #0F172A;
  --secondary-navy: #061630;
  --card-dark: #1E293B;
  --brand-indigo: #4F46E5;
  --brand-purple: #312E81;
  --brand-cyan: #0EA5E9;
  --brand-cyan-light: #8fe9ff;
  --brand-accent: #38BDF8;
  --emerald-green: #10B981;
  --slate-text: #64748B;
  --slate-heading: #0F172A;
  --border-slate: #E2E8F0;
  --shadow-card: 0 10px 30px rgba(6, 22, 48, 0.06);
  --shadow-hover: 0 20px 40px rgba(79, 70, 229, 0.12);
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: #334155;
  background-color: #F8FAFC;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 渐变标题背景 */
.hero-gradient {
  background: linear-gradient(135deg, #312E81 0%, #4338CA 40%, #0284C7 100%);
}

.hero-mesh {
  background-color: #1e1b4b;
  background-image: 
    radial-gradient(at 10% 20%, rgba(99, 102, 241, 0.35) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(14, 165, 233, 0.3) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(67, 56, 202, 0.4) 0px, transparent 50%);
}

.dark-section-gradient {
  background: linear-gradient(180deg, #0F172A 0%, #061630 100%);
}

/* 玻璃拟态效果 */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* 徽章与标签 */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9999px;
}

/* 数字序号圆圈 */
.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: #4338CA;
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* 脉冲状态灯 */
.status-pulse {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10B981;
}

.status-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background-color: #10B981;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* 按钮微动效 */
.btn-primary {
  background: linear-gradient(135deg, #4F46E5 0%, #0284C7 100%);
  color: #FFFFFF;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
}

.btn-white {
  background: #FFFFFF;
  color: #061630;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* 卡片悬停提升 */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* 套餐卡片推荐高亮边框 */
.popular-card {
  position: relative;
  border: 2px solid #6366F1;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.18);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #4F46E5, #0EA5E9);
  color: white;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* 折叠手风琴动效 */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 600px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Toast 提示条 */
#toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#toast-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 移动端菜单抽屉 */
#mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* 锚点偏移量，防止吸顶导航遮挡标题 */
section[id] {
  scroll-margin-top: 5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
  #toast-notification {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    text-align: center;
    justify-content: center;
  }
}
