
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@500;600&display=swap');

.hz-wl-edge,
.hz-wl-edge * {
  box-sizing: border-box;
}

.hz-wl-edge {
  --hz-orange: #ec682e;
  --hz-orange-soft: rgba(236, 104, 46, 0.12);
  --hz-navy: #071d33;
  --hz-blue: #0b2f4d;
  --hz-cyan: #39c6ff;
  --hz-green: #72d572;
  --hz-text: #4b5563;
  --hz-muted: #64748b;
  --hz-border: #e5e7eb;
  --hz-soft: #f7f9fc;
  --hz-white: #ffffff;

  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: var(--hz-text);
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.65;
}

.hz-wl-edge h2,
.hz-wl-edge h3,
.hz-wl-edge p {
  margin: 0;
}

.hz-wl-edge-section {
  padding: 86px 0;
  background: var(--hz-soft);
}

.hz-wl-edge-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 40px;
}

.hz-wl-edge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--hz-orange);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hz-wl-edge-eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--hz-orange);
  display: inline-block;
}

.hz-wl-edge-title {
  max-width: 1080px;
  margin-bottom: 18px;
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 44px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -1px;
}

.hz-wl-edge-desc {
  max-width: 1100px;
  color: var(--hz-text);
  font-size: 17px;
  line-height: 1.8;
}

/* Main layout */
.hz-wl-edge-main {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 30px;
  align-items: stretch;
}

/* Visual panel */
.hz-wl-edge-visual {
  position: relative;
  min-height: 520px;
  padding: 34px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(236, 104, 46, 0.22), transparent 34%),
    linear-gradient(135deg, #071d33 0%, #0b2f4d 100%);
  box-shadow: 0 24px 64px rgba(7, 29, 51, 0.16);
}

.hz-wl-edge-visual h3 {
  max-width: 560px;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
}

.hz-wl-edge-visual p {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(255,255,255,0.74);
  font-size: 15.5px;
  line-height: 1.75;
}

/* Animated workflow */
.hz-wl-edge-flow {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  height: 300px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  overflow: hidden;
}

.hz-wl-node {
  position: absolute;
  z-index: 4;
  width: 118px;
  height: 118px;
  border-radius: 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}

.hz-wl-node strong {
  display: block;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}

.hz-wl-node span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.62);
  font-size: 11.5px;
  line-height: 1.3;
}

.hz-wl-node.sensor {
  left: 34px;
  top: 82px;
}

.hz-wl-node.edge {
  left: 50%;
  top: 82px;
  transform: translateX(-50%);
  background: rgba(236,104,46,0.16);
  border-color: rgba(236,104,46,0.38);
  box-shadow: 0 0 36px rgba(236,104,46,0.22);
  animation: hz-wl-edge-pulse 2.2s ease-in-out infinite;
}

.hz-wl-node.platform {
  right: 34px;
  top: 82px;
}

@keyframes hz-wl-edge-pulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(236,104,46,0.18);
    transform: translateX(-50%) scale(0.98);
  }
  50% {
    box-shadow: 0 0 48px rgba(236,104,46,0.35);
    transform: translateX(-50%) scale(1.03);
  }
}

.hz-wl-flow-line {
  position: absolute;
  left: 152px;
  right: 152px;
  top: 140px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(57,198,255,0.2), rgba(57,198,255,0.85), rgba(57,198,255,0.2));
}

.hz-wl-flow-line::before,
.hz-wl-flow-line::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(57,198,255,0.9);
  animation: hz-wl-data-move 3s linear infinite;
}

.hz-wl-flow-line::after {
  animation-delay: 1.5s;
}

@keyframes hz-wl-data-move {
  0% {
    left: 0%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 14px);
    opacity: 0;
  }
}

.hz-wl-edge-badges {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hz-wl-edge-badge {
  padding: 13px 12px;
  border-radius: 15px;
  background: rgba(7, 29, 51, 0.68);
  border: 1px solid rgba(255,255,255,0.12);
}

.hz-wl-edge-badge strong {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.hz-wl-edge-badge span {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 11.5px;
  line-height: 1.35;
}

/* Cards */
.hz-wl-edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.hz-wl-edge-card {
  min-height: 238px;
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--hz-border);
  box-shadow: 0 14px 34px rgba(7, 29, 51, 0.045);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hz-wl-edge-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236,104,46,0.35);
  box-shadow: 0 22px 52px rgba(7, 29, 51, 0.1);
}

.hz-wl-edge-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--hz-orange-soft);
  color: var(--hz-orange);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.hz-wl-edge-card h3 {
  margin-bottom: 10px;
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 21px;
  line-height: 1.32;
  font-weight: 500;
}

.hz-wl-edge-card p {
  color: var(--hz-text);
  font-size: 14.8px;
  line-height: 1.7;
}

/* Integration strip */
.hz-wl-edge-strip {
  margin-top: 30px;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--hz-border);
  box-shadow: 0 14px 34px rgba(7, 29, 51, 0.045);
}

.hz-wl-edge-strip h3 {
  margin-bottom: 16px;
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.hz-wl-protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hz-wl-protocols span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--hz-soft);
  border: 1px solid var(--hz-border);
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
}

.hz-wl-edge-note {
  margin-top: 16px;
  color: var(--hz-muted);
  font-size: 13.5px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .hz-wl-edge-title {
    font-size: 38px;
  }

  .hz-wl-edge-main {
    grid-template-columns: 1fr;
  }

  .hz-wl-edge-visual {
    min-height: 540px;
  }
}

@media (max-width: 768px) {
  .hz-wl-edge-container {
    padding: 0 22px;
  }

  .hz-wl-edge-section {
    padding: 62px 0;
  }

  .hz-wl-edge-title {
    font-size: 30px;
    letter-spacing: -0.7px;
  }

  .hz-wl-edge-desc {
    font-size: 16px;
  }

  .hz-wl-edge-visual {
    min-height: 680px;
    padding: 26px 22px;
  }

  .hz-wl-edge-visual h3 {
    font-size: 26px;
  }

  .hz-wl-edge-flow {
    left: 22px;
    right: 22px;
    height: 420px;
  }

  .hz-wl-node {
    width: 102px;
    height: 102px;
    border-radius: 22px;
  }

  .hz-wl-node.sensor {
    left: 18px;
    top: 58px;
  }

  .hz-wl-node.edge {
    left: 50%;
    top: 174px;
  }

  .hz-wl-node.platform {
    right: 18px;
    top: 58px;
  }

  .hz-wl-flow-line {
    left: 70px;
    right: 70px;
    top: 154px;
    transform: rotate(90deg);
  }

  .hz-wl-edge-badges {
    grid-template-columns: 1fr 1fr;
    left: 18px;
    right: 18px;
  }

  .hz-wl-edge-grid {
    grid-template-columns: 1fr;
  }

  .hz-wl-edge-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .hz-wl-edge-strip {
    padding: 24px 22px;
  }
}
