/* ========== 首页专用样式 ========== */
/* 继承 main.css 中的品牌视觉体系变量 */

/* Hero区域 */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(26,54,93,0.85) 100%);
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 700px;
  padding-top: 50px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0,212,255,0.15);
  border: 1px solid rgba(0,212,255,0.4);
  border-radius: 20px;
  color: #00d4ff;
  font-size: 12px;
}
.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 25px;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin-bottom: 35px;
}
.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background: linear-gradient(135deg, #e53935, #ff5252);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(229,57,53,0.4);
  color: #fff;
}
.btn-hero-primary i { margin-right: 10px; }
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.btn-hero-outline i { margin-right: 10px; }
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll-hint i { display: block; margin-top: 8px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* 核心优势 */
.advantages-section {
  background: #fff;
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
}
.advantage-item {
  display: flex;
  align-items: center;
  padding: 35px 30px;
  border-right: 1px solid #e8e8e8;
  transition: all 0.3s;
}
.advantage-item:last-child { border-right: none; }
.advantage-item:hover { background: #f5f7fa; }
.advantage-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0066cc, #00a8e8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}
.advantage-icon i { font-size: 24px; color: #fff; }
.advantage-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}
.advantage-content p {
  font-size: 12px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}


/* 通用标题 */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 42px;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.section-header p {
  font-size: 16px;
  color: #666;
  font-weight: 400;
}
.section-line {
  display: none;
}

/* 核心业务 */
.business-section {
  padding: 80px 0;
  background: #f5f7fa;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.business-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px 30px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid #e8e8e8;
}
.business-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: transparent;
}
.business-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0066cc, #00a8e8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.business-icon i { font-size: 28px; color: #fff; }
.business-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.business-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 48px;
}
.business-link {
  color: #0066cc;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.business-link:hover { color: #004499; }
.business-link i { margin-left: 5px; transition: transform 0.3s; }
.business-link:hover i { transform: translateX(5px); }

/* 数据统计 */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0066cc, #0052a3);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-number {
  font-size: 48px;
  font-weight: 700;
  display: inline;
}
.stat-suffix {
  font-size: 24px;
  font-weight: 300;
  display: inline;
}
.stat-label {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 8px;
}

/* 动态资讯 */
.news-section {
  padding: 80px 0;
  background: #fff;
}
.news-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.news-column {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 30px;
}
.news-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #0066cc;
}
.news-column-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}
.news-column-header h3 i {
  color: #0066cc;
  margin-right: 10px;
}
.more-link {
  color: #0066cc;
  font-size: 14px;
  text-decoration: none;
}
.more-link:hover { color: #004499; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #e0e0e0;
}
.news-item:last-child { border-bottom: none; }
.news-date {
  font-size: 12px;
  color: #999;
  margin-right: 15px;
  flex-shrink: 0;
}
.news-title {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-title:hover { color: #0066cc; }
.news-empty {
  text-align: center;
  color: #999;
  padding: 30px 0;
  font-size: 14px;
}


/* 资质证书 */
.cert-section {
  padding: 80px 0;
  background: #f5f7fa;
}
.cert-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.cert-images {
  flex: 0 0 60%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}
.cert-item {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.cert-item:nth-child(1),
.cert-item:nth-child(2),
.cert-item:nth-child(3) {
  width: calc(33.33% - 10px);
}
.cert-item:nth-child(n+4) {
  width: calc(25% - 12px);
}
.cert-item img {
  width: 100%;
  height: auto;
  display: block;
}
.cert-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.cert-list {
  flex: 1;
  padding-top: 20px;
}
.cert-list-item {
  position: relative;
  padding: 12px 0 12px 20px;
  font-size: 15px;
  color: #333;
  border-bottom: 1px solid #eee;
}
.cert-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #0066cc;
  border-radius: 50%;
}
.cert-list-item:last-child {
  border-bottom: none;
}

/* 合作客户 */
.clients-section {
  padding: 80px 0;
  background: #f5f7fa;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-item {
  background: #fff;
  border-radius: 8px;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: box-shadow 0.3s ease;
}
.client-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.client-item img {
  max-width: 100%;
  max-height: 45px;
  object-fit: contain;
}

/* 政策支持 */
.policy-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0d1b2a, #1a365d);
}
.policy-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.policy-content {
  flex: 1;
  color: #fff;
}
.policy-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}
.policy-content h3 i {
  margin-right: 12px;
  color: #00d4ff;
}
.policy-content p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.policy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.policy-tags span {
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.95);
}
.policy-image {
  flex-shrink: 0;
  max-width: 320px;
}
.policy-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.policy-cta {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 35px 40px;
  text-align: center;
  flex-shrink: 0;
}
.policy-cta h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}
.policy-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.btn-policy {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #e53935, #ff5252);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-policy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229,57,53,0.4);
  color: #fff;
}


/* CTA区域 */
.cta-section {
  padding: 80px 0;
  background: #f5f7fa;
}
.cta-content {
  text-align: center;
}
.cta-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}
.cta-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background: linear-gradient(135deg, #0066cc, #00a8e8);
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,102,204,0.3);
  color: #fff;
}
.btn-cta-primary i { margin-right: 10px; }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background: transparent;
  border: 2px solid #0066cc;
  color: #0066cc;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-cta-outline:hover {
  background: #0066cc;
  color: #fff;
}
.btn-cta-outline i { margin-right: 10px; }

/* 证书弹窗 */
.cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.cert-modal.active {
  opacity: 1;
  visibility: visible;
}
.cert-modal-content {
  max-width: 600px;
  max-height: 90vh;
  text-align: center;
}
.cert-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}
.cert-modal-content p {
  color: #fff;
  margin-top: 15px;
  font-size: 14px;
}
.cert-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s;
}
.cert-modal-close:hover { transform: rotate(90deg); }

/* 响应式 */
@media (max-width: 1200px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-item:nth-child(2) { border-right: none; }
  .cert-wrapper { gap: 40px; }
  .cert-images { flex: 0 0 55%; }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 24px; }
  .section-header h2 { font-size: 36px; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 40px; }
  .news-wrapper { grid-template-columns: 1fr; }
  .cert-wrapper { flex-direction: column; gap: 30px; }
  .cert-images { flex: none; width: 100%; }
  .cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .policy-wrapper { flex-direction: column; }
  .policy-image { max-width: 100%; }
  .policy-cta { width: 100%; }
}
@media (max-width: 767px) {
  .hero-section { min-height: 550px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 20px; }
  .hero-desc { font-size: 14px; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
  .advantages-section { margin-top: -40px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantage-item { border-right: none; border-bottom: 1px solid #e8e8e8; }
  .advantage-item:last-child { border-bottom: none; }
  .section-header h2 { font-size: 30px; }
  .business-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 36px; }
  .cert-item:nth-child(1),
  .cert-item:nth-child(2),
  .cert-item:nth-child(3),
  .cert-item:nth-child(n+4) { width: calc(50% - 8px); }
  .cert-list { grid-template-columns: 1fr; }
  .cert-list-item { font-size: 14px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .client-item { height: 70px; padding: 15px; }
  .cta-content h2 { font-size: 24px; }
  .cta-btns { flex-direction: column; }
  .btn-cta-primary, .btn-cta-outline { width: 100%; justify-content: center; }
}
