/* =========================================
  1. 粒子背景
  ========================================= */
.particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(43, 85, 206, 0.5);
  border-radius: 50%;
  animation: float 20s infinite;
}

.particle:nth-child(1) { left: 5%; animation-delay: 0s; }
.particle:nth-child(2) { left: 15%; animation-delay: 3s; }
.particle:nth-child(3) { left: 25%; animation-delay: 6s; }
.particle:nth-child(4) { left: 35%; animation-delay: 9s; }
.particle:nth-child(5) { left: 45%; animation-delay: 12s; }
.particle:nth-child(6) { left: 55%; animation-delay: 15s; }
.particle:nth-child(7) { left: 65%; animation-delay: 18s; }
.particle:nth-child(8) { left: 75%; animation-delay: 1s; }
.particle:nth-child(9) { left: 85%; animation-delay: 4s; }
.particle:nth-child(10) { left: 95%; animation-delay: 7s; }

/* =========================================
  2. Hero Section (about override)
  ========================================= */
.hero-bg {
  background: url('../images/about/banner.png') center/cover no-repeat;
  opacity: 0.3;
  position: absolute;
  inset: 0;
}

/* =========================================
  3. 公司简介
  ========================================= */
.about-intro {
  padding: 120px 0;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.intro-container {
  display: flex;
  gap: 80px;
  align-items: center;
  padding: 0 50px;
}

.intro-image {
  flex: 1;
  position: relative;
}

.intro-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 40px 80px rgba(43, 85, 206, 0.4);
  transition: transform 0.5s;
}

.intro-image:hover img {
  transform: scale(1.02);
}

.intro-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid rgba(43, 85, 206, 0.3);
  border-radius: 30px;
  z-index: -1;
}

.intro-text {
  flex: 1;
}

.intro-text .subtitle {
  display: inline-block;
  background: linear-gradient(135deg, #2b55ce, #6432ff);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.intro-text h2 {
  font-size: 48px;
  color: #fff;
  margin: 0 0 30px;
  line-height: 1.2;
}

.intro-text p {
  color: #bbb;
  font-size: 17px;
  line-height: 2;
  margin-bottom: 25px;
}

.intro-highlight {
  background: rgba(43, 85, 206, 0.1);
  border-left: 4px solid #2b55ce;
  padding: 25px 30px;
  border-radius: 0 15px 15px 0;
  margin-top: 30px;
}

.intro-highlight p {
  color: #a0cfff;
  margin: 0;
  font-style: italic;
}

/* =========================================
  4. 核心优势
  ========================================= */
.advantages-section {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(43, 85, 206, 0.05), transparent);
}

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

.section-header h2 {
  font-size: 48px;
  color: #fff;
  margin: 0 0 15px;
}

.section-header p {
  color: #a0cfff;
  font-size: 18px;
  margin: 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 50px 35px;
  text-align: center;
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2b55ce, #6432ff);
  transform: scaleX(0);
  transition: transform 0.5s;
}

.advantage-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(43, 85, 206, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(43, 85, 206, 0.2), rgba(100, 50, 255, 0.2));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  font-size: 40px;
  transition: all 0.5s;
}

.advantage-card:hover .advantage-icon {
  background: linear-gradient(135deg, #2b55ce, #6432ff);
  transform: scale(1.1);
}

.advantage-card h3 {
  font-size: 22px;
  color: #fff;
  margin: 0 0 15px;
}

.advantage-card p {
  color: #999;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
  5. 发展历程 (水平时间轴)
  ========================================= */
.timeline-section {
  padding: 120px 0;
  overflow: hidden;
}

.timeline-horizontal {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 50px 0;
  position: relative;
}

.timeline-h-item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.timeline-h-line {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2b55ce 10%, #6432ff 90%, transparent);
  z-index: 0;
}

.timeline-h-item:first-child .timeline-h-line {
  background: linear-gradient(90deg, #2b55ce 10%, #6432ff 90%, transparent);
}

.timeline-h-item:last-child .timeline-h-line {
  background: linear-gradient(90deg, transparent, #2b55ce 10%, #6432ff 90%);
}

.timeline-h-dot {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #2b55ce, #6432ff);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(43, 85, 206, 0.6);
  margin-bottom: 30px;
  flex-shrink: 0;
}

.timeline-h-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.4s;
  width: 100%;
  box-sizing: border-box;
}

.timeline-h-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(43, 85, 206, 0.3);
}

.timeline-h-date {
  display: inline-block;
  background: linear-gradient(135deg, #2b55ce, #6432ff);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 15px;
}

.timeline-h-content h3 {
  font-size: 20px;
  color: #fff;
  margin: 0 0 12px;
}

.timeline-h-content p {
  color: #999;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
  6. 企业文化
  ========================================= */
.culture-section {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(100, 50, 255, 0.03), transparent);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

.culture-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  transition: all 0.5s;
  position: relative;
}

.culture-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(43, 85, 206, 0.3);
}

.culture-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #2b55ce, #6432ff);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  font-size: 48px;
  box-shadow: 0 15px 40px rgba(43, 85, 206, 0.4);
}

.culture-card h3 {
  font-size: 26px;
  color: #fff;
  margin: 0 0 20px;
}

.culture-card p {
  color: #999;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

/* =========================================
  7. 响应式
  ========================================= */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 40px;
  }

  .stat-number {
    font-size: 40px;
  }
}

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

  .hero-stats {
    gap: 40px;
  }

  .stat-number {
    font-size: 40px;
  }

  .timeline-horizontal {
    flex-wrap: wrap;
    gap: 40px;
  }

  .timeline-h-item {
    flex: 0 0 calc(50% - 20px);
    min-width: 200px;
  }

  .timeline-h-line {
    display: none;
  }

  .timeline-h-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -30px;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #2b55ce);
    transform: translateX(-50%);
  }

  .timeline-h-item:first-child::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .intro-container {
    flex-direction: column;
  }

  .culture-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .timeline-horizontal {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 30px 0;
  }

  .timeline-h-item {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .timeline-h-item::before {
    display: none;
  }

  .timeline-h-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #6432ff, transparent);
    transform: translateX(-50%);
  }
}
