/* ============================================================
   Veeam 中国区客户服务中心 — 首页样式 (home.css)
   依赖 common.css 设计系统：.g-wrapper / .btn / .glass / .badge
   品牌色: #00D15F(绿) #3700FF(紫) #232323(深)
   纯 CSS 实现，不依赖任何外部图片/视频资源
   ============================================================ */

/* ====================== Hero ====================== */
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 10% -12%, rgba(0, 209, 95, 0.14), transparent 60%),
    radial-gradient(1000px 520px at 100% -4%, rgba(55, 0, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  padding: 84px 0 76px;
}
/* 装饰性光斑，纯 CSS，无图片 */
.home-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.home-hero__blob--a {
  width: 360px; height: 360px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(0, 209, 95, 0.35), transparent 70%);
}
.home-hero__blob--b {
  width: 420px; height: 420px;
  bottom: -160px; right: -100px;
  background: radial-gradient(circle, rgba(55, 0, 255, 0.30), transparent 70%);
}
.home-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.home-hero__title {
  font-size: clamp(31px, 4.8vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 24px 0 18px;
  color: #232323;
}
.home-hero__title .grad {
  background: linear-gradient(90deg, #00D15F 0%, #3700ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.home-hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: #505861;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 34px;
}
.home-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.home-hero__status {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #505861;
}
.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #00D15F;
  box-shadow: 0 0 0 4px rgba(0, 209, 95, 0.16);
}

/* ====================== 通用区块 ====================== */
.home-section { padding: 76px 0; }
.home-section--alt { background: #f7f9fc; }
.home-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.home-section__title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #232323;
}
.home-section--sub { color: #6b7280; font-size: 16px; line-height: 1.6; }

/* ====================== 公告卡 ====================== */
.home-section--compact { padding: 40px 0 36px; }
.announce-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 32px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e5e8f0;
  border-left: 5px solid #3700FF;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.announce-card:hover {
  box-shadow: 0 12px 32px rgba(20,22,32,.07);
  transform: translateY(-3px);
  border-color: rgba(55,0,255,.35);
}
.announce-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#3700FF,#00D15F);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
}
.announce-card__body { }
.announce-card__title {
  font-size: 19px;
  font-weight: 750;
  color: #232323;
  margin-bottom: 6px;
  line-height: 1.35;
}
.announce-card__desc {
  font-size: 15px;
  color: #505861;
  line-height: 1.7;
}
.announce-card__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3700FF;
  font-size: 14px;
  font-weight: 650;
  margin-top: 4px;
}
.announce-card:hover .announce-card__action i { transform: translateX(3px); transition: transform .2s; }

/* ====================== 行业认可 ====================== */
.home-section--alt {
  background: linear-gradient(180deg, #f8f9fb 0%, #f0f2f7 100%);
}

.recog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.recog-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 26px 22px 24px;
  border-radius: 12px;
  background: linear-gradient(165deg, #1c1d26 0%, #13141b 100%);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s;
}
/* 左侧细色条 — 唯一的色彩装饰 */
.recog-badge::before {
  content: '';
  position: absolute;
  top: 14px; bottom: 14px; left: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
}
.recog-badge--gartner::before { background: #f59e0b; }
.recog-badge--forrester::before { background: #06b6d4; }
.recog-badge--gigaom::before { background: #a855f7; }
.recog-badge--idc::before { background: #3b82f6; }

.recog-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

/* 机构名 — 白色大写 */
.recog-badge__firm {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #e8eaef;
  line-height: 1.2;
}
/* 绿色高亮标题 */
.recog-badge__title {
  font-size: 15px;
  font-weight: 700;
  color: #00D15F;
  line-height: 1.4;
}
/* 详细描述 */
.recog-badge__desc {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.55;
}

/* 统计数据 — 文字行 */
.recog-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 24px 0 0;
}
.recog-stats__line {
  font-size: clamp(15px, 2vw, 18px);
  color: #374151;
  line-height: 1.6;
  text-align: center;
}
.recog-stats__line strong {
  font-weight: 800;
  background: linear-gradient(135deg, #00D15F 0%, #3700ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.recog-source {
  margin-top: 14px;
  font-size: 11.5px;
  color: #b0b7c4;
  text-align: center;
}

/* ====================== 支持联系条 ====================== */
.support-band {
  background: linear-gradient(120deg, #3700ff 0%, #00D15F 100%);
  color: #fff;
  border-radius: 24px;
  padding: 46px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 18px 44px rgba(55, 0, 255, 0.18);
}
.support-band__text { max-width: 460px; }
.support-band h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; }
.support-band__desc { margin-top: 10px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.support-band__desc .desc-em { color: #fff; font-weight: 500; }
.support-contacts { display: flex; flex-direction: column; gap: 14px; min-width: 260px; }
.support-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  padding: 6px 0;
}
.support-contact i {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: background .25s, transform .25s, box-shadow .25s;
}
.support-contact:hover i {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
/* 每个图标独立底色 + 图标色，增加辨识度 */
.support-contact:nth-child(1) i {
  background: rgba(167, 243, 208, 0.18);
  border-color: rgba(167, 243, 208, 0.22);
  color: #6ee7b7;
}   /* 电话 — 绿调 */
.support-contact:nth-child(2) i {
  background: rgba(196, 181, 253, 0.18);
  border-color: rgba(196, 181, 253, 0.22);
  color: #c4b5fd;
}   /* 邮箱 — 紫调 */
.support-contact:nth-child(3) i {
  background: rgba(147, 197, 253, 0.18);
  border-color: rgba(147, 197, 253, 0.22);
  color: #93c5fd;
}   /* 工单 — 蓝调 */
.support-contact span.label { color: rgba(255,255,255,0.65); font-size: 12px; display:block; letter-spacing: .3px; }
.support-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: opacity .2s;
}
.support-contact a:hover { opacity: .85; text-decoration: underline; text-underline-offset: 3px; }

/* ====================== 响应式 ====================== */
@media (max-width: 768px) {
  .home-hero { padding: 56px 0 48px; }
  .home-section { padding: 48px 0; }
  .home-section--compact { padding: 28px 0 24px; }
  .announce-card { padding: 20px 20px; border-left-width: 4px; }
  .announce-card__title { font-size: 17px; }
  .announce-card__desc { font-size: 14px; }
  .home-section__head { margin-bottom: 30px; }
  .support-band { padding: 32px 24px; }
  /* 行业认可 — 移动端 2×2 网格 + 统计纵向堆叠 */
  .recog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
  }
  .recog-badge { padding: 20px 18px 18px; }
  .recog-badge__firm { font-size: 16px; }
  .recog-badge__title { font-size: 14px; }
  .recog-badge__desc { font-size: 12px; }
  .recog-stats { margin-top: 24px; gap: 6px; }
  .recog-stats__line { font-size: 14px; }
}
@media (max-width: 480px) {
  .home-hero__actions .btn { width: 100%; }
}
