/* ===== 首页专属样式 ===== */

/* Hero 区域 */
.hero {
  position: relative;
  padding: 130px 0 100px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4ff 0%, #e8eeff 35%, #faf5ff 70%, #fff5f5 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero-blob-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(26,86,219,0.15) 0%, transparent 65%);
  top: -280px;
  right: -180px;
}
.hero-blob-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 65%);
  bottom: -180px;
  left: 8%;
}
.hero-blob-3 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 65%);
  top: 30%;
  left: 45%;
  filter: blur(70px);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(26,86,219,0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(26,86,219,0.15);
}
.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 40px;
  padding: 22px 32px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1px solid rgba(26,86,219,0.09);
  box-shadow:
    0 10px 40px rgba(26,86,219,0.08),
    0 2px 8px rgba(26,86,219,0.04);
  width: fit-content;
  position: relative;
  overflow: hidden;
}
/* 统计卡片顶部装饰线 */
.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 30px;
  position: relative;
}
.hero-stat .num-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.hero-stat .num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #1a56db, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.hero-stat .unit {
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, #1a56db, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.hero-stat-sep {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(26,86,219,0.15), transparent);
}

/* Hero 视觉卡片 */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
/* 装饰光晕 */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,86,219,0.12) 0%, rgba(14,165,233,0.08) 40%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.hero-card-stack {
  position: relative;
  width: 420px;
  height: 340px;
  z-index: 1;
}
.hcard {
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 24px 72px rgba(26,86,219,0.12),
    0 8px 24px rgba(26,86,219,0.06);
  padding: 22px 24px;
  border: 1px solid rgba(26,86,219,0.07);
  backdrop-filter: blur(10px);
}
.hcard-main {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.hcard-header {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}
.hcard-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.hcard-dot.red { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.4); }
.hcard-dot.yellow { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.4); }
.hcard-dot.green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.4); }
.hcard-body { height: calc(100% - 48px); display: flex; flex-direction: column; }
.hcard-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 0 10px;
}
.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(26,86,219,0.18) 0%, rgba(26,86,219,0.05) 100%);
  border-radius: 6px 6px 0 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bar:hover { filter: brightness(1.1); }
.bar.active {
  background: linear-gradient(180deg, var(--primary), #2563eb);
  box-shadow: 0 0 20px rgba(26,86,219,0.25);
}
.hcard-label {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid rgba(26,86,219,0.07);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hcard-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hcard-floating {
  position: absolute;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  border-radius: 16px;
  box-shadow:
    0 14px 44px rgba(0,0,0,0.1),
    0 4px 12px rgba(0,0,0,0.04);
  animation: float 4s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
}
.hcard-float-1 {
  top: -22px;
  right: -28px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  animation-delay: 0s;
}
.hcard-float-1 i { text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.hcard-float-2 {
  bottom: 50px;
  right: -38px;
  background: #fff;
  animation-delay: 1.5s;
  color: var(--primary);
  z-index: 3;
}
.hcard-float-3 {
  bottom: -22px;
  left: -32px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  animation-delay: 3s;
}
.hcard-float-3 i { text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.hcard-ftitle { font-size: 11px; color: var(--text-muted); line-height: 1; margin-bottom: 3px; font-weight: 500; }
.hcard-fnum { font-size: 17px; font-weight: 800; color: var(--text-dark); line-height: 1; }
.hcard-float-1 .hcard-ftitle,
.hcard-float-1 .hcard-fnum,
.hcard-float-3 .hcard-ftitle,
.hcard-float-3 .hcard-fnum { color: rgba(255,255,255,0.95); }

/* 滚动指示 */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  animation: float 2s ease-in-out infinite;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 信任标识 */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
}
.trust-label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.trust-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}
.trust-logo i { color: var(--primary); font-size: 16px; }

/* 服务卡片 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.services-grid > :nth-child(4) { grid-column: 1; }
.services-grid > :nth-child(5) { grid-column: 2; }

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: block;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(26,86,219,0.1);
  transform: translateY(-4px);
}
.sc-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--c);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.sc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.sc-tags span {
  padding: 3px 10px;
  background: var(--bg-light);
  border-radius: 50px;
  font-size: 12px;
  color: var(--text-muted);
}
.sc-arrow {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 为什么选择我们 */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}
.why-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.why-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.why-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 成就数字 */
.achievement-section {
  background: var(--gradient);
  padding: 60px 0;
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ach-item {
  text-align: center;
  color: #fff;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.ach-num {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.ach-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.ach-desc {
  font-size: 12px;
  opacity: 0.7;
}

/* 适用企业卡片 */
.fit-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.fit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.fit-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.fit-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.fit-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 流程 */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: visible;
  overflow-y: visible;
  padding-bottom: 16px;
}
.process-step {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.ps-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.ps-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px;
  height: 100%;
  transition: all 0.3s;
}
.ps-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.ps-content i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}
.ps-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.ps-content p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.process-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--text-muted);
  font-size: 14px;
  padding-top: 36px;
  flex-shrink: 0;
}

/* 新闻卡片 */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: block;
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.news-img { position: relative; }
.news-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  color: #60a5fa;
}
.news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.news-body { padding: 20px; }
.news-date {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.news-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  background: #fff;
}
.cta-blob-1 { width: 400px; height: 400px; top: -200px; left: -100px; }
.cta-blob-2 { width: 300px; height: 300px; bottom: -150px; right: 10%; }
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text h2 {
  font-size: clamp(24px,3vw,36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}
.cta-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.cta-phone i { font-size: 24px; opacity: 0.8; }
.cta-phone-label { font-size: 12px; opacity: 0.7; margin-bottom: 2px; }
.cta-phone-num { font-size: 20px; font-weight: 700; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > :nth-child(4),
  .services-grid > :nth-child(5) { grid-column: auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .achievement-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .hero { padding: 110px 0 60px; }
  .hero-stats { gap: 16px; }
  .hero-stat .num { font-size: 24px; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .process-flow { flex-direction: column; gap: 16px; }
  .process-arrow { display: none; }
  .cta-actions { flex-direction: column; gap: 20px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
