/* =============================================
   谨葵国际 - 共享样式表
   适用于所有 SEO 落地页、博客页
   ============================================= */

/* --- 基础 --- */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans SC', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- 滚动条 --- */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* --- 导航栏效果 --- */
.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.nav-transparent {
  background-color: transparent;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}
.nav-dark-bg {
  background-color: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(16px);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

/* --- 专线下拉菜单 --- */
.dropdown-parent { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 1rem;
  z-index: 100;
  min-width: 220px;
}
.dropdown-parent:hover .dropdown-menu {
  display: block;
}
.dropdown-panel {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s;
  border-bottom: 1px solid #f1f5f9;
}
.dropdown-panel a:last-child { border-bottom: none; }
.dropdown-panel a:hover {
  background-color: #eff6ff;
  color: #1d4ed8;
  padding-left: 1.5rem;
}
.dropdown-flag {
  font-size: 1.25rem;
  line-height: 1;
}

/* --- 文字阴影 --- */
.text-shadow-lg { text-shadow: 0 4px 12px rgba(0,0,0,0.6); }
.text-shadow-sm { text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* --- 面包屑 --- */
.breadcrumb {
  font-size: 0.875rem;
  color: #94a3b8;
}
.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb-sep { margin: 0 0.5rem; color: #cbd5e1; }

/* --- 时效卡片 --- */
.timeline-card {
  position: relative;
  padding-left: 2rem;
}
.timeline-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, #3b82f6, #2563eb);
  border-radius: 2px;
}

/* --- CTA 浮动底栏 --- */
.cta-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cta-float.visible {
  transform: translateY(0);
}

/* --- 博客文章卡片 --- */
.blog-card {
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* --- 分类标签 --- */
.category-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.2s;
}
.category-tag.active,
.category-tag:hover {
  color: white;
}

/* --- 动画 --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
