/* ==========================================================================
           CSS Variables & Theming
           ========================================================================== */
:root {
  --primary-blue-light: #e6f2fc;
}
/* ==========================================================================
           Hero Section
           ========================================================================== */
.hero {
  color: var(--text-light);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-width: 1400px;
}
.hero a {
  display: block;
}
.hero .container {
  width: 1260px;
  box-sizing: border-box;
}
/* Hero Slider */
.hero-slider.swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  height: 670px;
  background-position: center center;
}
.hero-slide {
  height: 670px;
  display: flex;
  align-items: center;
  align-items: flex-start;
  outline: none;
  background-repeat: no-repeat;
  background-position: top center;
  box-sizing: border-box;
}
.hero-slider .swiper-button-prev {
  left: 30px;
}
.hero-slider .swiper-button-next {
  right: 30px;
}
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
  color: #fff;
}
.hero-slider .swiper-pagination {
  bottom: 40px;
}
.hero-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}
.hero-slider .swiper-pagination-bullet-active {
  background: #fff;
}
.hero-content {
  flex: 1;
  max-width: 1000px;
}
.hero-subtitle {
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: left;
  margin-bottom: 16px;
  margin-top: 80px;
}
.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: left;
}
.hero-title .highlight {
  background: linear-gradient(to right, #0174e3, #2fd4c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 28px;
  color: var(--text-gray);
  line-height: 1.6;
  text-align: left;
}
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 400px;
}
/* Abstract Fan Decoration */
.fan-deco {
  position: absolute;
  left: -150px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  opacity: 0.6;
  z-index: 1;
}
/* ==========================================================================
           Company Profile Section
           ========================================================================== */
.company-profile {
  padding: 96px 0;
  background-color: var(--bg-white);
}
.profile-layout {
  width: 1260px;
  margin: 0 auto;
}
.profile-layout {
  display: flex;
  align-items: center;
  gap: 64px;
}
.profile-text {
  flex: 1;
}
.profile-text p {
  color: var(--text-gray);
  font-size: 20px;
  margin-bottom: 32px;
  text-align: left;
}
.stats-container {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  justify-content: center;
}
.stat-item h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3.2px;
}
.stat-item p {
  font-size: 13.6px;
  color: var(--text-light);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.profile-visual {
  flex: 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
/* ==========================================================================
           Development Milestones Section
           ========================================================================== */
.milestones {
  padding: 96px 0;
  background-color: var(--bg-offwhite);
  min-width: 1400px;
}
.timeline {
  position: relative;
  margin-top: 96px;
}
.timeline-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c0c0c0 #f0f0f0;
  padding: 20px 32px 16px;
}
/* Webkit 滚动条样式 */
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 3px;
}
.timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}
.timeline-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  width: max-content;
  min-width: 100%;
}
/* Connecting Line — spans full scrollable width */
.timeline-nodes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d8e5f3;
  z-index: 0;
}
.timeline-node {
  width: 150px;
  text-align: center;
  position: relative;
  padding-top: 32px;
  flex-shrink: 0;
  margin-right: 60px;
}
/* Timeline Dots */
.timeline-node::before {
  content: '';
  position: absolute;
  top: -6px;
  /* Center dot on line (height 14px / 2 + 1px border) */
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background-color: var(--bg-white);
  border: 2px solid #d8e5f3;
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition-speed);
}
.timeline-node.active::before {
  border-color: var(--primary-blue);
  background-color: var(--primary-blue);
  box-shadow: 0 0 0 4px var(--primary-blue-light);
}
/* Thumbnail for timeline nodes */
.node-thumbnail {
  display: none;
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 100px;
  height: 60px;
  background-color: #333;
  border-radius: 4px;
  overflow: visible;
  border: 2px solid var(--bg-white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
/* Arrow below thumbnail pointing to dot */
.node-thumbnail::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #333;
}
/* Show thumbnail on node hover */
.timeline-node:hover .node-thumbnail {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Hover dot — same as active */
.timeline-node:hover::before {
  border-color: var(--primary-blue);
  background-color: var(--primary-blue);
  box-shadow: 0 0 0 4px var(--primary-blue-light);
}
/* Hover year — same as active */
.timeline-node:hover .node-year {
  color: var(--primary-blue);
}
/* Active node always shows thumbnail */
.timeline-node.active .node-thumbnail {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.node-year {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.timeline-node.active .node-year {
  color: var(--primary-blue);
}
.node-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.4;
  text-align: left;
}
.node-desc p {
  margin-bottom: 10px;
}
/* ==========================================================================
           Cooperation Section
           ========================================================================== */
.cooperation {
  padding: 96px 0;
  background-color: var(--bg-light-gray);
  min-width: 1400px;
}
.logo-grid {
  width: 1260px;
  margin: 0 auto;
}
.logo-grid img {
  max-width: 100%;
}
body.nav-mobile .hero-slider.swiper {
  height: 554px;
}
body.nav-mobile .hero-slider .swiper-slide {
  height: 554px;
}
body.nav-mobile .hero-slider .swiper-wrapper {
  height: 554px;
}
body.nav-mobile .hero-subtitle {
  font-size: 26px;
}
body.nav-mobile .hero-desc {
  font-size: 22px;
}
body.nav-mobile .section-subtitle {
  font-size: 22px;
}
body.nav-mobile .profile-text p {
  font-size: 22px;
}
body.nav-mobile .node-desc {
  font-size: 22px;
}
