/* ========================================
   象迹影像 - 公共样式 (common.css)
   玻璃拟态 Glassmorphism · 粉色系
   ======================================== */

/* ---------- 基础 ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 30%, #F5D0FE 70%, #EDE9FE 100%);
  min-height: 100vh;
}

/* ---------- 玻璃拟态 ---------- */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-white {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

/* ---------- 按钮 ---------- */
.btn-gradient {
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: white;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
  display: inline-block;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ---------- 卡片悬停 ---------- */
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
}

/* ---------- 导航栏毛玻璃 ---------- */
.nav-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- 渐变文字 ---------- */
.gradient-text {
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Hero 背景 ---------- */
.hero-bg {
  background-image: url('/images/studio-cover.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236,72,153,0.55), rgba(139,92,246,0.4));
}

/* 通用页面 Hero（子页面） */
.page-hero {
  background: linear-gradient(135deg, rgba(236,72,153,0.85), rgba(139,92,246,0.75));
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
}

/* ---------- FAQ 玻璃卡片 ---------- */
.faq-glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.faq-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(236, 72, 153, 0.12);
}

/* ---------- 装饰元素 ---------- */
.pink-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, #EC4899, #FB7185);
  box-shadow: 0 0 12px rgba(236,72,153,0.4);
}

/* ---------- 统一 Section 间距 ---------- */
.section-spacing {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-spacing {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* ---------- 价格标签 ---------- */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.price-tag .currency {
  font-size: 0.875rem;
  font-weight: 600;
  color: #EC4899;
}
.price-tag .amount {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 推荐卡片高亮 ---------- */
.recommend-card {
  border: 2px solid rgba(236, 72, 153, 0.3);
  position: relative;
}
.recommend-card::after {
  content: '🔥 人气推荐';
  position: absolute;
  top: -12px;
  right: 16px;
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

/* ---------- 动画关键帧 ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ---------- 时间线 ---------- */
.timeline-line {
  position: absolute;
  left: 5px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #EC4899, #8B5CF6);
}
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, #EC4899, #FB7185);
  box-shadow: 0 0 12px rgba(236,72,153,0.5);
  flex-shrink: 0;
}

/* ---------- 预约步骤圆圈 ---------- */
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: white; font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(236,72,153,0.3);
}

/* ---------- 文章详情页 Hero 遮罩 ---------- */
.article-hero-overlay {
  background: linear-gradient(135deg, rgba(236,72,153,0.5), rgba(139,92,246,0.4));
}

/* ---------- 作品集卡片 ---------- */
.portfolio-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}
.portfolio-item:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.2);
}

/* ---------- 轮廓按钮 ---------- */
.btn-outline {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(236,72,153,0.3);
  color: #EC4899;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-outline:hover { background: rgba(236,72,153,0.1); transform: translateY(-2px); }

/* ---------- 响应式辅助 ---------- */
@media (max-width: 640px) {
  .glass, .glass-white, .glass-dark {
    border-radius: 16px;
  }
}
