/* ==========================================================================
   外刊私人书库 - 核心营销落地页样式系统 (Style CSS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800&family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
}

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  scroll-behavior: smooth;
}

/* Magazine Cover Card Hover Effects */
.cover-card {
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.18), 0 10px 15px -5px rgba(0, 0, 0, 0.08);
}

.cover-shadow {
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.22), 0 8px 12px -6px rgba(0, 0, 0, 0.12);
}

/* Quick Read Button on Cover Card Hover */
.cover-card .read-preview-btn {
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}

.cover-card:hover .read-preview-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse Badge Animation */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

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

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= Hero CTA Button Animation ================= */
.hero-cta-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 45%, #4338ca 100%);
  box-shadow: 0 4px 20px -2px rgba(79, 70, 229, 0.45);
  animation: cta-pulse-glow 3s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.08) 75%,
    transparent 100%
  );
  transform: skewX(-22deg);
  animation: cta-shimmer-sweep 3.2s infinite ease-in-out;
  pointer-events: none;
}

.hero-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px -2px rgba(79, 70, 229, 0.65), 0 0 0 4px rgba(99, 102, 241, 0.25);
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 45%, #3730a3 100%);
}

.hero-cta-btn:hover::before {
  animation: cta-shimmer-sweep 1.6s infinite linear;
}

.hero-cta-btn .cta-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
}

.hero-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

@keyframes cta-shimmer-sweep {
  0% {
    left: -150%;
  }
  30%, 100% {
    left: 200%;
  }
}

@keyframes cta-pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 18px -2px rgba(79, 70, 229, 0.4), 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 6px 28px 0 rgba(79, 70, 229, 0.65), 0 0 0 10px rgba(99, 102, 241, 0);
  }
}

