/* ============================================
   好吧科技 2026 模板样式 - 静态版
   设计：数智赋能 · 创见未来
   ============================================ */

/* === 1. CSS Variables === */
:root {
  --color-primary: #0B5FFF;
  --color-primary-light: #1E90FF;
  --color-primary-dark: #0950D0;
  --color-primary-rgb: 11, 95, 255;
  --color-gradient: linear-gradient(135deg, #0B5FFF, #00D4FF);
  --color-gradient-2: linear-gradient(135deg, #0B5FFF 0%, #1E90FF 50%, #00E5FF 100%);
  --color-bg-dark: #0A1628;
  --color-bg-dark-2: #0F1D35;
  --color-bg-gray: #F3F4F6;
  --color-bg-light: #F8FAFF;
  --color-text: #1F2937;
  --color-text-secondary: #4B5563;
  --color-text-light: #6B7280;
  --color-text-white: #FFFFFF;
  --color-border: #E5E7EB;
  --color-accent: #00E5FF;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(11,95,255,0.08);
  --shadow-lg: 0 10px 40px rgba(11,95,255,0.12);
  --shadow-xl: 0 20px 60px rgba(11,95,255,0.15);
  --shadow-glow: 0 0 20px rgba(11,95,255,0.3);
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --font-family: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans", "Inter", sans-serif;
  --max-width: 1280px;
  --header-height: 70px;
}

/* === 2. Base & Reset === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-text); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* === 3. Layout === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
.section:nth-child(even) {
  background: var(--color-bg-gray);
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
}
.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}
.section-desc {
  font-size: 16px;
  color: var(--color-text-light);
  margin: 0;
}
.section-more {
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
}
.section-more i { font-size: 12px; margin-left: 4px; }
.section-more:hover { color: var(--color-primary-dark); }

/* === 4. Topbar === */
.topbar {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  height: 36px;
  line-height: 36px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.topbar-left i { color: var(--color-accent); margin-right: 6px; }
.topbar-right { display: flex; align-items: center; }
.topbar-link { color: rgba(255,255,255,0.8); padding: 0 8px; }
.topbar-link:hover { color: var(--color-accent); }
.topbar-divider { color: rgba(255,255,255,0.2); margin: 0 2px; }

/* === 5. Header / Nav === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}
.header-logo { margin-right: 40px; flex-shrink: 0; }
.header-logo img { height: 42px; max-height: 42px; }
.header-nav { flex: 1; display: flex; justify-content: center; }
.header-nav-list { display: flex; align-items: center; gap: 4px; }
.header-nav-list > li { position: relative; }
.header-nav-list > li > a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  height: 70px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  white-space: nowrap;
}
.header-nav-list > li > a i {
  font-size: 10px;
  margin-left: 4px;
  color: var(--color-text-light);
  transition: var(--transition);
}
.header-nav-list > li > a:hover { color: var(--color-primary); }
.header-nav-list > li > a:hover i { color: var(--color-primary); transform: rotate(180deg); }
.header-nav-list > li.active > a { color: var(--color-primary); }
.header-nav-list > li.active > a i { color: var(--color-primary); }
.header-nav-list > li.active > a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--color-gradient);
  border-radius: 2px 2px 0 0;
}
.header-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 160px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  border: 1px solid var(--color-border);
}
.header-dropdown-inner { display: flex; flex-direction: column; }
.header-dropdown-inner a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}
.header-dropdown-inner a:hover {
  color: var(--color-primary);
  background: var(--color-bg-light);
  padding-left: 24px;
}
.header-nav-list > li:hover .header-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.header-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-tel i {
  font-size: 28px;
  color: var(--color-primary);
}
.header-tel-text { display: flex; flex-direction: column; }
.header-tel-text span { font-size: 12px; color: var(--color-text-light); }
.header-tel-text strong {
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}
.header-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.header-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* === 6. Hero Banner === */
.hero-banner {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--color-bg-dark);
}
.hero-banner-carousel {
  position: relative;
  height: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(15,29,53,0.6) 50%, rgba(10,22,40,0.7) 100%);
  z-index: 1;
}
.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.hero-slide-subtitle {
  display: inline-block;
  font-size: 14px;
  color: var(--color-accent);
  background: rgba(0,229,255,0.15);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: 500;
  border: 1px solid rgba(0,229,255,0.3);
}
.hero-slide-title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 600px;
}
.hero-slide-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
  max-width: 500px;
  line-height: 1.8;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--color-gradient);
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.hero-btn i { margin-left: 8px; font-size: 14px; transition: var(--transition); }
.hero-btn:hover {
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.hero-btn:hover i { transform: translateX(4px); }
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dots span {
  width: 30px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots span.active {
  background: var(--color-accent);
  width: 40px;
}

/* === 7. Quick Entry === */
.section-quick {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.quick-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.quick-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gradient);
  opacity: 0;
  transition: var(--transition);
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.quick-card:hover:before {
  opacity: 1;
}
.quick-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 30px;
  color: #fff;
}
.quick-icon-1 { background: linear-gradient(135deg, #0B5FFF, #1E90FF); }
.quick-icon-2 { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.quick-icon-3 { background: linear-gradient(135deg, #059669, #34D399); }
.quick-icon-4 { background: linear-gradient(135deg, #D97706, #FBBF24); }
.quick-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}
.quick-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}
.quick-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-gray);
  margin-top: 14px;
  transition: var(--transition);
  font-size: 14px;
  color: var(--color-text-light);
}
.quick-card:hover .quick-arrow {
  background: var(--color-primary);
  color: #fff;
}

/* === 8. About Section === */
.section-about { background: var(--color-bg-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content { }
.about-content p {
  margin-bottom: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--color-gradient);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-top: 8px;
}
.btn-more i { margin-left: 6px; font-size: 12px; }
.btn-more:hover {
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  color: var(--color-text-light);
}

/* === 9. Services Section === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 18px;
  transition: var(--transition);
}
.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(5deg);
}
.service-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}
.service-card-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-card-list a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-gray);
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-text-secondary);
  transition: var(--transition);
}
.service-card-list a:before {
  content: '• ';
  color: var(--color-primary);
}
.service-card-list a:hover {
  color: var(--color-primary);
  background: var(--color-bg-light);
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
}
.service-card-link i { font-size: 12px; margin-left: 4px; }
.service-card-link:hover { color: var(--color-primary-dark); }

/* === 10. Cases Section === */
.section-cases { background: var(--color-bg-gray); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 48px;
}
.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.case-card:hover .case-card-image img {
  transform: scale(1.1);
}
.case-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11,95,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.case-card:hover .case-card-overlay {
  opacity: 1;
}
.case-card-view {
  color: #fff;
  padding: 8px 20px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  font-size: 14px;
  transition: var(--transition);
}
.case-card-view i { margin-left: 6px; }
.case-card-view:hover { color: #fff; background: rgba(255,255,255,0.15); }
.case-card-body {
  padding: 20px;
}
.case-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-card-body p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === 11. Clients Section === */
.section-clients { padding: 40px 0; background: #fff; }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}
.client-item {
  width: calc(16.666% - 20px);
  min-width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: #fff;
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 500;
}
.client-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}
.client-item img {
  max-width: 100%;
  max-height: 40px;
  filter: grayscale(1);
  opacity: 0.6;
  transition: var(--transition);
}
.client-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* === 12. News Section === */
.news-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-featured {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-featured-image {
  height: 200px;
  overflow: hidden;
  background: var(--color-bg-dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 40px;
}
.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.news-featured:hover .news-featured-image img {
  transform: scale(1.08);
}
.news-featured-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-bg-light);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
  align-self: flex-start;
  border: 1px solid rgba(11,95,255,0.15);
}
.news-featured-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.5;
}
.news-featured-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  flex: 1;
}
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  align-items: center;
}
.news-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.news-date {
  text-align: center;
  flex-shrink: 0;
  width: 50px;
}
.news-date em {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  font-style: normal;
}
.news-date span {
  font-size: 12px;
  color: var(--color-text-light);
}
.news-item a {
  flex: 1;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-item a:hover { color: var(--color-primary); }

/* === 13. Page Banner (Inner) === */
.page-banner {
  position: relative;
  height: 280px;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.page-banner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(11,95,255,0.5) 100%);
  z-index: 1;
}
.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.page-banner-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.page-banner-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.page-banner-bread {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.page-banner-bread a { color: rgba(255,255,255,0.6); }
.page-banner-bread a:hover { color: #fff; }
.page-banner-bread .bread-sep { margin: 0 8px; color: rgba(255,255,255,0.3); }

/* === 14. Content Layout (List/Show) === */
.container-main {
  display: flex;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
  align-items: flex-start;
}
.container-sidebar {
  width: 260px;
  flex-shrink: 0;
}
.container-content {
  flex: 1;
  min-width: 0;
}
.container-single {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

/* Sidebar */
.sidebar-box {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}
.sidebar-box-title {
  padding: 16px 20px;
  background: var(--color-bg-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.sidebar-box-title span {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-accent);
}
.sidebar-nav { display: flex; flex-direction: column; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--color-gradient);
  transform: translateX(-100%);
  transition: var(--transition);
}
.sidebar-nav a:hover {
  color: var(--color-primary);
  padding-left: 24px;
  background: var(--color-bg-light);
}
.sidebar-nav a:hover:before {
  transform: translateX(0);
}
.sidebar-nav a.active {
  color: var(--color-primary);
  font-weight: 600;
  background: var(--color-bg-light);
}
.sidebar-nav a.active:before {
  transform: translateX(0);
}
.sidebar-subnav { padding-left: 20px; }
.sidebar-subnav a {
  font-size: 13px;
  padding: 10px 20px;
}

/* Content Box */
.content-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  min-height: 400px;
}
.content-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 24px;
}
.content-box-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
}
.content-box-body { }

/* Article List */
.artlist {}
.artlist-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.artlist-item:first-child { padding-top: 0; }
.artlist-item:last-child { border-bottom: 0; padding-bottom: 0; }
.artlist-item-image {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 32px;
}
.artlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.artlist-item:hover .artlist-item-image img {
  transform: scale(1.08);
}
.artlist-item-body { flex: 1; }
.artlist-item-body .title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.artlist-item-body .title a { color: var(--color-text); }
.artlist-item-body .title a:hover { color: var(--color-primary); }
.artlist-item-body .desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 10px;
}
.artlist-item-body .desc p { margin: 0; }
.artlist-item-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.artlist-item-body .tags a {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-bg-gray);
  border-radius: 4px;
  font-size: 12px;
  color: var(--color-text-light);
}
.artlist-item-body .tags a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}
.artlist-item-date {
  text-align: center;
  flex-shrink: 0;
  width: 60px;
  align-self: flex-start;
}
.artlist-item-date em {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  font-style: normal;
  line-height: 1.1;
}
.artlist-item-date span {
  font-size: 12px;
  color: var(--color-text-light);
}

/* Article Show */
.artshow h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}
.artshow .info {
  font-size: 13px;
  color: var(--color-text-light);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.artshow .info i { margin-right: 4px; }
.artshow .content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-secondary);
}
.artshow .content p { margin-bottom: 20px; }
.artshow .content img { max-width: 100%; border-radius: var(--radius-md); margin: 16px 0; }
.artshow .content a { color: var(--color-primary); }
.artshow .content a:hover { color: var(--color-primary-dark); }
.artshow .tags {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.artshow .tags i { color: var(--color-text-light); margin-right: 6px; }
.artshow .tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-gray);
  border-radius: 4px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-right: 6px;
  margin-bottom: 4px;
}
.artshow .tags a:hover { color: var(--color-primary); }

/* === 15. Footer === */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-gradient);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}
.footer-col-about p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col-contact { grid-column: span 1; }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-contact i {
  width: 16px;
  color: var(--color-accent);
  margin-top: 3px;
}
.footer-qrcode { margin-top: 16px; }
.footer-qrcode img {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 40px;
}
.footer-qrcode p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}
.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--color-accent); }

/* === 16. Sidebar Fixed === */
.sidebar-fixed {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}
.sidebar-fixed ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-fixed ul li { position: relative; }
.sidebar-fixed ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  justify-content: center;
  color: var(--color-text-light);
  transition: var(--transition);
  overflow: hidden;
  white-space: nowrap;
}
.sidebar-fixed ul li:last-child a { border-bottom: 0; }
.sidebar-fixed ul li a i { font-size: 22px; flex-shrink: 0; }
.sidebar-fixed ul li a div {
  font-size: 13px;
  opacity: 0;
  max-width: 0;
  transition: var(--transition);
  overflow: hidden;
}
.sidebar-fixed ul li:hover a {
  width: auto;
  padding: 0 16px;
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  border-radius: 22px;
}
.sidebar-fixed ul li:hover a div {
  opacity: 1;
  max-width: 80px;
  margin-left: 4px;
}
.sidebar-wechat { position: relative; }
.sidebar-wechat-popover {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  width: 144px;
  text-align: center;
}
.sidebar-wechat:hover .sidebar-wechat-popover {
  opacity: 1;
  visibility: visible;
}
.sidebar-wechat-popover img {
  width: 120px;
  height: 120px;
  display: block;
  background: var(--color-bg-gray);
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin: 0 auto;
}
.sidebar-wechat-popover p {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 6px;
}

/* === 17. Pagination === */
.ui-page { text-align: center; margin-top: 30px; }
.ui-page ul { display: inline-flex; gap: 4px; }
.ui-page ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-secondary);
  background: #fff;
  transition: var(--transition);
}
.ui-page ul li a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.ui-page ul li.active a {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* === 18. Page Content Styles === */
.page-content { line-height: 1.9; color: var(--color-text-secondary); }
.page-content p { margin-bottom: 16px; }
.page-content h2 { font-size: 22px; margin: 30px 0 16px; color: var(--color-text); }
.page-content h3 { font-size: 18px; margin: 24px 0 12px; color: var(--color-text); }
.page-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content ul li { list-style: disc; margin-bottom: 8px; }
.page-content img { max-width: 100%; border-radius: var(--radius-md); margin: 16px 0; }

/* === 19. Service Detail Page === */
.service-detail-header {
  background: var(--color-bg-light);
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}
.service-detail-header .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.service-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
}
.service-detail-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-detail-header .desc {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.service-detail-header .intro {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.9;
}
.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 64px;
}
.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.sub-service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.sub-service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.sub-service-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}
.sub-service-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === 20. Contact Page === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 4px;
  font-weight: 400;
}
.contact-info-item p {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}
.contact-form { }
.contact-form .form-group {
  margin-bottom: 16px;
}
.contact-form .form-group label {
  display: block;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-family);
  transition: var(--transition);
  color: var(--color-text);
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11,95,255,0.1);
}
.contact-form .form-group textarea {
  height: 120px;
  resize: vertical;
}
.btn-submit {
  padding: 14px 36px;
  background: var(--color-gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* === 21. Join Us === */
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.join-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.join-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}
.join-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}
.join-card .meta {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
}
.join-card .meta i { margin-right: 4px; }
.join-card .desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.join-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.join-card .tags span {
  padding: 3px 10px;
  background: var(--color-bg-gray);
  border-radius: 4px;
  font-size: 12px;
  color: var(--color-text-light);
}

/* === 22. Animations === */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.animate-fade-in { animation: fadeIn 0.6s ease both; }
.animate-slide-up { animation: slideUp 0.6s ease both; }

/* === 23. Responsive === */
@media (max-width: 1200px) {
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
  .sub-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .header-nav { display: none; }
  .header-tel { display: none; }
  .header-mobile-toggle { display: flex; }
  .hero-slide-title { font-size: 32px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .news-flex { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .container-main { flex-direction: column; }
  .container-sidebar { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-header .container { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .hero-banner { height: 400px; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .hero-slide-title { font-size: 24px; }
  .hero-slide-desc { font-size: 14px; }
  .hero-banner { height: 350px; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .quick-card { padding: 20px 16px; }
  .section { padding: 50px 0; }
  .section-header { margin-bottom: 30px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cases-grid { grid-template-columns: 1fr; }
  .artlist-item { flex-direction: column; }
  .artlist-item-image { width: 100%; height: 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .sub-services-grid { grid-template-columns: 1fr; }
  .sidebar-fixed { right: 10px; }
  .sidebar-fixed ul li a { width: 36px; height: 36px; }
  .sidebar-fixed ul li a i { font-size: 18px; }
  .page-banner { height: 200px; }
  .page-banner-title { font-size: 26px; }
  .section-title { font-size: 22px; }
  .container-main { padding: 20px 16px; }
  .content-box { padding: 20px; }
}
