/* yangshiweb 深色主题 + myweb 布局 */
:root {
  --color-bg: #050505;
  --color-brand: #f97316;
  --color-brand-dark: #ea580c;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-border: rgba(255, 255, 255, 0.1);
}

html { scroll-behavior: smooth; }
body {
  background-color: var(--color-bg) !important;
  color: var(--color-text) !important;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
}

.hero-bg {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4) !important;
}

.nav-link-active {
  color: var(--color-brand) !important;
  border-bottom: 2px solid var(--color-brand);
  font-weight: 700;
}

.btn-brand {
  background-color: var(--color-brand);
  color: #fff;
}
.btn-brand:hover {
  background-color: var(--color-brand-dark);
}

.article-content img { max-width: 100%; height: auto; border-radius: 0.5rem; }
.article-content p { margin-bottom: 1rem; line-height: 1.75; color: rgba(255,255,255,0.85); }

#mobile-menu.open { display: block !important; }

/* 行业动态列表 */
.news-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s ease;
}
.news-filter-pill:hover {
  border-color: rgba(249, 115, 22, 0.5);
  color: #fff;
}
.news-filter-pill.is-active {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  font-weight: 600;
}

.news-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(249, 115, 22, 0.15);
  color: var(--color-brand);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.news-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(5, 5, 5, 0.95) 0%,
    rgba(5, 5, 5, 0.45) 45%,
    rgba(5, 5, 5, 0.1) 100%
  );
}

.news-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-pagination .pagination > li {
  display: inline-block;
}
.news-pagination .pagination > li > a,
.news-pagination .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.2s ease;
}
.news-pagination .pagination > li > a:hover {
  border-color: rgba(249, 115, 22, 0.5);
  color: var(--color-brand);
}
.news-pagination .pagination > .active > a,
.news-pagination .pagination > .active > span {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  font-weight: 600;
}
.news-pagination .pagination > .disabled > span {
  opacity: 0.35;
  cursor: not-allowed;
}

/* LLM 定制流程箭头 */
.llm-flow-arrow {
  opacity: 0.85;
  animation: llm-flow-pulse 2.2s ease-in-out infinite;
}
@keyframes llm-flow-pulse {
  0%, 100% {
    opacity: 0.45;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(6px);
  }
}
@media (max-width: 767px) {
  @keyframes llm-flow-pulse {
    0%, 100% {
      opacity: 0.45;
      transform: translateY(0);
    }
    50% {
      opacity: 1;
      transform: translateY(6px);
    }
  }
}

/* Animate.css 滚动入场，时长 0.5s */
.anim-scroll .animate__animated,
.anim-hero .animate__animated {
  --animate-duration: 0.5s;
}
.animate__animated.animate__faster {
  --animate-duration: 0.4s !important;
}

@media (prefers-reduced-motion: reduce) {
  .anim-scroll,
  .anim-hero [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #333; }
