:root {
  --site-bg: #0a0e27;
  --site-bg-secondary: #111638;
  --site-bg-card: #151a3d;
  --site-bg-card-hover: #1c2250;
  --site-primary: #3b82f6;
  --site-primary-light: #60a5fa;
  --site-accent: #06b6d4;
  --site-accent-light: #22d3ee;
  --site-neon-blue: #3b82f6;
  --site-neon-cyan: #06b6d4;
  --site-neon-purple: #8b5cf6;
  --site-text: #e2e8f0;
  --site-text-secondary: #94a3b8;
  --site-text-muted: #64748b;
  --site-border: rgba(59, 130, 246, 0.2);
  --site-border-light: rgba(148, 163, 184, 0.15);
  --site-glow-blue: 0 0 20px rgba(59, 130, 246, 0.4);
  --site-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.4);
  --site-glow-purple: 0 0 20px rgba(139, 92, 246, 0.4);
  --site-radius: 12px;
  --site-radius-lg: 20px;
  --site-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

.site-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--site-bg);
  color: var(--site-text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--site-transition); }
a:hover { color: var(--site-accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== Navigation ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(17, 22, 56, 0.9) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--site-border);
  transition: var(--site-transition);
}

.site-nav.scrolled {
  background: linear-gradient(180deg, rgba(10, 14, 39, 0.98) 0%, rgba(17, 22, 56, 0.95) 100%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(59, 130, 246, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.nav-brand .brand-icon {
  display: inline-flex;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.nav-brand .brand-img {
  height: 36px;
  width: auto;
  max-height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}

.nav-brand .brand-text {
  background: linear-gradient(135deg, #fff 0%, var(--site-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.nav-menu > li > .nav-link {
  display: block;
  padding: 10px 16px;
  color: var(--site-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  position: relative;
  transition: var(--site-transition);
}

.nav-menu > li > .nav-link:hover,
.nav-menu > li > .nav-link.active {
  color: #fff;
  background: rgba(59, 130, 246, 0.15);
}

.nav-menu > li > .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--site-primary), var(--site-accent));
  border-radius: 2px;
  box-shadow: var(--site-glow-blue);
}

/* 会员消息徽标 */
.nav-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  line-height: 18px;
  margin-left: 4px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  text-align: center;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.nav-menu .has-dropdown { position: relative; }
.nav-menu .has-dropdown .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--site-bg-card);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  padding: 8px;
  list-style: none;
  margin: 4px 0 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-menu .has-dropdown:hover .submenu { display: block; }

.nav-menu .has-dropdown .submenu a {
  display: block;
  padding: 8px 14px;
  color: var(--site-text-secondary);
  border-radius: 6px;
  font-size: 0.9rem;
}

.nav-menu .has-dropdown .submenu a:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #fff;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-search-btn {
  background: none;
  border: 1px solid var(--site-border-light);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--site-text-secondary);
  cursor: pointer;
  transition: var(--site-transition);
}
.nav-search-btn:hover {
  border-color: var(--site-primary);
  color: var(--site-primary);
  background: rgba(59, 130, 246, 0.08);
}

/* Nav Search Overlay */
.nav-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.nav-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 90%;
  max-width: 600px;
  background: var(--site-card-bg, #1e293b);
  border: 1px solid var(--site-border-light);
  border-radius: 50px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(-20px);
  transition: transform 0.3s;
}
.nav-search-overlay.active .nav-search-box {
  transform: translateY(0);
}
.nav-search-box > i.bi-search {
  color: var(--site-text-muted);
  font-size: 1.1rem;
}
.nav-search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--site-text-primary);
  font-size: 1rem;
  padding: 10px 0;
}
.nav-search-box input::placeholder {
  color: var(--site-text-muted);
}
.nav-search-go {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--site-transition);
}
.nav-search-go:hover { opacity: 0.9; }
.nav-search-close {
  background: none;
  border: none;
  color: var(--site-text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--site-transition);
}
.nav-search-close:hover {
  color: var(--site-text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.btn-consult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--site-primary) 0%, var(--site-accent) 100%);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  transition: var(--site-transition);
}

.btn-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.6);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--site-text);
  border-radius: 2px;
  transition: var(--site-transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, var(--site-bg) 0%, var(--site-bg-secondary) 50%, var(--site-bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow-1 {
  width: 400px; height: 400px;
  background: var(--site-primary);
  top: -100px; left: -100px;
  animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 350px; height: 350px;
  background: var(--site-accent);
  bottom: -80px; right: -80px;
  animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 30px;
  color: var(--site-primary-light);
  font-size: 0.85rem;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--site-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--site-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #fff 0%, var(--site-primary-light) 50%, var(--site-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--site-text-secondary);
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-tag {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--site-border);
  border-radius: 20px;
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  transition: var(--site-transition);
}

.hero-tag:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--site-primary);
  color: #fff;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--site-primary) 0%, var(--site-accent) 100%);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(59, 130, 246, 0.4);
  transition: var(--site-transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(59, 130, 246, 0.6);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--site-text);
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--site-border);
  cursor: pointer;
  transition: var(--site-transition);
}

.btn-outline:hover {
  border-color: var(--site-primary);
  color: var(--site-primary-light);
  box-shadow: var(--site-glow-blue);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--site-primary-light), var(--site-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: var(--site-text-secondary);
  margin-top: 4px;
}

/* ========== Section Common ========== */
.site-section {
  position: relative;
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  color: var(--site-primary-light);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--site-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ========== Services Section ========== */
.services { background: var(--site-bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 36px 28px;
  background: linear-gradient(145deg, var(--site-bg-card) 0%, rgba(21, 26, 61, 0.7) 100%);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  overflow: hidden;
  transition: var(--site-transition);
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--site-primary), var(--site-accent));
  opacity: 0;
  transition: var(--site-transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.15);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 1.75rem;
  color: var(--site-primary-light);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.service-card p {
  color: var(--site-text-secondary);
  line-height: 1.7;
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.service-features li {
  padding: 6px 0;
  color: var(--site-text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--site-accent);
  font-size: 0.85rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--site-primary-light);
  font-weight: 500;
  font-size: 0.9rem;
}

.service-link i { transition: transform 0.3s ease; }
.service-link:hover i { transform: translateX(4px); }

/* ========== Why Choose Us ========== */
.why-us {
  background: linear-gradient(180deg, var(--site-bg) 0%, var(--site-bg-secondary) 100%);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-item {
  text-align: center;
  padding: 32px 24px;
  background: rgba(21, 26, 61, 0.5);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius);
  transition: var(--site-transition);
  opacity: 0;
  transform: translateY(20px);
}

.why-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-item:hover {
  background: rgba(21, 26, 61, 0.8);
  border-color: rgba(59, 130, 246, 0.3);
}

.why-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-size: 2rem;
  color: #fff;
}

.why-item:nth-child(1) .why-icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 0 30px rgba(59, 130, 246, 0.4); }
.why-item:nth-child(2) .why-icon { background: linear-gradient(135deg, #06b6d4, #0891b2); box-shadow: 0 0 30px rgba(6, 182, 212, 0.4); }
.why-item:nth-child(3) .why-icon { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 0 30px rgba(139, 92, 246, 0.4); }
.why-item:nth-child(4) .why-icon { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 0 30px rgba(245, 158, 11, 0.4); }
.why-item:nth-child(5) .why-icon { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 0 30px rgba(16, 185, 129, 0.4); }
.why-item:nth-child(6) .why-icon { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 0 30px rgba(239, 68, 68, 0.4); }

.why-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.why-item p {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ========== Cases Section ========== */
.cases { background: var(--site-bg); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.case-card {
  position: relative;
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  overflow: hidden;
  transition: var(--site-transition);
  opacity: 0;
  transform: translateY(30px);
}

.case-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.case-cover {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.case-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 26, 61, 0.8) 100%);
}

.case-cover-1 { background: linear-gradient(135deg, #1e3a5f, #0f172a); }
.case-cover-2 { background: linear-gradient(135deg, #164e63, #083344); }
.case-cover-3 { background: linear-gradient(135deg, #312e81, #1e1b4b); }
.case-cover-4 { background: linear-gradient(135deg, #134e4a, #042f2e); }

.case-cover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.case-body { padding: 24px; }

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  color: var(--site-primary-light);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.case-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.case-body p {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  margin: 0 0 16px;
  line-height: 1.6;
}

.case-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--site-border-light);
  color: var(--site-text-muted);
  font-size: 0.85rem;
}

.case-meta span { display: flex; align-items: center; gap: 4px; }

/* ========== Process Section ========== */
.process { background: linear-gradient(180deg, var(--site-bg-secondary) 0%, var(--site-bg) 100%); }

.process-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 140px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
}

.step-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--site-bg-card);
  border: 2px solid var(--site-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--site-primary-light);
  transition: var(--site-transition);
  position: relative;
}

.process-step:hover .step-circle {
  border-color: var(--site-primary);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
  color: var(--site-accent);
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.process-step p {
  color: var(--site-text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

.process-arrow {
  display: flex;
  align-items: center;
  color: var(--site-text-muted);
  font-size: 1.5rem;
  margin-top: 30px;
  opacity: 0.5;
}

/* ========== Contact Section ========== */
.contact { background: var(--site-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}

.contact-info > p {
  color: var(--site-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius);
  margin-bottom: 16px;
  transition: var(--site-transition);
}

.contact-detail:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 12px;
  font-size: 1.3rem;
  color: var(--site-primary-light);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}

.contact-detail p {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.contact-form {
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  padding: 36px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 14, 39, 0.6);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius);
  color: var(--site-text);
  font-size: 0.95rem;
  transition: var(--site-transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--site-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: rgba(10, 14, 39, 0.9);
}

.form-control::placeholder { color: var(--site-text-muted); }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .btn-primary { width: 100%; justify-content: center; }

.form-success {
  display: none;
  padding: 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--site-radius);
  color: #10b981;
  margin-top: 16px;
  text-align: center;
}

/* ========== Footer ========== */
.site-footer {
  position: relative;
  background: var(--site-bg-secondary);
  padding-top: 80px;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--site-border-light);
  border-radius: 10px;
  color: var(--site-text-secondary);
  font-size: 1.1rem;
  transition: var(--site-transition);
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a,
.footer-contact ul li {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  transition: var(--site-transition);
}

.footer-col ul li a:hover { color: var(--site-accent); }

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact ul li i {
  color: var(--site-primary-light);
  width: 16px;
}

.footer-qrcode { text-align: center; }

.qrcode-wrap {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.qrcode-img {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 8px;
}

.qrcode-tip {
  margin: 8px 0 0;
  color: var(--site-text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--site-border-light);
  flex-wrap: wrap;
  gap: 16px;
}

.copyright p {
  color: var(--site-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.copyright .filing { margin-top: 4px; }

.copyright .filing a { color: var(--site-text-muted); }
.copyright .filing a:hover { color: var(--site-primary-light); }
.copyright .filing .sep { margin: 0 8px; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--site-text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--site-primary-light); }

.cooperation-process {
  padding: 40px 0;
  border-top: 1px solid var(--site-border-light);
  margin-top: 0;
}

.process-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 24px;
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.step-item {
  text-align: center;
  min-width: 120px;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--site-primary-light);
}

.step-label {
  color: var(--site-text-secondary);
  font-size: 0.85rem;
}

.step-arrow {
  color: var(--site-text-muted);
  font-size: 1.2rem;
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--site-transition);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}

/* ========== Animations ========== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-flow { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); margin: 8px 0; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--site-bg-secondary);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--site-border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-menu.active { transform: translateY(0); }

  .nav-menu > li > .nav-link { padding: 12px 16px; }

  .nav-menu .has-dropdown .submenu {
    position: static;
    display: none;
    padding: 8px 16px;
    box-shadow: none;
  }

  .nav-menu .has-dropdown.open .submenu { display: block; }

  .nav-toggle { display: flex; }
  .nav-actions .btn-consult span { display: none; }
  .btn-consult { padding: 10px; border-radius: 50%; }

  .hero { padding: 120px 20px 60px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 2rem; }
  .site-section { padding: 60px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); margin: 8px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
}

/* ========== Page Banner (Inner Pages) ========== */
.page-banner {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, var(--site-bg) 0%, var(--site-bg-secondary) 100%);
  overflow: hidden;
}

.page-banner .banner-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  pointer-events: none;
}

.page-banner .banner-glow-1 {
  width: 300px; height: 300px;
  background: var(--site-primary);
  top: -50px; left: 10%;
}

.page-banner .banner-glow-2 {
  width: 250px; height: 250px;
  background: var(--site-accent);
  bottom: -30px; right: 10%;
}

.page-banner .container { position: relative; z-index: 2; }

.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff 0%, var(--site-primary-light) 50%, var(--site-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-banner p {
  color: var(--site-text-secondary);
  font-size: 1.05rem;
  margin: 0;
}

.page-banner .news-detail-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  color: var(--site-text-muted);
  font-size: 0.9rem;
}

.page-banner .news-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--site-text-muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--site-text-secondary);
  transition: var(--site-transition);
}

.breadcrumb a:hover {
  color: var(--site-primary-light);
}

.breadcrumb .breadcrumb-sep {
  color: var(--site-text-muted);
}

.breadcrumb .breadcrumb-current {
  color: var(--site-primary-light);
}

/* ========== Case Tabs ========== */
.case-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.case-tab {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--site-border-light);
  border-radius: 30px;
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--site-transition);
}

.case-tab:hover {
  border-color: var(--site-primary);
  color: #fff;
}

.case-tab.active {
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

/* ========== Case Search Bar ========== */
.case-search-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.case-search-input-wrap {
  position: relative;
  flex: 1;
}

.case-search-input-wrap > i.bi-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--site-text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.case-search-input {
  width: 100%;
  padding: 10px 36px 10px 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--site-border-light);
  border-radius: 30px;
  color: var(--site-text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--site-transition);
}

.case-search-input::placeholder {
  color: var(--site-text-muted);
}

.case-search-input:focus {
  border-color: var(--site-primary);
  background: rgba(59, 130, 246, 0.08);
}

.case-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--site-text-muted);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: var(--site-transition);
}

.case-search-clear:hover {
  color: var(--site-danger);
}

.case-search-btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--site-transition);
}

.case-search-btn:hover {
  opacity: 0.9;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

@media (max-width: 576px) {
  .case-search-bar { flex-direction: column; }
}

/* ========== Services Inner ========== */
.services-inner { background: var(--site-bg); }

/* ========== Cases Inner ========== */
.cases-inner { background: var(--site-bg); }

.cases-grid a.case-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cases-grid a.case-card:hover {
  color: inherit;
}

/* ========== Solutions Inner ========== */
.solutions-inner { background: var(--site-bg); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.solution-card {
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  overflow: hidden;
  transition: var(--site-transition);
}

.solution-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.solution-cover {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.solution-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.6);
}

.solution-body { padding: 28px; }

.solution-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.solution-body p {
  color: var(--site-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  color: var(--site-primary-light);
  font-size: 0.8rem;
}

/* ========== Process Timeline ========== */
.process-section {
  background: linear-gradient(180deg, var(--site-bg-secondary) 0%, var(--site-bg) 100%);
}

.process-timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
}

.timeline-item {
  text-align: center;
  flex: 1;
  min-width: 160px;
  padding: 0 20px;
  position: relative;
}

.timeline-dot {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--site-bg-card);
  border: 2px solid var(--site-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--site-primary-light);
  transition: var(--site-transition);
}

.timeline-item:hover .timeline-dot {
  border-color: var(--site-primary);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
  color: var(--site-accent);
}

.timeline-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.timeline-content p {
  color: var(--site-text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

/* ========== CTA Section ========== */
.cta-section {
  background: var(--site-bg);
  padding: 60px 0 100px;
}

.cta-box {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--site-radius-lg);
}

.cta-box h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.cta-box p {
  color: var(--site-text-secondary);
  margin-bottom: 28px;
}

/* ========== Empty State ========== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--site-text-muted);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
  opacity: 0.5;
}

.empty-state p { margin: 0; }

/* ========== Case Detail ========== */
.case-detail { background: var(--site-bg); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.detail-main {
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  padding: 36px;
}

.detail-cover {
  height: 260px;
  border-radius: var(--site-radius);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.detail-info-card {
  display: flex;
  gap: 32px;
  padding: 20px 24px;
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-item > i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 10px;
  font-size: 1.1rem;
  color: var(--site-primary-light);
}

.info-label {
  display: block;
  font-size: 0.8rem;
  color: var(--site-text-muted);
}

.info-value {
  display: block;
  color: #fff;
  font-weight: 500;
}

.detail-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 16px;
}

.detail-content h2:first-child { margin-top: 0; }

.detail-content p {
  color: var(--site-text-secondary);
  line-height: 1.8;
  margin: 0 0 16px;
}

/* 案例详情富文本内容展示 */
.case-rich-content {
  color: var(--site-text-secondary);
  line-height: 1.9;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.case-rich-content :first-child { margin-top: 0; }
.case-rich-content :last-child { margin-bottom: 0; }
.case-rich-content h1,
.case-rich-content h2,
.case-rich-content h3,
.case-rich-content h4,
.case-rich-content h5,
.case-rich-content h6 {
  color: #fff;
  font-weight: 700;
  margin: 24px 0 12px;
  line-height: 1.3;
}
.case-rich-content h1 { font-size: 1.6rem; }
.case-rich-content h2 { font-size: 1.4rem; }
.case-rich-content h3 { font-size: 1.2rem; }
.case-rich-content h4 { font-size: 1.05rem; }
.case-rich-content h5,
.case-rich-content h6 { font-size: 0.95rem; }
.case-rich-content p { margin: 0 0 16px; }
.case-rich-content a {
  color: var(--site-primary-light);
  text-decoration: underline;
  transition: var(--site-transition);
}
.case-rich-content a:hover { color: var(--site-accent-light); }
.case-rich-content ul,
.case-rich-content ol {
  padding-left: 24px;
  margin: 0 0 16px;
}
.case-rich-content li { margin: 6px 0; }
.case-rich-content blockquote {
  margin: 16px 0;
  padding: 12px 20px;
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid var(--site-primary);
  border-radius: 0 var(--site-radius) var(--site-radius) 0;
  color: var(--site-text);
}
.case-rich-content blockquote p { margin: 0; }
.case-rich-content code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "SF Mono", "Consolas", "Monaco", monospace;
  font-size: 0.9em;
  color: var(--site-accent-light);
}
.case-rich-content pre {
  background: rgba(10, 14, 39, 0.6);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius);
  padding: 16px 20px;
  overflow-x: auto;
  margin: 16px 0;
}
.case-rich-content pre code {
  background: transparent;
  padding: 0;
  color: #e9ecef;
}
.case-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--site-radius);
  margin: 12px 0;
  display: block;
}
.case-rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: rgba(10, 14, 39, 0.4);
  border-radius: var(--site-radius);
  overflow: hidden;
}
.case-rich-content table th,
.case-rich-content table td {
  padding: 10px 14px;
  border: 1px solid var(--site-border-light);
  text-align: left;
}
.case-rich-content table th {
  background: rgba(59, 130, 246, 0.15);
  color: #fff;
  font-weight: 600;
}
.case-rich-content table td { color: var(--site-text-secondary); }
.case-rich-content hr {
  border: none;
  border-top: 1px solid var(--site-border-light);
  margin: 24px 0;
}
.case-rich-content video {
  max-width: 100%;
  border-radius: var(--site-radius);
  margin: 12px 0;
  display: block;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.detail-list li {
  padding: 10px 0;
  color: var(--site-text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-list li i {
  color: var(--site-accent);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.result-item {
  text-align: center;
  padding: 24px 16px;
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius);
}

.result-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--site-primary-light), var(--site-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-label {
  color: var(--site-text-secondary);
  font-size: 0.85rem;
  margin-top: 4px;
}

.detail-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ========== Detail Sidebar ========== */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-block {
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  padding: 24px;
}

.sidebar-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--site-border-light);
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li {
  margin-bottom: 10px;
}

.related-list li a {
  display: block;
  padding: 12px;
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius);
  transition: var(--site-transition);
}

.related-list li a:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.1);
}

.related-title {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.related-category {
  color: var(--site-text-muted);
  font-size: 0.8rem;
}

.sidebar-cta {
  text-align: center;
}

.sidebar-cta h3 {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-cta p {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ========== News Inner ========== */
.news-inner { background: var(--site-bg); }

.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  overflow: hidden;
  transition: var(--site-transition);
  text-decoration: none;
  color: inherit;
}

.news-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.news-cover {
  width: 200px;
  min-width: 200px;
  height: 150px;
  border-radius: var(--site-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.news-cover-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.4);
}

.news-body { flex: 1; }

.news-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 12px;
  color: var(--site-accent-light);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.4;
}

.news-body p {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  gap: 20px;
  color: var(--site-text-muted);
  font-size: 0.85rem;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== News Sidebar ========== */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.latest-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.latest-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--site-border-light);
}

.latest-list li:last-child { border-bottom: none; }

.latest-list li a {
  display: block;
}

.latest-title {
  display: block;
  color: var(--site-text);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 4px;
  transition: var(--site-transition);
}

.latest-list li a:hover .latest-title {
  color: var(--site-primary-light);
}

.latest-date {
  color: var(--site-text-muted);
  font-size: 0.8rem;
}

.sidebar-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.sidebar-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--site-border-light);
  border-radius: 10px;
  color: var(--site-text-secondary);
  font-size: 1.2rem;
  transition: var(--site-transition);
}

.sidebar-social a:hover {
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

/* ========== News Detail ========== */
.news-detail { background: var(--site-bg); }

.news-cover-large {
  height: 300px;
  border-radius: var(--site-radius-lg);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-content { margin-bottom: 32px; }

.news-summary {
  font-size: 1.05rem;
  color: var(--site-primary-light);
  line-height: 1.7;
  padding: 20px 24px;
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid var(--site-primary);
  border-radius: 0 var(--site-radius) var(--site-radius) 0;
  margin-bottom: 24px;
}

.news-body-text {
  color: var(--site-text);
  line-height: 1.9;
  font-size: 1rem;
}

.news-body-text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 16px;
}

.news-body-text h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 24px 0 12px;
}

.news-body-text p {
  margin: 0 0 16px;
}

.news-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--site-border-light);
}

.nav-prev, .nav-next {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius);
  transition: var(--site-transition);
  text-decoration: none;
  color: inherit;
}

.nav-prev:hover, .nav-next:hover {
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--site-primary-light);
}

.nav-prev i, .nav-next i {
  font-size: 1.2rem;
  color: var(--site-text-muted);
}

.nav-label {
  display: block;
  font-size: 0.8rem;
  color: var(--site-text-muted);
  margin-bottom: 4px;
}

.nav-title {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== About Page ========== */
.about-intro { background: var(--site-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
}

.about-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 24px 0 12px;
}

.about-text p {
  color: var(--site-text-secondary);
  line-height: 1.8;
  margin: 0 0 16px;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-img-card {
  width: 100%;
  max-width: 360px;
  height: 360px;
  background: linear-gradient(135deg, var(--site-primary) 0%, var(--site-accent) 100%);
  border-radius: var(--site-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-img-icon {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.3);
}

.about-img-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  filter: blur(40px);
}

.about-stats {
  background: var(--site-bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  transition: var(--site-transition);
}

.stat-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--site-primary-light);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--site-primary-light), var(--site-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

.about-team { background: var(--site-bg); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--site-bg-card);
  border: 1px solid var(--site-border-light);
  border-radius: var(--site-radius-lg);
  transition: var(--site-transition);
}

.team-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.team-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.team-card p {
  color: var(--site-text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* ========== Contact Page ========== */
.contact-page { background: var(--site-bg); }

.contact-page .contact-grid {
  grid-template-columns: 1fr 1.2fr;
}

.form-error {
  display: none;
  padding: 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--site-radius);
  color: #ef4444;
  margin-top: 12px;
  text-align: center;
}

/* ========== Spinner ========== */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

/* ========== Responsive (Inner Pages) ========== */
@media (max-width: 992px) {
  .detail-layout { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-page .contact-grid { grid-template-columns: 1fr; }
  .process-timeline { flex-direction: column; align-items: center; }
  .timeline-item { min-width: auto; }
  .news-item { flex-direction: column; }
  .news-cover { width: 100%; min-width: 100%; height: 180px; }
  .news-sidebar { position: static; }
  .about-img-card { max-width: 280px; height: 280px; }
}

@media (max-width: 768px) {
  .page-banner { padding: 100px 0 40px; }
  .detail-main { padding: 24px; }
  .detail-cover { height: 200px; }
  .detail-info-card { flex-direction: column; gap: 16px; }
  .cta-box { padding: 40px 24px; }
  .process-timeline { flex-direction: column; }
  .timeline-item { margin-bottom: 24px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .case-tabs { gap: 6px; }
  .case-tab { padding: 8px 16px; font-size: 0.85rem; }
}

html { scroll-behavior: smooth; }

.site-main { padding-top: 72px; }

/* ===== 在线客服浮窗 ===== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  z-index: 1080;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.chat-widget[data-position="right"] { right: 24px; }
.chat-widget[data-position="left"]  { left: 24px; }

.chat-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--chat-theme, #3b82f6), #06b6d4);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: chatFabIn .4s ease-out;
}
.chat-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.55), 0 6px 16px rgba(0, 0, 0, 0.2);
}
.chat-fab:active { transform: translateY(-1px) scale(.98); }
.chat-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
  border: 2px solid #fff;
  animation: chatBadgePop .35s ease-out;
}
.chat-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--chat-theme, #3b82f6);
  opacity: .35;
  animation: chatPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes chatFabIn {
  from { opacity: 0; transform: translateY(20px) scale(.6); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chatPulse {
  0%   { transform: scale(1);   opacity: .45; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes chatBadgePop {
  from { transform: scale(0); }
  60%  { transform: scale(1.25); }
  to   { transform: scale(1); }
}

.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 130px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22), 0 8px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: chatPanelIn .28s cubic-bezier(.34, 1.56, .64, 1);
  transform-origin: bottom right;
}
.chat-widget[data-position="left"] .chat-panel {
  right: auto;
  left: 0;
  transform-origin: bottom left;
}
@keyframes chatPanelIn {
  from { opacity: 0; transform: translateY(20px) scale(.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-panel-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--chat-theme, #3b82f6), #06b6d4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}
.chat-panel-header-info { display: flex; align-items: center; gap: 10px; }
.chat-panel-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.chat-panel-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chat-panel-title { font-size: 0.95rem; font-weight: 600; line-height: 1.2; }
.chat-panel-status { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; opacity: .9; margin-top: 2px; }
.chat-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fbbf24; display: inline-block;
}
.chat-status-dot.online { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, .9); }
.chat-status-dot.offline { background: #6b7280; }
.chat-status-dot.waiting { background: #f59e0b; animation: chatPulse 1.5s infinite; }
.chat-panel-close {
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.chat-panel-close:hover { background: rgba(255, 255, 255, 0.35); }

.chat-panel-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, .3) transparent;
}
.chat-panel-body::-webkit-scrollbar { width: 6px; }
.chat-panel-body::-webkit-scrollbar-track { background: transparent; }
.chat-panel-body::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, .3);
  border-radius: 3px;
}
.chat-panel-body::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, .5); }

.chat-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-align: center;
  gap: 8px;
}
.chat-empty-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #3b82f6;
}

.chat-msg {
  display: flex;
  margin-bottom: 12px;
  gap: 8px;
  animation: chatMsgIn .25s ease-out;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg-visitor { flex-direction: row; }
.chat-msg-admin, .chat-msg-system { flex-direction: row-reverse; }

.chat-msg-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}
.chat-msg-visitor .chat-msg-avatar { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.chat-msg-admin .chat-msg-avatar   { background: linear-gradient(135deg, #10b981, #059669); }
.chat-msg-system .chat-msg-avatar { background: linear-gradient(135deg, #f59e0b, #ef4444); }

.chat-msg-content { max-width: 76%; display: flex; flex-direction: column; }
.chat-msg-visitor .chat-msg-content { align-items: flex-start; }
.chat-msg-admin .chat-msg-content { align-items: flex-end; }
.chat-msg-system .chat-msg-content { align-items: center; max-width: 90%; }

.chat-msg-bubble {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
}
.chat-msg-visitor .chat-msg-bubble {
  background: #fff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-top-left-radius: 2px;
}
.chat-msg-admin .chat-msg-bubble {
  background: linear-gradient(135deg, var(--chat-theme, #3b82f6), #06b6d4);
  color: #fff;
  border-top-right-radius: 2px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, .25);
}
.chat-msg-system .chat-msg-bubble {
  background: rgba(245, 158, 11, .12);
  color: #92400e;
  border: 1px dashed #f59e0b;
  font-size: 0.78rem;
  text-align: center;
}
.chat-msg-meta {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 4px;
}

.chat-typing {
  display: flex; gap: 4px; padding: 8px 12px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  align-self: flex-start;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #94a3b8;
  animation: chatTyping 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-panel-input {
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}
.chat-input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.86rem;
  resize: none;
  min-height: 38px;
  max-height: 100px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  line-height: 1.4;
}
.chat-input:focus {
  border-color: var(--chat-theme, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}
.chat-send-btn {
  width: 38px; height: 38px;
  border: 0; border-radius: 10px;
  background: linear-gradient(135deg, var(--chat-theme, #3b82f6), #06b6d4);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.chat-send-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(59, 130, 246, .35); }
.chat-send-btn:disabled { opacity: .5; cursor: not-allowed; }

.chat-panel-footer {
  padding: 6px 14px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #94a3b8;
  flex: 0 0 auto;
}
.chat-powered i { color: #10b981; }
.chat-end-btn {
  background: transparent;
  border: 0;
  color: #ef4444;
  font-size: 0.7rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background .15s;
}
.chat-end-btn:hover { background: rgba(239, 68, 68, .1); }

/* 浮窗在浅色主题上的适配 */
[data-bs-theme="light"] .chat-panel-body,
.chat-panel-body { background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); }

/* 响应式:移动端 */
@media (max-width: 576px) {
  .chat-widget { bottom: 16px; }
  .chat-widget[data-position="right"] { right: 16px; }
  .chat-widget[data-position="left"] { left: 16px; }
  .chat-fab { width: 52px; height: 52px; font-size: 1.4rem; }
  .chat-panel {
    bottom: 70px;
    width: calc(100vw - 32px);
    height: calc(100vh - 130px);
    border-radius: 12px;
  }
}
