/* 全局样式 */
:root {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --success-color: #10b981;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 使用系统默认字体栈 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  letter-spacing: 0.5px;
  scroll-behavior: smooth;
  /* 添加平滑滚动 */
}

/* 添加全局平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 响应式容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 响应式图片 */
img {
  max-width: 100%;
  height: auto;
}

/* 链接样式 */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
}

/* 标题样式 */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* 段落样式 */
p {
  margin-bottom: 1rem;
}

/* 响应式布局 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  h5 {
    font-size: 1.1rem;
  }

  h6 {
    font-size: 1rem;
  }
}

/* 导航栏样式 */
.navbar {
  background: linear-gradient(90deg, #1e293b 0%, #2563eb 100%);
  box-shadow: 0 2px 16px rgba(30, 41, 59, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.navbar .btn {
  color: white;
  border-radius: 0.25rem;
}

.nav-item::before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-item:hover::before {
  width: 100%;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-toggler {
  color: #fff !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #ffd700 !important;
}

/* 导航栏品牌文字样式 */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.company-name {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(120deg, #ff6b6b, #ff9f43);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.company-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* 粒子效果样式 */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* 基础粒子样式 - 优化版 */
.particle {
  position: absolute;
  pointer-events: none;
  opacity: 0.8;
  transform: translateZ(0);
  /* 启用硬件加速 */
  will-change: transform, opacity;
  /* 优化动画性能 */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: float infinite linear;
}

/* 粒子颜色变量 */
:root {
  --particle-main-color: rgba(255, 255, 255, 0.6);
  --particle-main-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
  --particle-small-color: rgba(255, 255, 255, 0.4);
  --particle-sparkle-color: rgba(255, 255, 255, 0.9);
  --particle-sparkle-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.9);
}

/* 主粒子 - 优化版 */
.particle-main {
  background: linear-gradient(45deg, #007bff, #00ff88);
  box-shadow: var(--particle-main-shadow);
  animation: float 8s ease-in-out infinite both;
  will-change: transform, opacity;
}

/* 小粒子 - 优化版 */
.particle-small {
  background: rgba(255, 255, 255, 0.3);
  animation: floatSmall 12s ease-in-out infinite both;
  will-change: transform;
}

/* 亮点粒子 - 优化版 */
.particle-sparkle {
  background: var(--particle-sparkle-color);
  box-shadow: 0 0 10px #fff;
  animation:
    sparkle 5s ease-in-out infinite both,
    float 10s ease-in-out infinite both;
  will-change: transform, opacity, box-shadow;
}

/* 优化后的关键帧动画 - 使用视口单位 */
@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(5vw, -5vh) rotate(90deg);
  }

  50% {
    transform: translate(10vw, 0) rotate(180deg);
  }

  75% {
    transform: translate(5vw, 5vh) rotate(270deg);
  }
}

@keyframes floatSmall {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(8vw, 8vh);
  }
}

@keyframes sparkle {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* 粒子动画效果 */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  pointer-events: none;
}

.particle-main {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle-small {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: floatReverse 8s ease-in-out infinite;
}

.particle-sparkle {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: sparkle 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -20px);
  }
}

@keyframes floatReverse {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-15px, 10px);
  }
}

@keyframes sparkle {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.8;
  }
}

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

/* Hero区域样式 */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark-color), #2c3e50);
  color: var(--light-color);
  overflow: hidden;
  min-height: 100vh;
}

/* Hero 区域粒子效果样式 */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-particles canvas {
  display: block;
}

/* 粒子加载动画 */
.hero-particles {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-particles.loaded {
  opacity: 1;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .hero-particles {
    opacity: 0.4;
  }

  .hero-particles.loaded {
    opacity: 0.4;
  }
}

/* 渐变文本效果 */
.text-gradient-orange-red {
  background: linear-gradient(45deg, #ff6b6b, #ff9f43);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Hero 图片容器 */
.hero-image {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* 社交图标样式 */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: var(--light-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* 返回顶部按钮 */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.scroll-to-top:hover {
  background: #0056b3;
  transform: translateY(-3px);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: all 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Hero 区域样式 */
.hero h1 {
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary {
  background: white;
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 50px;
}

.hero .btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  border-color: white;
  transform: translateY(-3px);
}

/* Hero 图片样式 */
.hero-image {
  position: relative;
  margin-bottom: 3rem;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 浮动卡片样式 */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float-card 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.card-1 {
  top: 10%;
  left: 0%;
  animation-delay: 0s;
}

.card-1 span {
  color: var(--primary-color);
}

.card-2 {
  top: 50%;
  right: 5%;
  animation-delay: 1s;
}

.card-2 span {
  color: var(--primary-color);
}

.card-3 {
  bottom: 35%;
  left: 10%;
  animation-delay: 2s;
}

.card-3 span {
  color: var(--primary-color);
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* 服务卡片样式 - 优化版 */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.service-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: var(--dark-color);
  transition: var(--transition);
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: transparent;
}

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

.service-card:hover h4,
.service-card:hover p,
.service-card:hover .service-list li {
  color: white;
}

.service-card .icon-box {
  width: 70px;
  height: 70px;
  background: var(--gray-100);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.service-list li {
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.service-list i {
  color: var(--success-color);
}

.service-card:hover .service-list i {
  color: rgba(255, 255, 255, 0.9);
}

/* 作品展示样式 */
.portfolio-img video {
  width: 100%;
  height: 240px;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  background: #000;
  display: block;
}

.portfolio-section {
  padding: 5rem 0;
  background: var(--gray-100);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-filter {
  background: white;
  border: 2px solid transparent;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  color: var(--dark-color);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-filter:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.btn-filter.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.portfolio-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.portfolio-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(15, 23, 42, 0.8),
      rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-info {
  padding: 2rem;
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: var(--transition);
}

.portfolio-info h4 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portfolio-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.portfolio-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  margin-top: 1rem;
}

.portfolio-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px) rotate(45deg);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* 数据统计样式 - 优化版 */
.counter-section {
  background: var(--gray-100);
  padding: 4rem 0;
}

.counter-box {
  text-align: center;
  padding: 2.5rem;
  background: white;
  border-radius: 20px;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
}

.counter-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.counter-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 1.5rem;
  transform: rotate(-10deg);
  transition: var(--transition);
}

.counter-box:hover .counter-icon {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.counter {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.counter-box p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-600);
  margin: 0;
}

/* 客户评价样式 - 优化版 */
.testimonial-card {
  background: var(--light-color);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  color: var(--dark-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 6rem;
  font-family: 'Georgia', serif;
  line-height: 1;
  z-index: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  transform: rotate(8deg);
  transition: all 0.4s ease;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.testimonial-text {
  font-style: italic;
  margin: 1.5rem 0;
  position: relative;
  z-index: 1;
  color: #334155;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.8;
  transition: all 0.4s ease;
}

.testimonial-card:hover,
.testimonial-card.active {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.testimonial-card:hover::before {
  transform: rotate(12deg) scale(1.1);
  opacity: 0.2;
}

.testimonial-card:hover::after {
  opacity: 0.03;
}

/* 评分星星样式 */
.testimonial-rating {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating i {
  color: #f59e0b;
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.2));
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-rating i {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 6px rgba(245, 158, 11, 0.3));
}

/* 作者信息样式 */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  transform: rotate(-4deg);
}

.testimonial-card:hover .testimonial-avatar {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-info {
  flex: 1;
}

.testimonial-info h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.testimonial-info p {
  margin: 0.25rem 0 0;
  color: var(--gray-500);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-info h5 {
  color: var(--primary-color);
}

/* 轮播指示器样式 */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 0.5;
}

.dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 10px;
  background: var(--primary-color);
  opacity: 0;
  transition: all 0.4s ease;
}

.dot:hover {
  opacity: 0.8;
  width: 24px;
}

.dot.active {
  background: var(--primary-color);
  width: 32px;
  opacity: 1;
}

.dot.active::after {
  opacity: 0.2;
}

/* 评价卡片容器 */
.testimonial-slider {
  position: relative;
  z-index: 1;
}

/* 添加响应式调整 */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .testimonial-avatar {
    width: 56px;
    height: 56px;
  }

  .testimonial-info h5 {
    font-size: 1rem;
  }

  .testimonial-info p {
    font-size: 0.875rem;
  }
}

/* 联系表单样式 */
.contact-form-card {
  background: var(--light-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.form-floating>.form-control,
.form-floating>.form-select {
  border: 2px solid var(--gray-300);
  border-radius: 10px;
  height: calc(3.5rem + 2px);
  padding: 1rem;
  color: #1e293b;
  font-weight: 500;
}

.form-floating>.form-control:focus,
.form-floating>.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.form-floating>label {
  padding: 1rem;
  color: #475569;
  font-weight: 500;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-select:focus~label {
  color: var(--primary-color);
}

/* 表单验证样式 */
.form-control.is-invalid {
  border-color: var(--danger-color);
  background-image: none;
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.25);
}

.invalid-feedback {
  color: var(--danger-color);
  font-weight: 500;
}

.form-floating>textarea.form-control {
  height: auto;
}

.contact-info-card {
  background: var(--light-color);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--box-shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon-box {
  width: 45px;
  height: 45px;
  border-radius: 12px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-3px);
}

/* 页脚样式 */
.footer {
  background: var(--dark-color);
  color: var(--light-color);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--light-color);
  padding-left: 0.5rem;
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-400);
}

.footer-contact i {
  color: var(--primary-color);
}

/* 预加载动画和自定义鼠标样式（从index.html内联样式迁移） */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2563eb;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

/* 懒加载图片优化 */
img[lazy] {
  filter: blur(2px);
  transition: filter 0.3s;
}

img[lazy][data-loaded="true"] {
  filter: none;
}

/* 页脚年份自动化样式（无JS，仅样式） */
.footer .year {
  font-variant-numeric: tabular-nums;
}

/* 联系方式链接样式 */
.footer-contact a {
  color: inherit;
  text-decoration: underline dotted;
}

/* 辅助类 */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 2rem;
}

/* 响应式设计 */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(15, 23, 42, 0.98);
    padding: 2rem 1rem;
    border-radius: 15px;
    margin-top: 1rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
    text-align: center;
  }

  .nav-link::after {
    display: none;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

.hero-image {
  margin-bottom: 3rem;
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .counter-box {
    margin-bottom: 1rem;
  }

  .testimonial-card {
    margin-bottom: 1rem;
  }

  .contact-info-card {
    margin-bottom: 2rem;
  }
}

/* 动画效果 */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* 选中文本样式 */
::selection {
  background: var(--primary-color);
  color: var(--light-color);
}

/* Navbar 优化：深色渐变背景+透明度+阴影 */
.navbar {
  background: linear-gradient(90deg, #1e293b 0%, #2563eb 100%);
  box-shadow: 0 2px 16px rgba(30, 41, 59, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-toggler {
  color: #fff !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #ffd700 !important;
}

/* 欢迎页（hero）优化：深色渐变背景+内容更突出 */
.hero {
  background: linear-gradient(120deg, #1e293b 0%, #2563eb 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero .text-gradient {
  background: linear-gradient(90deg, #ffd700 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .hero-btns .btn-primary {
  background: #ffd700;
  color: #1e293b;
  border: none;
}

.hero .hero-btns .btn-outline-light {
  border-color: #ffd700;
  color: #ffd700;
}

.hero .hero-btns .btn-outline-light:hover {
  background: #ffd700;
  color: #1e293b;
}

.hero .social-icons .social-icon {
  color: #ffd700;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  margin-right: 10px;
  font-size: 1.5rem;
  transition: background 0.2s, color 0.2s;
}

.hero .social-icons .social-icon:hover {
  background: #ffd700;
  color: #2563eb;
}

/* 让hero图片卡片更有立体感 */
.hero-image .floating-card {
  background: rgba(30, 41, 59, 0.85);
  color: #ffd700;
  box-shadow: 0 4px 24px rgba(30, 41, 59, 0.18);
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

/* 让hero下方波浪更自然 */
.hero-wave svg path {
  fill: #fff;
  opacity: 0.95;
}

/* 橙红色渐变标题样式 */
.text-gradient-orange-red {
  background: linear-gradient(90deg, #ff6a00 0%, #ff3c3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 24px rgba(255, 58, 58, 0.18), 0 1px 3px rgba(0, 0, 0, 0.12);
  letter-spacing: -0.03em;
  font-family: 'Poppins', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  font-weight: 900;
  animation: gradient-move 3s linear infinite alternate;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* 欢迎页内容丰富化 */
.hero .hero-extra {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 2px 12px rgba(255, 106, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  transition: background 0.2s;
}

.hero .hero-feature i {
  font-size: 2rem;
  color: #ff6a00;
  filter: drop-shadow(0 2px 8px #ff3c3c33);
}

.hero .hero-feature span {
  color: #fff;
  font-weight: 700;
}

.hero .hero-feature:hover {
  background: rgba(255, 106, 0, 0.18);
}

@media (max-width: 991px) {
  .hero .hero-extra {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }
}

/* 粒子效果加载优化 */
.hero-particles {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-particles.loaded {
  opacity: 1;
}

/* 降低移动端粒子数量 */
@media (max-width: 768px) {
  #hero-particles canvas {
    opacity: 0.6;
  }
}

/* 首页横幅标题和LOGO的响应式样式 */
.hero-logo-mobile {
  max-width: 20vw;
  height: auto;
}

.hero-company-name-mobile {
  font-size: 4rem;
}

@media (max-width: 576px) {
  .hero-logo-mobile {
    max-width: 40vw;
  }

  .hero-company-name-mobile {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
  }

  .hero-title-mobile {
    font-size: 2rem !important;
    padding: 0.5rem 0;
  }
}