/* ============================================
   Liquid Glass Design System — 玻璃质感样式
   ============================================ */

/* --- 自定义属性 --- */
:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  --glass-highlight: rgba(255, 255, 255, 0.2);
  --radius-lg: 1.25rem;
  --radius-md: 1rem;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  --gradient-cta: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

/* --- 玻璃卡片 --- */
.glass-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 顶部高光条 */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

/* 亮色背景玻璃卡片变体 */
.glass-card-light {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.glass-card-light:hover .article-card-image img {
  transform: scale(1.05);
}

.glass-card-light::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card-light:hover::before {
  opacity: 1;
}

/* 玻璃阴影工具类 */
.shadow-glass {
  box-shadow: var(--glass-shadow);
}

/* 案例详情页图片样式 */
.case-detail-body img {
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  margin-top: 0;
  margin-bottom: 2rem;
}

/* --- 玻璃分页 --- */
.glass-pagination .pagination {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.glass-pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #e5e7eb;
  color: var(--gray-700);
  transition: color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.glass-pagination .page-item .page-link:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.glass-pagination .page-item.active .page-link {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-weight: 600;
}
.glass-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  margin: 0;
  padding: 0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  display: inline-block;
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb-item a:hover {
  color: #fff;
}
.breadcrumb-item.active {
  color: #fff;
  font-weight: 500;
}
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  color: #9ca3af;
}
.breadcrumb-nav .breadcrumb-item a {
  color: #6b7280;
}
.breadcrumb-nav .breadcrumb-item a:hover {
  color: #3b82f6;
}
.breadcrumb-nav .breadcrumb-item.active {
  color: #111827;
}

/* --- 玻璃导航栏 --- */
.glass-nav {
  background: #0f0f23;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav.is-scrolled {
  background: rgba(15, 15, 35, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- 玻璃按钮 --- */
.glass-btn {
  background: var(--gradient-cta);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.glass-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4), 0 8px 24px rgba(59, 130, 246, 0.5);
}

/* --- 玻璃输入框 --- */
.glass-input {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #fff;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 0 16px rgba(59, 130, 246, 0.15);
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* --- 亮色背景输入框 --- */
.glass-input-light {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #1f2937;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-input-light:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.glass-input-light::placeholder {
  color: #9ca3af;
}

/* --- 亮色背景文本域 --- */
.glass-textarea-light {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #1f2937;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 8rem;
}

.glass-textarea-light:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.glass-textarea-light::placeholder {
  color: #9ca3af;
}

/* --- 亮色背景下拉框 --- */
.glass-select-light {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  color: #1f2937;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5rem;
  cursor: pointer;
}

.glass-select-light:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

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

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* --- 玻璃模糊工具类 --- */
.glass-blur {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bg-dark\/80 {
  background-color: rgba(26, 26, 46, 0.8);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.overflow-x-auto { overflow-x: auto; }
.p-8 { padding: 2rem; }
.bg-dark\/90 { background-color: rgba(26, 26, 46, 0.9); }
.text-gray-100 { color: #f3f4f6; }
.rounded-xl { border-radius: 0.75rem; }

/* --- 通用工具类 --- */
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.md\:p-12 { padding: 3rem; }
.border { border-width: 1px; border-style: solid; }
.border-gray-200 { border-color: #e5e7eb; }
.border-danger { border-color: #ef4444; }
.bg-danger\/5 { background-color: rgba(239, 68, 68, 0.05); }
.bg-primary { background-color: var(--color-primary); }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.font-medium { font-weight: 500; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.border-l-2 { border-left-width: 2px; }
.border-primary\/20 { border-color: rgba(37, 99, 235, 0.2); }
.pl-6 { padding-left: 1.5rem; }
.ring-4 { box-shadow: 0 0 0 4px; }
.ring-white\/20 { box-shadow-color: rgba(255, 255, 255, 0.2); }
.object-cover { object-fit: cover; }
.hover\:translate-x-1:hover { transform: translateX(0.25rem); }
.hover\:bg-primary-dark:hover { background-color: var(--color-primary-dark, #004eaa); }
.transition-transform { transition-property: transform; }
.transition-all { transition-property: all; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.p-6 { padding: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.rounded-lg { border-radius: 0.5rem; }
.transition-colors { transition-property: color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* --- Hero 渐变工具 --- */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-dark {
  --tw-gradient-from: #1a1a2e;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(26, 26, 46, 0));
}
.via-primary\/90 {
  --tw-gradient-via: rgba(0, 102, 204, 0.9);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to, rgba(0, 102, 204, 0));
}
.to-secondary {
  --tw-gradient-to: #00b4d8;
}

/* --- Hero 工具 --- */
.opacity-30 { opacity: 0.3; }
.opacity-90 { opacity: 0.9; }
.blur-3xl { filter: blur(40px); }
.tracking-tight { letter-spacing: -0.025em; }

@media (min-width: 768px) {
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.duration-300 { transition-duration: 300ms; }

/* --- 玻璃按钮轮廓 --- */
.glass-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
.glass-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.glass-btn-outline:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* --- 玻璃徽章 --- */
.glass-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #fff;
}

/* --- Site Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-nav {
  padding: 0 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.125rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.header-menu {
  display: none;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.header-menu-item {
  position: relative;
}

.header-menu-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.header-menu-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-menu-link.is-active {
  color: #fff;
}

.header-menu-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #3b82f6;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.header-menu-link:hover::after,
.header-menu-link.is-active::after {
  width: 60%;
}

.header-menu-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.header-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.header-menu-item:hover > .header-dropdown,
.header-menu-item:focus-within > .header-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header-menu-item:hover > .header-menu-link .bi-chevron-down {
  transform: rotate(180deg);
}

.header-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.header-dropdown-item:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #fff;
}

.header-dropdown-item.highlight {
  color: #3b82f6;
}

.header-dropdown-item.highlight:hover {
  color: #60a5fa;
}

.header-dropdown-icon {
  width: 32px;
  height: 32px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  flex-shrink: 0;
  font-size: 1rem;
}

.header-dropdown-title {
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.header-dropdown-desc {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.header-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.375rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-login-link {
  display: none;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s;
}

.header-login-link:hover {
  color: #fff;
}

.header-cta {
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  display: none;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.header-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-toggle.is-open .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-toggle.is-open .toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header-toggle.is-open .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Overlay --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* --- Mobile Drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: rgba(15, 15, 35, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.mobile-drawer-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.mobile-drawer-nav {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  text-decoration: none;
  min-height: 48px;
  transition: all 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.mobile-drawer-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mobile-drawer-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.mobile-drawer-accordion {
  justify-content: space-between;
}

.mobile-drawer-accordion .bi-chevron-down {
  transition: transform 0.2s;
}

.mobile-drawer-group {
  display: flex;
  flex-direction: column;
}

.mobile-drawer-sub {
  display: none;
  flex-direction: column;
  padding: 0.25rem 0 0.25rem 2.5rem;
  gap: 0.125rem;
}

.mobile-drawer-sub.is-open {
  display: flex;
}

.mobile-drawer-sub a {
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.15s;
}

.mobile-drawer-sub a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Header Responsive --- */
@media (min-width: 1024px) {
  .header-menu {
    display: flex;
  }

  .header-login-link {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-toggle {
    display: none;
  }

  .header-container {
    height: 68px;
  }

  .header-nav {
    padding: 0 2rem;
  }
}

/* --- 品牌渐变文字 --- */
.brand-gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 页脚增强 --- */
.footer-links a {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
  color: white;
  transform: translateY(-2px);
}

.footer-links a:focus-visible {
  outline: none;
  color: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* --- 响应式工具类扩展 --- */
@media (max-width: 639px) {
  .text-responsive-sm { font-size: 0.875rem; line-height: 1.5; }
  .text-responsive-base { font-size: 1rem; line-height: 1.6; }
  .text-responsive-lg { font-size: 1.125rem; line-height: 1.6; }
  .text-responsive-xl { font-size: 1.25rem; line-height: 1.5; }
  .text-responsive-2xl { font-size: 1.5rem; line-height: 1.4; }
  .text-responsive-3xl { font-size: 1.875rem; line-height: 1.3; }
  .text-responsive-4xl { font-size: 2.25rem; line-height: 1.2; }
  .text-responsive-5xl { font-size: 3rem; line-height: 1.1; }
  .text-responsive-6xl { font-size: 3.75rem; line-height: 1; }
  
  .p-responsive-4 { padding: 1rem; }
  .p-responsive-8 { padding: 2rem; }
  .p-responsive-12 { padding: 3rem; }
  .py-responsive-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .py-responsive-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .px-responsive-4 { padding-left: 1rem; padding-right: 1rem; }
  .px-responsive-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .px-responsive-8 { padding-left: 2rem; padding-right: 2rem; }
  .gap-responsive-4 { gap: 1rem; }
  .gap-responsive-6 { gap: 1.5rem; }
  .gap-responsive-8 { gap: 2rem; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .text-responsive-sm { font-size: 0.875rem; line-height: 1.5; }
  .text-responsive-base { font-size: 1rem; line-height: 1.6; }
  .text-responsive-lg { font-size: 1.125rem; line-height: 1.6; }
  .text-responsive-xl { font-size: 1.25rem; line-height: 1.5; }
  .text-responsive-2xl { font-size: 1.5rem; line-height: 1.4; }
  .text-responsive-3xl { font-size: 1.875rem; line-height: 1.3; }
  .text-responsive-4xl { font-size: 2.25rem; line-height: 1.2; }
  .text-responsive-5xl { font-size: 3rem; line-height: 1.1; }
  .text-responsive-6xl { font-size: 3.75rem; line-height: 1; }
  
  .p-responsive-4 { padding: 1rem; }
  .p-responsive-8 { padding: 2rem; }
  .p-responsive-12 { padding: 3rem; }
  .py-responsive-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .py-responsive-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .px-responsive-4 { padding-left: 1rem; padding-right: 1rem; }
  .px-responsive-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .px-responsive-8 { padding-left: 2rem; padding-right: 2rem; }
  .gap-responsive-4 { gap: 1rem; }
  .gap-responsive-6 { gap: 1.5rem; }
  .gap-responsive-8 { gap: 2rem; }
}

@media (min-width: 1024px) {
  .text-responsive-sm { font-size: 0.875rem; line-height: 1.5; }
  .text-responsive-base { font-size: 1rem; line-height: 1.6; }
  .text-responsive-lg { font-size: 1.125rem; line-height: 1.6; }
  .text-responsive-xl { font-size: 1.25rem; line-height: 1.5; }
  .text-responsive-2xl { font-size: 1.5rem; line-height: 1.4; }
  .text-responsive-3xl { font-size: 1.875rem; line-height: 1.3; }
  .text-responsive-4xl { font-size: 2.25rem; line-height: 1.2; }
  .text-responsive-5xl { font-size: 3rem; line-height: 1.1; }
  .text-responsive-6xl { font-size: 3.75rem; line-height: 1; }
  
  .p-responsive-4 { padding: 1rem; }
  .p-responsive-8 { padding: 2rem; }
  .p-responsive-12 { padding: 3rem; }
  .py-responsive-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .py-responsive-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .px-responsive-4 { padding-left: 1rem; padding-right: 1rem; }
  .px-responsive-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .px-responsive-8 { padding-left: 2rem; padding-right: 2rem; }
  .gap-responsive-4 { gap: 1rem; }
  .gap-responsive-6 { gap: 1.5rem; }
  .gap-responsive-8 { gap: 2rem; }
}

/* --- 图片/视频容器响应式 --- */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-auto { aspect-ratio: auto; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-fill { object-fit: fill; }
.object-center { object-position: center; }

/* --- 表格响应式 --- */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-responsive table {
  min-width: 600px;
}

/* 表格卡片化（移动端） */
@media (max-width: 768px) {
  .table-card thead { display: none; }
  .table-card tbody { display: block; }
  .table-card tr { 
    display: block; 
    background: white; 
    border: 1px solid #e5e7eb; 
    border-radius: 0.75rem; 
    margin-bottom: 1rem; 
    padding: 1rem; 
  }
  .table-card td { 
    display: flex; 
    justify-content: space-between; 
    padding: 0.5rem 0; 
    border-bottom: 1px solid #f3f4f6; 
  }
  .table-card td:last-child { border-bottom: none; }
  .table-card td::before { 
    content: attr(data-label); 
    font-weight: 600; 
    color: #374151; 
  }
}

/* ============================================
   About 页面工具类扩展
   ============================================ */

/* --- 布局 --- */
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

@media (min-width: 768px) {
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .md\:p-8 { padding: 2rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

/* --- 头像 --- */
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.rounded-full { border-radius: 9999px; }

/* --- 戒指 / 环形 --- */
.ring-4,
.ring-white\/20 {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* --- 边框 --- */
.border-l-2 { border-left: 2px solid; }
.border-primary\/20 { border-left-color: rgba(37, 99, 235, 0.2); }

/* --- 内边距 --- */
.pl-6 { padding-left: 1.5rem; }

/* --- 间距 --- */
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* --- 团队头像居中 --- */
.team-avatar.w-24 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-avatar.w-24 .bi {
    font-size: 3rem;
}

/* ============================================
   时间线 Portal 样式补全
   customer.css 未在 Portal 加载，需本地补全
   ============================================ */
.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #6c757d;
    border: 3px solid #fff;
}
.timeline-item.completed .timeline-marker {
    background: #22c55e;
}
.timeline-item.active .timeline-marker {
    background: var(--color-primary);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* --- 服务详情工具类 --- */
.items-start { align-items: flex-start; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.bg-primary\/10 { background-color: rgba(37, 99, 235, 0.1); }
.flex-shrink-0 { flex-shrink: 0; }
.mt-0\.5 { margin-top: 0.125rem; }

/* --- 内容正文统一样式（迁移自 service/show.html inline <style>）--- */
.content-body img { max-width: 100%; height: auto; border-radius: 0.5rem; }
.content-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.content-body th, .content-body td { border: 1px solid #e0e0e0; padding: 0.75rem; }
.content-body th { background: #f5f5f5; font-weight: 600; }
.content-body h2, .content-body h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.content-body p { margin: 0.75rem 0; line-height: 1.9; }
.prose pre, .content-body pre { background: rgba(26, 26, 46, 0.9); color: #f3f4f6; padding: 1rem; border-radius: 0.75rem; overflow-x: auto; }
.prose code, .content-body code { color: #e83e8c; background: #f8f9fa; padding: 0.125rem 0.375rem; border-radius: 0.25rem; font-size: 0.9em; }
.prose pre code, .content-body pre code { color: #f3f4f6; background: transparent; padding: 0; }
.content-body blockquote { border-left: 4px solid var(--primary); padding-left: 1rem; color: #555; font-style: italic; }

/* --- 404 页面样式 --- */
.not-found-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    min-height: 100vh;
}
.not-found-title {
    color: #0066cc;
    text-shadow: 0 2px 4px rgba(0, 102, 204, 0.1);
}
.not-found-desc {
    color: #6c757d;
    line-height: 1.8;
}
.not-found-badge {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

/* 404 SVG Animations */
.not-found-illustration svg {
    transition: width 0.3s ease, height 0.3s ease;
}
.digit-fill { fill: #0066cc; }
.digit-stroke { stroke: #0066cc; stroke-width: 2; fill: none; }
.digit-glow { fill: #0066cc; opacity: 0.3; }
.cloud-fill { fill: #7b8797; }
.cloud-stroke { stroke: #495867; stroke-width: 1.5; fill: #7b8797; }
.search-circle { fill: none; stroke: #0066cc; stroke-width: 3; stroke-dasharray: 100; animation: draw 2s ease-out forwards; }
.search-handle { stroke: #0066cc; stroke-width: 3; stroke-linecap: round; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.cloud-1 { animation: float 4s ease-in-out infinite; }
.cloud-2 { animation: float 4s ease-in-out 0.5s infinite; }

@media (max-width: 768px) {
    .not-found-illustration svg {
        width: 160px;
        height: 96px;
    }
    .not-found-title {
        font-size: 2.5rem;
    }
}

