/* Core capability page */
.hexin-page {
  --hexin-blue: #0b63f6;
  --hexin-blue-dark: #073b8e;
  --hexin-ink: #102033;
  --hexin-muted: #64748b;
  --hexin-line: #e5edf7;
  --hexin-soft: #f5f8fc;
  background: #f5f8fc;
  color: var(--hexin-ink);
}

.header_area.header_relative {
  position: relative;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 35, 65, .08);
}

.header_area.header_relative .navbar {
  background: #fff;
}

.hexin-page,
.hexin-page * {
  box-sizing: border-box;
}

.hexin-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 86px;
  background:
    radial-gradient(circle at 25px 25px, rgba(255, 255, 255, .18) 2px, transparent 2.5px),
    linear-gradient(115deg, #183866 0%, #2855a0 48%, #3b82f6 100%);
  background-size: 76px 76px, cover;
  background-position: 0 0, center;
  color: #fff;
}

.hexin-hero::after {
  display: none;
}

.hexin-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 48px;
  align-items: center;
}

.hexin-kicker,
.hexin-section-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #0b63f6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hexin-hero .hexin-kicker {
  color: #b9d7ff;
}

.hexin-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.hexin-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  line-height: 1.8;
}

.hexin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hexin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hexin-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.hexin-btn-primary {
  background: #fff;
  color: var(--hexin-blue-dark);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

.hexin-btn-ghost {
  border: 1px solid rgba(255, 255, 255, .42);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.hexin-hero-panel {
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.hexin-panel-title {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}

.hexin-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hexin-panel-grid div {
  min-height: 116px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
}

.hexin-panel-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 24px;
}

.hexin-panel-grid span {
  color: rgba(255, 255, 255, .75);
}

.hexin-content {
  padding: 72px 0 86px;
}

.hexin-intro-card,
.hexin-section {
  margin-bottom: 34px;
  border: 1px solid var(--hexin-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(15, 35, 65, .06);
}

.hexin-intro-card {
  padding: clamp(24px, 4vw, 46px);
}

.hexin-section {
  padding: clamp(24px, 4vw, 42px);
}

.hexin-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.hexin-section-head h2 {
  margin: 0 0 10px;
  color: var(--hexin-ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 800;
}

.hexin-section-head p {
  margin: 0;
  color: var(--hexin-muted);
  font-size: 16px;
  line-height: 1.8;
}

.hexin-richtext {
  color: #334155;
  line-height: 1.8;
}

.hexin-richtext img {
  max-width: 100% !important;
  height: auto !important;
  display: inline-block;
  vertical-align: top;
  border-radius: 0;
}

.hexin-richtext p {
  max-width: 100%;
}

.hexin-richtext p:has(img) {
  text-align: center;
}

.hexin-richtext p:has(> img + img) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 34px);
  align-items: start;
}

.hexin-richtext p:has(> img + img) img {
  width: 100% !important;
  object-fit: contain;
}

.hexin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.hexin-stat {
  min-height: 132px;
  padding: 22px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--hexin-line);
  box-shadow: 0 12px 34px rgba(15, 35, 65, .05);
}

.hexin-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--hexin-blue);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.1;
  font-weight: 800;
}

.hexin-stat span {
  color: var(--hexin-muted);
  font-size: 14px;
  line-height: 1.5;
}

.hexin-equipment-grid,
.hexin-network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hexin-equipment-card,
.hexin-network-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--hexin-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hexin-equipment-card:hover,
.hexin-network-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 99, 246, .28);
  box-shadow: 0 18px 44px rgba(11, 99, 246, .1);
}

.hexin-equipment-card i,
.hexin-network-grid i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eaf2ff;
  color: var(--hexin-blue);
  font-size: 20px;
}

.hexin-equipment-card h3,
.hexin-network-grid h3 {
  margin: 0 0 12px;
  color: var(--hexin-ink);
  font-size: 20px;
  font-weight: 800;
}

.hexin-equipment-card p,
.hexin-network-grid p {
  margin: 0;
  color: var(--hexin-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hexin-process {
  overflow: hidden;
  background: linear-gradient(135deg, #082a62, #0b63f6);
}

.hexin-process .hexin-section-head span,
.hexin-process .hexin-section-head h2,
.hexin-process .hexin-section-head p {
  color: #fff;
}

.hexin-process .hexin-section-head p {
  color: rgba(255, 255, 255, .78);
}

.hexin-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hexin-process-step {
  min-height: 210px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
}

.hexin-process-step span {
  display: inline-flex;
  margin-bottom: 22px;
  color: #b9d7ff;
  font-weight: 800;
}

.hexin-process-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
}

.hexin-process-step p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.7;
}

@media (max-width: 1199px) {
  .hexin-hero-inner {
    grid-template-columns: 1fr;
  }

  .hexin-hero {
    padding: 72px 0 48px;
  }

  .hexin-hero-inner {
    gap: 30px;
  }

  .hexin-hero-panel {
    padding: 22px;
  }

  .hexin-panel-grid div {
    min-height: 96px;
  }

  .hexin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hexin-equipment-grid,
  .hexin-network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hexin-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hexin-hero {
    padding: 56px 0 44px;
  }

  .hexin-hero p {
    font-size: 16px;
  }

  .hexin-hero-panel {
    padding: 18px;
  }

  .hexin-stats,
  .hexin-equipment-grid,
  .hexin-network-grid,
  .hexin-process-grid,
  .hexin-richtext p:has(> img + img) {
    grid-template-columns: 1fr;
  }

  .hexin-content {
    padding: 44px 0 58px;
  }

  .hexin-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hexin-panel-grid div {
    min-height: 96px;
    padding: 16px;
  }

  .hexin-panel-grid strong {
    font-size: 20px;
  }

  .hexin-stat,
  .hexin-equipment-card,
  .hexin-network-grid article,
  .hexin-process-step {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hexin-hero-actions {
    flex-direction: column;
  }

  .hexin-btn {
    width: 100%;
  }
}
