/* Shared styles for the bjyl CMS theme. */
body {
  font-family: "Noto Sans SC", sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  overflow-x: hidden;
}

.nav-active {
  color: #0000ff !important;
  font-weight: 500;
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(30, 64, 175, 0.15);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px 0 rgba(30, 64, 175, 0.2);
}

.highlight-text {
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.02);
}

.data-pill {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  margin-right: 8px;
  margin-bottom: 8px;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.shadow-glow {
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #2563eb;
}

.timeline-line {
  width: 2px;
  background-color: #e5e7eb;
}

/* 移动端导航菜单样式 */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem;
  margin: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(30, 64, 175, 0.15);
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  z-index: 100;
}

.mobile-menu.active {
  transform: scaleY(1);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  background-color: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

/* 自定义按钮样式 */
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background-color: white;
  color: #2563eb;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #2563eb;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

/* 图标背景 */
.icon-bg {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.advantage-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.reason-card {
  transition: all 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.reason-icon {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .advantage-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .reason-icon {
    font-size: 1.5rem;
  }
}

.blob {
  position: absolute;
  background: linear-gradient(135deg, #3b82f6 0%, #7c6ee6 100%);
  filter: blur(60px);
  opacity: 0.3;
  border-radius: 50%;
  animation: blob-movement 15s infinite linear;
  z-index: -2;
}

@keyframes blob-movement {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(5%, -10%) scale(1.3);
  }

  66% {
    transform: translate(-15%, 5%) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.case-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image {
  transform: scale(1.05);
}

.image-container {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.result-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.result-item i {
  color: #2563eb;
  margin-right: 0.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  color: #2563eb;
  font-size: 20px;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background-color: #2563eb;
  color: white;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.faq-category {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  background-color: white;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.category-header {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: white;
  padding: 1.5rem 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-header:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.faq-items {
  padding: 0 2rem 1.5rem;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #2563eb;
}

.faq-answer {
  margin-top: 1rem;
  color: #64748b;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .faq-container {
    padding: 1rem;
  }

  .category-header {
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
  }

  .faq-items {
    padding: 0 1.5rem 1.25rem;
  }

  .faq-question {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .category-header {
    padding: 1rem;
    font-size: 1rem;
  }

  .faq-items {
    padding: 0 1rem 1rem;
  }

  .faq-question {
    font-size: 0.9375rem;
  }
}

.service-step {
  position: relative;
}

.service-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, #2563eb, #7c3aed);
  z-index: -1;
}

@media (min-width: 768px) {
  .service-step:not(:last-child)::after {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 80px;
    height: 2px;
  }
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.service-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}
