/* ===== MK体育 - home.css 首页专用样式 ===== */
/* 首页布局：L4服务导向型 */

/* --- Banner区域 --- */
.banner {
  position: relative; height: 700px; overflow: hidden;
  margin-top: var(--header-height);
}
.banner-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s;
}
.banner-slide.active { opacity: 1; }
.banner-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(44,24,24,0.7) 0%, rgba(44,24,24,0.3) 100%);
}
.banner-content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 20px; height: 100%;
  display: flex; align-items: center;
}
.banner-text { max-width: 600px; color: var(--white); }
.banner-tag {
  display: inline-block; padding: 6px 16px;
  background: var(--secondary); color: var(--white);
  border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 20px;
}
.banner-title {
  font-size: 3rem; font-weight: 700; line-height: 1.2;
  margin-bottom: 20px;
}
.banner-title span { color: var(--primary); }
.banner-desc {
  font-size: 1.1rem; line-height: 1.8;
  margin-bottom: 30px; opacity: 0.9;
}
.banner-stats {
  display: flex; gap: 40px; margin-bottom: 30px;
}
.banner-stat-item { text-align: center; }
.banner-stat-num {
  font-size: 2rem; font-weight: 700; color: var(--primary);
}
.banner-stat-label { font-size: 0.8rem; opacity: 0.8; }
.banner-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.banner-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.banner-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s;
}
.banner-dot.active { background: var(--secondary); width: 30px; border-radius: 5px; }

/* --- 服务栏目区域 --- */
.services-section { padding: 80px 0; background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 32px 24px;
  text-align: center; transition: all 0.4s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--secondary);
  transform: scaleX(0); transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  box-shadow: 0 10px 40px var(--shadow);
  transform: translateY(-5px); border-color: transparent;
}
.service-icon-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--primary); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.service-icon-wrap svg {
  width: 36px; height: 36px; fill: var(--secondary);
}
.service-card h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--dark-bg);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.85rem; color: var(--text-light);
  line-height: 1.6; margin-bottom: 16px;
}

/* --- 服务流程区域 F1=3步 --- */
.process-section { padding: 80px 0; background: var(--gray-bg); }
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; max-width: 900px; margin: 0 auto;
}
.process-connector {
  position: relative;
}
.process-connector::after {
  content: ''; position: absolute; top: 30px; right: -40px;
  width: 80px; height: 2px; background: var(--primary-dark);
}
.process-connector:last-child::after { display: none; }

/* --- 数据统计区域 --- */
.stats-section {
  padding: 60px 0; background: var(--dark-bg); color: var(--white);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; max-width: var(--max-width); margin: 0 auto;
  padding: 0 20px;
}
.stats-item { text-align: center; }
.stats-num {
  font-size: 2.5rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px;
}
.stats-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* --- 最新资讯区域 --- */
.news-section { padding: 80px 0; }
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: all 0.3s;
}
.news-card:hover {
  box-shadow: 0 8px 30px var(--shadow); transform: translateY(-3px);
}
.news-card-body { padding: 24px; }
.news-card-tag {
  display: inline-block; padding: 4px 10px;
  background: var(--primary); color: var(--secondary);
  border-radius: 4px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 1rem; font-weight: 600; color: var(--dark-bg);
  margin-bottom: 10px; line-height: 1.4;
}
.news-card p {
  font-size: 0.85rem; color: var(--text-light);
  line-height: 1.6; margin-bottom: 12px;
}
.news-card-meta {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-muted);
}

/* --- CTA区域 --- */
.cta-section {
  padding: 80px 0; background: var(--primary);
  text-align: center;
}
.cta-title {
  font-size: 2rem; font-weight: 700; color: var(--dark-bg);
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 1rem; color: var(--text-light);
  margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process-connector::after { display: none; }
}
@media (max-width: 768px) {
  .banner { height: 500px; }
  .banner-title { font-size: 2rem; }
  .banner-stats { gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 1.5rem; }
}
