@charset "UTF-8";

/* === home.css - 首页专属模块 === */

/* ===== Banner Slider ===== */
.banner-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background-color: #08121C;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}

.banner-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.banner-content p {
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.banner-dot.active {
  background-color: #F77F00;
  border-color: rgba(255,255,255,0.3);
}

.banner-dot:hover {
  background-color: rgba(247, 127, 0, 0.7);
}

/* ===== Core Business Intro ===== */
.core-intro {
  background-color: #F0F4F8;
  padding: 60px 0;
}

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

.section-header h2 {
  font-size: 28px;
  color: #0D1B2A;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #F77F00;
  margin: 10px auto 0;
}

.section-header p {
  color: #666;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.core-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.core-card {
  flex: 1;
  min-width: 250px;
  background: #fff;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border-top: 3px solid #F77F00;
}

.core-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.core-card-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(247, 127, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: #F77F00;
}

.core-card h3 {
  font-size: 18px;
  color: #0D1B2A;
  margin-bottom: 10px;
}

.core-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ===== Services Matrix ===== */
.services-matrix {
  background-color: #0D1B2A;
  padding: 60px 0;
  color: #fff;
}

.services-matrix .section-header h2 {
  color: #fff;
}

.services-matrix .section-header p {
  color: #aaa;
}

.services-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.service-item {
  flex: 1;
  min-width: 250px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200, 213, 224, 0.15);
  border-radius: 4px;
  padding: 30px;
  transition: all 0.3s ease;
  text-align: center;
}

.service-item:hover {
  background: rgba(247, 127, 0, 0.1);
  border-color: rgba(247, 127, 0, 0.3);
  transform: translateY(-5px);
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(247, 127, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: #F77F00;
}

.service-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.service-item p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

.service-item .service-link {
  display: inline-block;
  margin-top: 14px;
  color: #F77F00;
  font-size: 14px;
  transition: all 0.2s ease;
}

.service-item .service-link:hover {
  color: #fff;
}

/* ===== Data Showcase ===== */
.data-showcase {
  background-color: #F0F4F8;
  padding: 60px 0;
}

.data-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.data-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.data-number {
  font-size: 42px;
  font-weight: 700;
  color: #F77F00;
  display: block;
  line-height: 1.2;
}

.data-label {
  font-size: 15px;
  color: #666;
  margin-top: 8px;
}

/* ===== Wiki Featured ===== */
.wiki-featured {
  background-color: #fff;
  padding: 60px 0;
}

.wiki-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wiki-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #F0F4F8;
  border-radius: 4px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.wiki-item:hover {
  border-left-color: #F77F00;
  background: #e8eef4;
}

.wiki-item-content {
  flex: 1;
}

.wiki-item h3 {
  font-size: 16px;
  color: #0D1B2A;
  margin-bottom: 6px;
}

.wiki-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.wiki-item .wiki-link {
  color: #F77F00;
  font-size: 13px;
  margin-top: 6px;
  display: inline-block;
}

/* ===== News Section ===== */
.news-section {
  background-color: #F0F4F8;
  padding: 60px 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.news-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.news-date {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}

.news-date .day {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #F77F00;
  line-height: 1;
}

.news-date .month {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 16px;
  color: #0D1B2A;
  margin-bottom: 6px;
}

.news-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.news-content .news-link {
  color: #F77F00;
  font-size: 13px;
  margin-top: 6px;
  display: inline-block;
}

/* ===== Partners ===== */
.partners-section {
  background-color: #fff;
  padding: 60px 0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  width: 160px;
  height: 80px;
  background: #F0F4F8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  border: 1px solid #C8D5E0;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  border-color: #F77F00;
  box-shadow: 0 2px 8px rgba(247, 127, 0, 0.15);
}

/* ===== Contact Quick ===== */
.contact-quick {
  background-color: #0D1B2A;
  padding: 60px 0;
  color: #fff;
}

.contact-quick .section-header h2 {
  color: #fff;
}

.contact-quick .section-header p {
  color: #aaa;
}

.contact-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-info-item {
  flex: 1;
  min-width: 220px;
  text-align: center;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  border: 1px solid rgba(200, 213, 224, 0.1);
}

.contact-info-icon {
  font-size: 32px;
  color: #F77F00;
  margin-bottom: 12px;
}

.contact-info-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #fff;
}

.contact-info-item p {
  font-size: 14px;
  color: #aaa;
}

.contact-info-item a {
  color: #F77F00;
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: #fff;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #08121C;
  color: #aaa;
  padding: 50px 0 0;
}

.footer-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h4 {
  color: #F77F00;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #999;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #F77F00;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: #999;
}

.footer-bottom {
  border-top: 1px solid rgba(200, 213, 224, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #666;
}

.footer-bottom a {
  color: #888;
}

/* ===== Responsive Home ===== */
@media (max-width: 1023px) {
  .banner-slider {
    height: 400px;
  }
  
  .banner-content h2 {
    font-size: 28px;
  }
  
  .banner-content p {
    font-size: 16px;
  }
  
  .core-cards,
  .services-grid,
  .data-grid {
    gap: 16px;
  }
  
  .core-card,
  .service-item,
  .data-item {
    min-width: 200px;
  }
}

@media (max-width: 767px) {
  .banner-slider {
    height: 300px;
  }
  
  .banner-content h2 {
    font-size: 22px;
  }
  
  .banner-content p {
    font-size: 14px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-header h2 {
    font-size: 22px;
  }
  
  .core-card,
  .service-item {
    min-width: 100%;
  }
  
  .data-item {
    min-width: 45%;
  }
  
  .data-number {
    font-size: 32px;
  }
  
  .footer-grid {
    gap: 24px;
  }
  
  .footer-col {
    min-width: 100%;
  }
}
