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

.hz-dts-scatter,
.hz-dts-scatter * {
  box-sizing: border-box;
}

.hz-dts-scatter {
  --hz-orange: #ec682e;
  --hz-navy: #071d33;
  --hz-blue: #0b2f4d;
  --hz-cyan: #39c6ff;
  --hz-green: #72d572;
  --hz-red: #ff674d;
  --hz-yellow: #ffd166;
  --hz-text: #4b5563;
  --hz-muted: #64748b;
  --hz-border: #e5e7eb;
  --hz-soft: #f7f9fc;

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

.hz-dts-scatter h2,
.hz-dts-scatter h3,
.hz-dts-scatter p {
  margin: 0;
}

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

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

.hz-dts-scatter-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-dts-scatter-eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--hz-orange);
}

.hz-dts-scatter-title {
  max-width: 1060px;
  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-dts-scatter-desc {
  max-width: 1060px;
  color: var(--hz-text);
  font-size: 17px;
  line-height: 1.8;
}

.hz-dts-demo {
  margin-top: 46px;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(236, 104, 46, 0.18), transparent 32%),
    linear-gradient(135deg, #071d33 0%, #0d304f 100%);
  box-shadow: 0 28px 80px rgba(7, 29, 51, 0.16);
  overflow: hidden;
}

.hz-dts-demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.hz-dts-demo-copy h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
}

.hz-dts-demo-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.hz-dts-equation {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.hz-dts-equation strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.hz-dts-equation span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.65;
}

/* Animation area */
.hz-dts-anim {
  position: relative;
  min-height: 430px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.hz-dts-device {
  position: absolute;
  left: 30px;
  top: 42%;
  transform: translateY(-50%);
  width: 132px;
  height: 88px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #d9e4ee 100%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  z-index: 5;
}

.hz-dts-device::before {
  content: "DTS";
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.hz-dts-device::after {
  content: "OTDR";
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #64748b;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hz-dts-fiber {
  position: absolute;
  left: 162px;
  right: 34px;
  top: 42%;
  height: 140px;
  transform: translateY(-50%);
  z-index: 3;
}

.hz-dts-fiber-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 66px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #54c9ff, #ffffff, #54c9ff);
  box-shadow: 0 0 22px rgba(57, 198, 255, 0.62);
}
/* Sampling ruler: show 0.4 m sample spacing */
.hz-dts-sampling-ruler {
  position: absolute;
  left: 0;
  right: 0;
  top: 90px;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  align-items: start;
  z-index: 4;
}

.hz-dts-sample-point {
  position: relative;
  height: 54px;
  text-align: center;
}

.hz-dts-sample-point::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 12px rgba(57, 198, 255, 0.75);
  animation: hz-dts-sample-blink 2.4s ease-in-out infinite;
}

.hz-dts-sample-point:nth-child(2)::before { animation-delay: 0.1s; }
.hz-dts-sample-point:nth-child(3)::before { animation-delay: 0.2s; }
.hz-dts-sample-point:nth-child(4)::before { animation-delay: 0.3s; }
.hz-dts-sample-point:nth-child(5)::before { animation-delay: 0.4s; }
.hz-dts-sample-point:nth-child(6)::before { animation-delay: 0.5s; }
.hz-dts-sample-point:nth-child(7)::before { animation-delay: 0.6s; }
.hz-dts-sample-point:nth-child(8)::before { animation-delay: 0.7s; }
.hz-dts-sample-point:nth-child(9)::before { animation-delay: 0.8s; }
.hz-dts-sample-point:nth-child(10)::before { animation-delay: 0.9s; }
.hz-dts-sample-point:nth-child(11)::before { animation-delay: 1s; }

@keyframes hz-dts-sample-blink {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.hz-dts-sample-point span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.hz-dts-resolution-window {
  position: absolute;
  left: 20%;
  top: 118px;
  width: 25%;
  height: 28px;
  border-left: 2px solid rgba(236, 104, 46, 0.9);
  border-right: 2px solid rgba(236, 104, 46, 0.9);
  border-bottom: 2px solid rgba(236, 104, 46, 0.9);
  border-radius: 0 0 10px 10px;
  z-index: 5;
}

.hz-dts-resolution-window::after {
  content: "1 m spatial resolution";
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(236, 104, 46, 0.16);
  border: 1px solid rgba(236, 104, 46, 0.38);
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.hz-dts-sampling-label {
  position: absolute;
  left: 0;
  top: 152px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.4;
  z-index: 5;
}

.hz-dts-sampling-label strong {
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
}
.hz-dts-laser {
  position: absolute;
  top: 58px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 30px rgba(57, 198, 255, 0.95);
  animation: hz-dts-laser-move 4.6s linear infinite;
}

.hz-dts-laser::before {
  content: "Laser pulse";
  position: absolute;
  left: -28px;
  top: -36px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(57, 198, 255, 0.16);
  border: 1px solid rgba(57, 198, 255, 0.35);
  color: #e5f8ff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes hz-dts-laser-move {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 1; }
  82% { opacity: 1; }
  100% { left: calc(100% - 24px); opacity: 0; }
}

/* Temperature event inside fiber */
.hz-dts-event {
  position: absolute;
  top: 24px;
  left: 64%;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(236, 104, 46, 0.16);
  border: 1px solid rgba(236, 104, 46, 0.6);
  box-shadow: 0 0 40px rgba(236, 104, 46, 0.48);
  animation: hz-dts-event-pulse 1.8s ease-in-out infinite;
}

.hz-dts-event::before {
  content: "Temperature ↑";
  position: absolute;
  left: 50%;
  top: -36px;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--hz-orange);
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.hz-dts-event::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: 2px;
  height: 58px;
  background: rgba(236, 104, 46, 0.85);
  transform: translateX(-50%);
}

@keyframes hz-dts-event-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* Raman scatter particles */
.hz-dts-scatter-dot {
  position: absolute;
  left: 67%;
  top: 61px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0;
  animation: hz-dts-scatter-burst 2.3s ease-in-out infinite;
}

.hz-dts-scatter-dot.dot1 {
  background: var(--hz-green);
  box-shadow: 0 0 16px rgba(114, 213, 114, 0.9);
  animation-delay: 0s;
}

.hz-dts-scatter-dot.dot2 {
  background: var(--hz-red);
  box-shadow: 0 0 16px rgba(255, 103, 77, 0.95);
  animation-delay: 0.2s;
}

.hz-dts-scatter-dot.dot3 {
  background: var(--hz-yellow);
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.9);
  animation-delay: 0.4s;
}

@keyframes hz-dts-scatter-burst {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  22% { opacity: 1; }
  60% { transform: translate(-26px, -34px) scale(1); opacity: 0.9; }
  100% { transform: translate(-52px, -62px) scale(0.8); opacity: 0; }
}

/* Return Stokes and Anti-Stokes signals */
.hz-dts-stokes,
.hz-dts-antistokes {
  position: absolute;
  right: 6%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  animation: hz-dts-return 4.6s linear infinite;
}

.hz-dts-stokes {
  top: 35px;
  background: var(--hz-green);
  box-shadow: 0 0 22px rgba(114, 213, 114, 0.86);
}

.hz-dts-antistokes {
  top: 96px;
  background: var(--hz-red);
  box-shadow: 0 0 22px rgba(255, 103, 77, 0.94);
}

.hz-dts-stokes::before,
.hz-dts-antistokes::before {
  position: absolute;
  top: -30px;
  right: -12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.hz-dts-stokes::before {
  content: "Stokes reference";
  background: rgba(114, 213, 114, 0.2);
  border: 1px solid rgba(114, 213, 114, 0.42);
}

.hz-dts-antistokes::before {
  content: "Anti-Stokes changes with temperature";
  background: rgba(255, 103, 77, 0.2);
  border: 1px solid rgba(255, 103, 77, 0.42);
}

.hz-dts-stokes::after,
.hz-dts-antistokes::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 12px;
  width: 88px;
  height: 4px;
  border-radius: 999px;
}

.hz-dts-stokes::after {
  background: linear-gradient(90deg, rgba(114, 213, 114, 0.92), transparent);
}

.hz-dts-antistokes::after {
  background: linear-gradient(90deg, rgba(255, 103, 77, 0.95), transparent);
  animation: hz-dts-antistokes-stronger 1.8s ease-in-out infinite;
}

@keyframes hz-dts-return {
  0%, 44% { right: 6%; opacity: 0; }
  52% { opacity: 1; }
  100% { right: calc(100% - 18px); opacity: 0; }
}

@keyframes hz-dts-antistokes-stronger {
  0%, 100% { width: 58px; opacity: 0.65; }
  50% { width: 108px; opacity: 1; }
}

/* Bottom formula / graph */
.hz-dts-bottom {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 6;
}

.hz-dts-formula-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(7, 29, 51, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.hz-dts-formula-card strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.hz-dts-formula-card span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.hz-dts-formula-card em {
  color: #ffffff;
  font-style: normal;
  font-weight: 700;
}

.hz-dts-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 58px;
  margin-top: 8px;
}

.hz-dts-bar {
  width: 34px;
  border-radius: 8px 8px 0 0;
}

.hz-dts-bar.stokes {
  height: 34px;
  background: var(--hz-green);
}

.hz-dts-bar.antistokes {
  height: 22px;
  background: var(--hz-red);
  animation: hz-dts-bar-rise 1.8s ease-in-out infinite;
}

@keyframes hz-dts-bar-rise {
  0%, 100% { height: 22px; }
  50% { height: 52px; }
}

/* Explanation cards */
.hz-dts-explain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.hz-dts-explain-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--hz-border);
  box-shadow: 0 14px 34px rgba(7, 29, 51, 0.045);
}

.hz-dts-explain-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--hz-orange);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.hz-dts-explain-card h3 {
  margin-bottom: 8px;
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
}

.hz-dts-explain-card p {
  color: var(--hz-text);
  font-size: 14.5px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .hz-dts-demo-grid {
    grid-template-columns: 1fr;
  }

  .hz-dts-scatter-title {
    font-size: 38px;
  }

  .hz-dts-explain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hz-dts-scatter-section {
    padding: 62px 0;
  }

  .hz-dts-scatter-title {
    font-size: 30px;
    letter-spacing: -0.7px;
  }

  .hz-dts-scatter-desc {
    font-size: 16px;
  }

  .hz-dts-demo {
    padding: 24px;
    border-radius: 22px;
  }

  .hz-dts-anim {
    min-height: 500px;
    padding: 18px;
  }

  .hz-dts-device {
    width: 92px;
    height: 68px;
    left: 18px;
  }

  .hz-dts-device::before {
    left: 13px;
    top: 14px;
    font-size: 16px;
  }

  .hz-dts-device::after {
    left: 13px;
    bottom: 13px;
    font-size: 10px;
  }

  .hz-dts-fiber {
    left: 118px;
    right: 18px;
  }

  .hz-dts-event {
    left: 58%;
  }

  .hz-dts-bottom,
  .hz-dts-explain-grid {
    grid-template-columns: 1fr;
  }

  .hz-dts-bottom {
    left: 18px;
    right: 18px;
  }
}
