/* ---
  合肥弱电施工队解决方案官网 - 未来主义风格
  PRD-Based Stylesheet v1.0
--- */

/* --- CSS变量定义 --- */
:root {
  --primary-color: #050816;
  --accent-color: #4d9eff;
  --text-light: #c0c8e7;
  --text-white: #ffffff;
  --border-color: #2a3a6a;
  --card-bg: rgba(15, 22, 48, 0.5);
}

/* --- 全局重置与基础设定 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* 允许垂直滚动，防止水平滚动 */
  font-family: 'Helvetica Neue', 'Microsoft YaHei', 'Arial', sans-serif;
}

body {
  background-color: #050816; /* 深邃的科技蓝/黑 */
  color: #c0c8e7; /* 柔和的科技蓝白色 */
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: #4d9eff; /* 数据光效蓝 */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(77, 158, 255, 0.8);
}

/* --- 页面主结构 --- */
main {
  /* 使用Grid布局，hero-section大幅减少高度 */
  display: grid;
  grid-template-rows: 50vh auto;
}

/* --- 主容器 --- */
.main-container {
  position: relative;
  width: 100%;
  z-index: 1;
}

/* --- 3D背景画布 --- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* --- 导航菜单 (控制台风格) --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 27, 42, 0.95);
  /* 去除全局模糊效果 */
  backdrop-filter: none;
  border-bottom: 1px solid rgba(52, 152, 219, 0.3);
  z-index: 1000;
  padding: 0 20px;
  height: 70px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 50px;
}

.main-nav-old {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.7) 0%, rgba(5, 8, 22, 0) 100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  padding: 0 50px;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu li {
  margin-left: 0;
  position: relative;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(192, 200, 231, 0.9);
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4d9eff, #6babff);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.nav-menu a:hover, .nav-menu a.active {
  color: #ffffff;
  background: rgba(77, 158, 255, 0.08);
  text-shadow: 0 0 8px rgba(77, 158, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(77, 158, 255, 0.15);
}

.nav-menu a:hover::before, .nav-menu a.active::before {
  width: 80%;
}

/* --- 联系我们按钮样式 --- */
.contact-btn-item .contact-btn {
  background: linear-gradient(135deg, #4d9eff, #6babff);
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(77, 158, 255, 0.3);
}

.contact-btn-item .contact-btn:hover {
  background: linear-gradient(135deg, #6babff, #4d9eff);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 158, 255, 0.5);
  text-shadow: none;
  border-bottom: none;
}

/* --- 联系弹窗样式 --- */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-modal.active {
  display: flex;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80%;
  margin: auto;
  background: linear-gradient(145deg, #0f1419 0%, #1a2332 50%, #16213e 100%);
  border-radius: 24px;
  border: 1px solid rgba(77, 158, 255, 0.3);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(77, 158, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modal-body {
  display: flex;
  height: 100%;
  padding: 60px 40px 40px;
}

.contact-left {
  flex: 1;
  padding-right: 40px;
  color: #c0c8e7;
}

.contact-left h2 {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #4d9eff, #6babff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #8a9ac4;
}

.contact-left h3 {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
}

.contact-intro {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #c0c8e7;
}

.contact-methods h4 {
  color: #4d9eff;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1em;
}

.contact-info-item i {
  color: #4d9eff;
  margin-right: 12px;
  font-size: 1.2em;
  min-width: 20px;
}

.contact-right {
  flex: 1;
  padding-left: 40px;
  border-left: 1px solid rgba(77, 158, 255, 0.2);
}

.contact-right h3 {
  font-size: 1.8em;
  color: #4d9eff;
  margin-bottom: 30px;
  text-align: center;
}

.contact-form {
  max-width: 400px;
  margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(77, 158, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4d9eff;
  box-shadow: 
    0 0 0 3px rgba(77, 158, 255, 0.1),
    0 8px 25px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.captcha-input {
  width: 60% !important;
  display: inline-block;
  margin-right: 12px;
  vertical-align: middle;
  height: 52px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(77, 158, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  float: left;
}

.captcha-input:focus {
  outline: none;
  border-color: #4d9eff;
  box-shadow: 
    0 0 0 3px rgba(77, 158, 255, 0.1),
    0 8px 25px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05) !important;
  transform: translateY(-1px);
}

.captcha-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.form-group img {
  width: 35%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(77, 158, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  vertical-align: middle;
  object-fit: cover;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  float: right;
}

.form-group img:hover {
  transform: scale(1.02) translateY(-1px);
  box-shadow: 
    0 8px 25px rgba(77, 158, 255, 0.2),
    0 0 0 1px rgba(77, 158, 255, 0.3);
  border-color: rgba(77, 158, 255, 0.4);
}

/* 验证码区域清除浮动 */
.vercode-group::after {
  content: "";
  display: table;
  clear: both;
}

/* 成功提示弹窗 */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.success-modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.success-content {
  background: linear-gradient(145deg, #0f1419 0%, #1a2332 50%, #16213e 100%);
  border: 1px solid rgba(77, 158, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  animation: modalSlideIn 0.3s ease-out;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #4d9eff, #6babff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

.success-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.success-message {
  font-size: 16px;
  color: #8a9ac4;
  line-height: 1.6;
  margin-bottom: 30px;
}

.success-btn {
  background: linear-gradient(135deg, #4d9eff, #6babff);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(77, 158, 255, 0.4);
}

/* 错误提示弹窗 */
.error-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.error-modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.error-content {
  background: linear-gradient(145deg, #0f1419 0%, #1a2332 50%, #16213e 100%);
  border: 1px solid rgba(77, 158, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  animation: modalSlideIn 0.3s ease-out;
}

.error-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #4d9eff, #6babff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

.error-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.error-message {
  font-size: 16px;
  color: #8a9ac4;
  line-height: 1.6;
  margin-bottom: 30px;
}

.error-btn {
  background: linear-gradient(135deg, #4d9eff, #6babff);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.error-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(77, 158, 255, 0.4);
}

.submit-btn {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #4d9eff 0%, #6babff 50%, #4d9eff 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #6babff 0%, #4d9eff 50%, #6babff 100%);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    height: 90%;
  }
  
  .modal-body {
    flex-direction: column;
    padding: 40px 20px 20px;
  }
  
  .contact-left {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .contact-right {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(77, 158, 255, 0.2);
    padding-top: 30px;
  }
  
  .contact-left h2 {
    font-size: 2em;
  }
  
  .contact-left h3 {
    font-size: 1.5em;
  }
}

/* --- 二级导航下拉菜单 - 增强版 --- */
.nav-item {
    position: relative;
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg) translateY(-2px);
    opacity: 1;
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    transform: translateY(-8px);
    /* 宽度由JS根据父级导航文字动态设为相同宽度 */
    width: auto;
    list-style: none;
    background: rgba(13, 27, 42, 0.98);
    border: 1px solid rgba(77, 158, 255, 0.2);
    border-radius: 12px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* 去除模糊效果 */
    backdrop-filter: none;
    filter: none;
    z-index: -1;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(77, 158, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* 下拉菜单顶部装饰线 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(77, 158, 255, 0.8) 20%, 
        rgba(77, 158, 255, 1) 50%, 
        rgba(77, 158, 255, 0.8) 80%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 下拉菜单显示状态 */
.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
    transform: translateY(0);
}

.nav-item.has-dropdown:hover .dropdown-menu::before {
    opacity: 1;
}

/* 下拉菜单项容器 */
.dropdown-menu li {
    position: relative;
    margin: 2px 6px;
    border-radius: 8px;
    overflow: hidden;
}

/* 下拉菜单项分隔线 */
.dropdown-menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(77, 158, 255, 0.15), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu li:last-child::after {
    display: none;
}

/* 下拉菜单链接 */
.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.3px;
    border-bottom: none;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(192, 200, 231, 0.9);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

/* 左侧指示条 */
.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4d9eff, #6babff);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

/* 背景光效 */
.dropdown-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(77, 158, 255, 0.05) 0%, 
        rgba(77, 158, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

/* 悬停效果 */
.dropdown-menu li a:hover {
    background: rgba(77, 158, 255, 0.08);
    color: #4d9eff;
    border-bottom: none;
    transform: translateX(4px);
    box-shadow: 
        0 2px 8px rgba(77, 158, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dropdown-menu li a:hover::before {
    transform: scaleY(1);
}

.dropdown-menu li a:hover::after {
    opacity: 1;
}

.dropdown-menu li:hover::after {
    opacity: 1;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(13, 27, 42, 0.5);
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: 10px;
        padding: 0 0 0 20px;
    }
    
    .dropdown-menu li {
        margin: 0;
        border-radius: 0;
    }
    
    .dropdown-menu li a {
        padding: 8px 12px;
        border-radius: 0;
    }
    
    .dropdown-menu li a:hover {
        transform: none;
        background: rgba(77, 158, 255, 0.1);
    }
}

/* 导航动画增强 */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes menuItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 下拉菜单项动画 */
.dropdown-menu li {
    animation: menuItemSlideIn 0.3s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
    opacity: 0;
}

.nav-item.has-dropdown:hover .dropdown-menu li {
    opacity: 1;
}

/* 导航悬停时的微妙动画 */
.nav-menu li {
    transition: transform 0.2s ease;
}

.nav-menu li:hover {
    transform: translateY(-1px);
}

/* 下拉箭头动画增强 */
.dropdown-arrow {
    position: relative;
}

.dropdown-arrow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(circle, rgba(77, 158, 255, 0.2), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: scale(0.8);
}

.nav-item:hover .dropdown-arrow::after {
    opacity: 1;
    transform: scale(1);
}

/* --- 首页专属样式 --- */
.hero-section {
    height: 50vh; /* 大幅减少高度 */
    width: 100%;
    display: flex; /* 使用flex布局来居中所有内容 */
    flex-direction: column;
    justify-content: flex-start; /* 改为顶部对齐，减少中间空白 */
    align-items: center;
    text-align: center;
    position: relative; /* 为滚动图标定位 */
    padding-top: 60px; /* 大幅减少顶部间距 */
}

.main-title {
    font-size: 3.2rem; /* 再缩小一点 */
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 4px; /* 减少字母间距 */
    text-transform: uppercase;
    opacity: 0; /* 初始隐藏 */
    margin-bottom: 5px; /* 减少到5px，更紧凑 */
}

.subtitle {
    font-size: 1.3rem; /* 再缩小一点 */
    color: #c0c8e7;
    letter-spacing: 2px; /* 减少字母间距 */
    margin-top: 0; /* 减少副标题上方间距 */
    opacity: 0; /* 初始隐藏 */
}

.progress-container {
    width: 50%;
    max-width: 400px;
    margin-top: 40px;
    opacity: 1; /* 初始可见 */
    position: relative;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background-color: rgba(77, 158, 255, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    width: 0%; /* 初始为0, GSAP驱动 */
    height: 100%;
    background: linear-gradient(90deg, #4d9eff, #6babff);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(77, 158, 255, 0.8);
    position: relative;
    transition: width 0.1s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

.progress-text {
    color: #c0c8e7;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
    display: block;
    letter-spacing: 1px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 80px; /* 从50px增加到80px，让整个指示器往上移动 */
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9); /* 增加透明度，让图标更清晰 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* 增加图标之间的间距 */
    opacity: 0; /* 初始隐藏，由JavaScript控制显示 */
    transition: opacity 0.8s ease; /* 增加过渡时间 */
    z-index: 10; /* 确保在最上层 */
    pointer-events: none; /* 避免干扰点击事件 */
}

.scroll-down-indicator.scrolled {
    opacity: 0;
}

.scroll-down-indicator .bi-chevron-down {
    font-size: 2.5rem;
    animation: bounce 2s infinite; /* 添加弹跳动画 */
    filter: drop-shadow(0 0 10px rgba(77, 158, 255, 0.5)); /* 添加发光效果 */
}

.scroll-down-indicator .bi-mouse {
    font-size: 3rem;
    margin-top: 5px; /* 调整鼠标图标位置 */
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)); /* 添加轻微发光效果 */
}

/* 弹跳动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* --- 首页内容区 --- */
.page-content {
    background-color: #050816;
    padding: 80px 50px;
    position: relative;
    z-index: 5;
}

.featured-section {
    max-width: 1600px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    font-size: 2.5em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    padding: 0 20px;
}

/* 为标题添加科技感装饰 */
.section-header h2::before,
.section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4d9eff, transparent);
    transform: translateY(-50%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.section-header h2::before {
    left: -35px;
}

.section-header h2::after {
    right: -35px;
}

.featured-section:hover .section-header h2::before,
.featured-section:hover .section-header h2::after {
    opacity: 1;
    background: linear-gradient(90deg, transparent, #4d9eff, #6babff, #4d9eff, transparent);
    box-shadow: 0 0 20px rgba(77, 158, 255, 0.5);
}

.section-header p {
    font-size: 1.1em;
    color: #8a9ac4;
    max-width: 600px;
    margin: 0 auto 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    list-style: none;
    text-align: left;
}

.section-footer {
    margin-top: 40px;
}

.section-footer .cta-button {
    font-size: 1.1em;
    color: #fff;
    background-color: #4d9eff;
    padding: 12px 30px;
    border-radius: 5px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.section-footer .cta-button:hover {
    background-color: #6babff;
    box-shadow: 0 0 20px rgba(77, 158, 255, 0.7);
    text-shadow: none;
}

/* --- 方案服务样式 --- */
.services-section {
    margin-bottom: 100px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    text-align: center;
}

.service-card {
    background: linear-gradient(135deg, rgba(77, 158, 255, 0.1) 0%, rgba(15, 22, 48, 0.8) 100%);
    border: 1px solid rgba(77, 158, 255, 0.3);
    border-radius: 12px;
    padding: 40px 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4d9eff, transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(77, 158, 255, 0.25);
    border-color: #4d9eff;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #4d9eff, #6babff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(77, 158, 255, 0.4);
}

.service-icon i {
    font-size: 2.2em;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.service-subtitle {
    font-size: 0.9em;
    color: #4d9eff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}

.service-description {
    font-size: 1em;
    color: #c0c8e7;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2em;
    }
}

/* 复用解决方案卡片样式 */
.solution-card {
    background-color: rgba(15, 22, 48, 0.5);
    border: 1px solid #2a3a6a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: none;
    filter: none;
}
.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(77, 158, 255, 0.3);
}
.solution-card a { display: block; color: #c0c8e7; }
.solution-card a:hover { color: #fff; text-shadow: none; }
.solution-card .card-image { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid #2a3a6a; }
.solution-card .card-content { padding: 25px; }
.solution-card .card-title { font-size: 1.5em; color: #fff; margin-bottom: 10px; }
.solution-card .card-description { font-size: 1em; line-height: 1.5; }

/* --- 案例展示样式 --- */
.cases-section {
    margin-bottom: 100px;
}

/* 案例分类标签样式 */
.case-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-item {
    padding: 10px 20px;
    background: rgba(15, 22, 48, 0.5);
    border: 1px solid #2a3a6a;
    border-radius: 25px;
    color: #c0c8e7;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(77, 158, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover,
.category-item.active {
    background: rgba(77, 158, 255, 0.1);
    border-color: #4d9eff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(77, 158, 255, 0.2);
}

.category-item.active {
    background: linear-gradient(135deg, rgba(77, 158, 255, 0.15), rgba(77, 158, 255, 0.05));
    border-color: #4d9eff;
    color: #4d9eff;
    box-shadow: 0 4px 20px rgba(77, 158, 255, 0.3);
}

/* 案例内容区域 */
.cases-content {
    position: relative;
}

.case-category-content {
    animation: fadeInUp 0.5s ease-out;
}

/* 加载状态和错误状态 */
.loading, .error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* 空状态样式 */
.cases-empty-state,
.news-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(77, 158, 255, 0.05) 0%, rgba(160, 216, 255, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(77, 158, 255, 0.1);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.cases-empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4d9eff, transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.empty-icon {
    margin-bottom: 24px;
}

.empty-icon i {
    font-size: 64px;
    color: #4d9eff;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.empty-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #4d9eff, #a0d8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-actions {
    margin-top: 24px;
}

.loading {
    color: #4d9eff;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(77, 158, 255, 0.05) 0%, rgba(160, 216, 255, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(77, 158, 255, 0.1);
    margin: 20px 0;
}

.error {
    color: #ff6b6b;
    font-size: 16px;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 160, 160, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    margin: 20px 0;
}

.error-icon {
    margin-bottom: 20px;
}

.error-icon i {
    font-size: 48px;
    color: #ff6b6b;
    opacity: 0.8;
}

.error h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.error p {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.loading::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(77, 158, 255, 0.2);
    border-radius: 50%;
    border-top-color: #4d9eff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    list-style: none;
}

.case-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(77, 158, 255, 0.2);
}

.case-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.case-title {
    color: #ffffff;
    font-size: 1.3em;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.case-item:hover .case-overlay {
    background: linear-gradient(to top, rgba(77, 158, 255, 0.9) 0%, rgba(77, 158, 255, 0.6) 50%, transparent 100%);
}

@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .case-categories {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .category-item {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .case-image {
        height: 240px;
    }
    
    .case-title {
        font-size: 1.2em;
    }
}

/* --- 页脚样式 --- */
.main-footer {
    background-color: #02040d;
    color: #8a9ac4;
    padding: 60px 50px 20px;
    border-top: 1px solid #2a3a6a;
    position: relative;
    z-index: 5;
}

.footer-content-wrapper {
    max-width: 1600px;
    margin: 0 auto 30px;
    padding-top: 30px;
    /* border-top: 1px solid #2a3a6a; */
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left-content {
    display: flex;
    gap: 80px;
    flex: 1;
    margin-right: auto;
    padding-left: 0;
}

.footer-right-content {
    flex-shrink: 0;
    margin-left: 80px;
}

@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-left-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-right-content {
        margin-left: 0;
    }
}

.footer-section .footer-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-section.quick-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
}

.footer-section.quick-links ul li {
    margin: 0;
}

.footer-section.quick-links ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-section.quick-links ul li a:hover {
    background-color: rgba(77, 158, 255, 0.1);
    border-left-color: #4d9eff;
    transform: translateX(5px);
    padding-left: 15px;
}

@media (max-width: 768px) {
    .footer-section.quick-links ul {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

/* --- 联系信息样式 --- */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #4d9eff;
}

.contact-icon {
    font-size: 1.2em;
    color: #4d9eff;
    margin-right: 12px;
    min-width: 20px;
    text-align: center;
}

.contact-item span {
    line-height: 1.5;
}

/* --- 微信二维码样式 --- */
.footer-section.qr-code {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer-section.qr-code .footer-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.wechat-icon {
    font-size: 1.4em;
    color: #07c160;
    margin-right: 8px;
}

.qr-wrapper {
    text-align: center;
}

.qr-wrapper img {
    width: 120px;
    height: 120px;
    background-color: #fff;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-wrapper img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(77, 158, 255, 0.3);
}

.qr-text {
    margin-top: 10px;
    font-size: 0.85em;
    color: #8a9ac4;
    letter-spacing: 0.5px;
}

.footer-links {
    max-width: 1600px;
    margin: 0 auto 30px;
    padding-top: 30px;
    border-top: 1px solid #2a3a6a;
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links span {
    font-weight: bold;
    color: #fff;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.footer-links span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #4d9eff;
    margin-right: 8px;
    border-radius: 2px;
}

.footer-links a {
    margin-right: 25px;
    padding: 5px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    background-color: rgba(77, 158, 255, 0.1);
    transform: translateY(-2px);
}

.footer-links a::after {
    content: '|';
    position: absolute;
    right: -15px;
    color: #2a3a6a;
}

.footer-links a:last-child::after {
    display: none;
}

/* --- 合作伙伴样式 --- */
.partners-section {
    margin-bottom: 100px;
}

.partners-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.partner-item {
    background: rgba(15, 22, 48, 0.5);
    border: 1px solid #2a3a6a;
    border-radius: 10px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.partner-item .span_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.partner-item .span_img.before {
    opacity: 1;
    z-index: 2;
}

.partner-item .span_img.after {
    opacity: 0;
    z-index: 1;
}

.partner-item img {
    max-width: 70%;
    max-height: 70%;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(77, 158, 255, 0.2);
    background: rgba(15, 22, 48, 0.65);
}

.partner-item:hover .span_img.before {
    opacity: 0;
}

.partner-item:hover .span_img.after {
    opacity: 1;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 1200px) {
    .partners-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 992px) {
    .partners-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid #2a3a6a;
    text-align: center;
    font-size: 0.9em;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4d9eff, transparent);
}

.footer-bottom p {
    margin-bottom: 8px;
    color: #8a9ac4;
    transition: color 0.3s ease;
}

.footer-bottom p:first-child {
    color: #c0c8e7;
    font-weight: 500;
}

.footer-bottom a {
    color: #8a9ac4;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #4d9eff;
    text-shadow: none;
}

.footer-bottom .divider {
    margin: 0 12px;
    color: #2a3a6a;
    font-weight: bold;
}



/* 全屏加载器 - 彻底修复闪烁问题 */
.fullscreen-loader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  /* 彻底防止任何偏移和闪烁 */
  transform: none !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.loader-content {
  text-align: center;
  color: white;
  max-width: 500px;
  padding: 40px;
  position: relative;
  /* 确保内容绝对居中 */
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  /* 彻底防止任何偏移 */
  transform: none !important;
  left: 0 !important;
  top: 0 !important;
}

.loader-logo {
  margin-bottom: 30px;
  animation: logoPulse 2s ease-in-out infinite;
  position: relative;
}

.loader-logo i {
  font-size: 4rem;
  color: #4d9eff;
  text-shadow: 0 0 20px rgba(77, 158, 255, 0.6);
  position: relative;
  z-index: 2;
}

.loader-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(77, 158, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
  animation: logoGlow 3s ease-in-out infinite;
}

.loader-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 2px solid rgba(77, 158, 255, 0.3);
  border-radius: 50%;
  animation: logoRotate 4s linear infinite;
}

.loader-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #4d9eff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

.loader-subtitle {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 40px;
  animation: subtitleFade 2s ease-in-out infinite;
}

.progress-container {
  margin-bottom: 40px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4d9eff, #00d4ff);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

.progress-text {
  font-size: 0.9rem;
  color: #4d9eff;
  font-weight: 600;
  text-align: center;
}

.loading-dots {
  display: flex;
    justify-content: center;
  gap: 8px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: #4d9eff;
  border-radius: 50%;
  animation: dotsBounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0s;
}

/* 加载器动画 */
@keyframes loaderFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes logoGlow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes logoRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes titleGlow {
  from {
    filter: drop-shadow(0 0 10px rgba(77, 158, 255, 0.5));
  }
  to {
    filter: drop-shadow(0 0 20px rgba(77, 158, 255, 0.8));
  }
}

@keyframes subtitleFade {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes dotsBounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* 加载器隐藏动画 */
.fullscreen-loader.fade-out {
  animation: loaderFadeOut 0.8s ease-in-out forwards;
}

@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
    visibility: hidden;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .loader-content {
    padding: 20px;
  }
  
  .loader-logo i {
    font-size: 3rem;
  }
  
  .loader-title {
    font-size: 2rem;
  }
  
  .loader-subtitle {
    font-size: 1rem;
  }
}

/* 右侧悬浮侧边栏 */
.floating-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-item {
  position: relative;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(77, 158, 255, 0.1);
  border: 1px solid rgba(77, 158, 255, 0.3);
  border-radius: 50%;
  color: #4d9eff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.floating-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.floating-btn:hover::before {
  left: 100%;
}

.floating-btn:hover {
  background: rgba(77, 158, 255, 0.2);
  border-color: rgba(77, 158, 255, 0.5);
  transform: scale(1.1);
  color: #ffffff;
}

.floating-btn i {
  font-size: 1.2rem;
  z-index: 2;
  position: relative;
}

/* 不同按钮的颜色主题 */
.wechat-btn {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.wechat-btn:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}

.phone-btn {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.phone-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

.back-to-top-btn {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: #a855f7;
}

.back-to-top-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
}

/* 返回顶部按钮初始隐藏 */
.back-to-top {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* 微信弹窗样式 */
.wechat-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.wechat-modal.show {
  display: block;
}

.wechat-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

/* 微信悬浮提示样式 */
.wechat-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  width: 280px;
  padding: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(34, 197, 94, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.wechat-tooltip.show {
  opacity: 1;
  visibility: visible;
  right: 75px;
  pointer-events: auto;
}

.wechat-tooltip::before {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid rgba(34, 197, 94, 0.2);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.wechat-tooltip.show {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

.wechat-tooltip .tooltip-header {
  text-align: center;
  margin-bottom: 16px;
}

.wechat-tooltip .tooltip-header h4 {
  color: #22c55e;
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.wechat-tooltip .tooltip-header p {
  color: #b0b0b0;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
  margin: 0;
}

.wechat-tooltip .qr-code-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
}

.wechat-tooltip .qr-code-container img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.15);
  background: #ffffff;
  padding: 6px;
}

.wechat-tooltip .wechat-info {
  text-align: center;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 20px;
  margin-top: 12px;
}

.wechat-tooltip .wechat-label {
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 500;
}

.wechat-tooltip .wechat-id {
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 4px;
}





/* 响应式优化 */
@media (max-width: 480px) {
  .wechat-tooltip {
    width: 260px;
    right: 65px;
    padding: 16px;
  }
  
  .wechat-tooltip.show {
    right: 70px;
  }
  
  .wechat-tooltip .qr-code-container img {
    width: 100px;
    height: 100px;
  }
}

/* 确保弹窗内容不会溢出 */
.wechat-modal .modal-content {
  overflow: hidden;
}



.search-btn:hover {
  background: rgba(77, 158, 255, 0.2);
  border-color: rgba(77, 158, 255, 0.5);
    transform: scale(1.1);
}

.search-btn i {
  font-size: 1.1rem;
}

/* 搜索弹窗样式 */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.search-modal.show {
  display: block;
}

.search-modal.show .modal-content {
  animation: searchModalSlideIn 0.3s ease-out;
}

.search-modal.show .modal-overlay {
  animation: searchOverlayFadeIn 0.3s ease-out;
}

@keyframes searchModalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes searchOverlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 搜索弹窗响应式优化 */
@media (max-width: 768px) {
  .search-modal .modal-content {
    max-width: 90%;
    width: 95%;
    max-height: 85vh;
  }
  
  .search-header h2 {
    font-size: 1.8rem;
  }
  
  .search-header p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .search-modal .modal-content {
    max-width: 95%;
    width: 98%;
    max-height: 90vh;
    padding: 20px;
  }
  
  .search-header h2 {
    font-size: 1.5rem;
  }
  
  .search-header p {
    font-size: 0.9rem;
  }
  
  .search-input-group {
    flex-direction: column;
  }
  
  .search-input-group input,
  .search-input-group button {
    border-radius: 12px;
    margin-bottom: 10px;
  }
  
  .suggestion-tags {
    gap: 8px;
  }
  
  .suggestion-tag {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

.search-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.search-modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
  border: 1px solid rgba(77, 158, 255, 0.3);
  border-radius: 24px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(77, 158, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(77, 158, 255, 0.1);
}

.search-header h2 {
  font-size: 2rem;
  color: #4d9eff;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.search-header p {
  color: #b0b0b0;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  margin: 0;
}

.search-form {
  margin-bottom: 25px;
}

.search-input-group {
  display: flex;
  margin-bottom: 25px;
  align-items: center;
}

.search-input-group input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(77, 158, 255, 0.3);
  border-radius: 12px 0 0 12px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-input-group input:focus {
  border-color: #4d9eff;
  background: rgba(255, 255, 255, 0.08);
}

.search-input-group input::placeholder {
  color: #888;
}

.search-input-group button {
  padding: 16px 20px;
  background: linear-gradient(135deg, #4d9eff, #00d4ff);
  border: none;
  border-radius: 0 12px 12px 0;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-input-group button:hover {
  background: linear-gradient(135deg, #3d8eef, #00c4ef);
  transform: translateY(-2px);
}

.search-suggestions {
  margin-bottom: 0;
}

.suggestion-title {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
}

.suggestion-tag {
  padding: 8px 16px;
  background: rgba(77, 158, 255, 0.1);
  border: 1px solid rgba(77, 158, 255, 0.3);
  border-radius: 20px;
  color: #4d9eff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  min-width: fit-content;
}

.suggestion-tag:hover {
  background: rgba(77, 158, 255, 0.2);
  border-color: rgba(77, 158, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(77, 158, 255, 0.2);
}

.suggestion-tag:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(77, 158, 255, 0.15);
}

.search-results {
  border-top: 1px solid rgba(77, 158, 255, 0.2);
  padding-top: 20px;
  margin-top: 20px;
  animation: fadeInUp 0.4s ease-out;
}

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

/* 搜索加载动画 */
.search-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(77, 158, 255, 0.2);
  border-top: 3px solid #4d9eff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.search-result-item h4 {
  color: #4d9eff;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.search-result-item p {
  color: #b0b0b0;
  margin-bottom: 15px;
}

.result-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.result-links a {
  padding: 10px 18px;
  background: rgba(77, 158, 255, 0.1);
  border: 1px solid rgba(77, 158, 255, 0.3);
  border-radius: 20px;
  color: #4d9eff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.result-links a:hover {
  background: rgba(77, 158, 255, 0.2);
  border-color: rgba(77, 158, 255, 0.5);
  transform: translateY(-2px);
}

/* 页面内容初始状态 */
main {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

.page-loaded main {
  opacity: 1;
  transform: translateY(0);
}

/* 页面元素动画 */
.hero-section,
.featured-section,
.service-card,
.about-section,
.contact-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-loaded .hero-section,
.page-loaded .featured-section,
.page-loaded .service-card,
.page-loaded .about-section,
.page-loaded .contact-section {
  opacity: 1;
  transform: translateY(0);
}

/* 搜索页面样式 */
.search-section {
  padding: 60px 0;
  min-height: 60vh;
}

.search-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: 2.5rem;
  color: #4d9eff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.page-subtitle {
  color: #b0b0b0;
  font-size: 1.1rem;
}

.search-form-container {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.search-input-group {
  display: flex;
  max-width: 500px;
  width: 100%;
}

.search-input-group input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(77, 158, 255, 0.3);
  border-radius: 12px 0 0 12px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-input-group input:focus {
  border-color: #4d9eff;
  background: rgba(255, 255, 255, 0.08);
}

.search-input-group input::placeholder {
  color: #888;
}

.search-input-group button {
  padding: 16px 20px;
  background: linear-gradient(135deg, #4d9eff, #00d4ff);
  border: none;
  border-radius: 0 12px 12px 0;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-input-group button:hover {
  background: linear-gradient(135deg, #3d8eef, #00c4ef);
  transform: translateY(-2px);
}

.search-filters {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(77, 158, 255, 0.05);
  border: 1px solid rgba(77, 158, 255, 0.1);
  border-radius: 12px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filter-label {
  color: #4d9eff;
  font-weight: 500;
  white-space: nowrap;
}

.filter-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #b0b0b0;
  transition: color 0.3s ease;
}

.filter-checkbox:hover {
  color: #4d9eff;
}

.filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #4d9eff;
}

.search-content {
  min-height: 200px;
}

.loading {
  text-align: center;
  padding: 40px 20px;
  color: #b0b0b0;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(77, 158, 255, 0.2);
  border-top: 3px solid #4d9eff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.no-keyword {
  text-align: center;
  padding: 40px 20px;
  color: #b0b0b0;
  font-size: 1.1rem;
}

.results-header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(77, 158, 255, 0.2);
}

.results-header h3 {
  color: #4d9eff;
  font-size: 1.5rem;
  margin: 0;
}

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

.result-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(77, 158, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.result-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(77, 158, 255, 0.2);
  transform: translateY(-2px);
}

.result-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(77, 158, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d9eff;
  font-size: 1.2rem;
}

.result-content {
  flex: 1;
}

.result-title {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}

.result-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.result-title a:hover {
  color: #4d9eff;
}

.result-description {
  color: #b0b0b0;
  margin: 0 0 15px 0;
  line-height: 1.6;
}

.result-meta {
  display: flex;
  gap: 15px;
  align-items: center;
}

.result-type {
  padding: 4px 12px;
  background: rgba(77, 158, 255, 0.1);
  border: 1px solid rgba(77, 158, 255, 0.2);
  border-radius: 20px;
  color: #4d9eff;
  font-size: 0.85rem;
  font-weight: 500;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results-icon {
  font-size: 4rem;
  color: #b0b0b0;
  margin-bottom: 20px;
}

.no-results h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.no-results p {
  color: #b0b0b0;
  margin-bottom: 30px;
}

.suggestions {
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.suggestions h4 {
  color: #4d9eff;
  margin-bottom: 15px;
}

.suggestions ul {
  color: #b0b0b0;
  line-height: 1.6;
}

.suggestions li {
  margin-bottom: 8px;
}

.error {
  text-align: center;
  padding: 60px 20px;
}

.error-icon {
  font-size: 4rem;
  color: #ef4444;
  margin-bottom: 20px;
}

.error h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.error p {
  color: #b0b0b0;
}

/* 关键词高亮 */
mark {
  background: rgba(77, 158, 255, 0.2);
  color: #4d9eff;
  padding: 2px 4px;
  border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .search-section {
    padding: 40px 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .result-item {
    flex-direction: column;
    gap: 15px;
  }
  
  .result-icon {
    align-self: flex-start;
  }
}