.infrastructure-metrics {
  position: relative;
  isolation: isolate;
  width: calc(100% - 12px);
  max-width: none;
  margin: -1px auto 0;
  padding: 121px max(18px, calc((100vw - var(--hero-rail)) / 2)) 112px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 32%, rgba(118, 185, 252, 0.16), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(92, 247, 187, 0.11), transparent 29%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 10%, #f8fbff 58%, #ffffff 100%);
}

.infrastructure-metrics::before {
  position: absolute;
  inset: 72px 0 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(2, 2, 13, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 2, 13, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 76%);
  opacity: 0.62;
}

.workflow-inside {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  gap: clamp(52px, 6vw, 104px);
  align-items: center;
  width: min(100%, var(--hero-rail));
  margin: 0 auto;
}

.workflow-copy h2 {
  max-width: 620px;
}

.workflow-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 22px;
  color: rgba(2, 2, 13, 0.62);
  font-size: 18px;
  line-height: 1.6;
}

.workflow-points {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(2, 2, 13, 0.08);
  border-radius: 16px;
  color: rgba(2, 2, 13, 0.8);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 54px rgba(2, 2, 13, 0.045), inset 0 1px rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.workflow-points span {
  display: inline-grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #0067f4;
  background: rgba(0, 103, 244, 0.08);
  font-size: 11px;
  font-weight: 900;
}

.workflow-stream {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(2, 2, 13, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(92, 247, 187, 0.12), transparent 28%),
    radial-gradient(circle at 100% 22%, rgba(0, 103, 244, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 110px rgba(2, 2, 13, 0.11), inset 0 1px rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.08);
}

.workflow-stream::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(2, 2, 13, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 2, 13, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 78%);
  opacity: 0.7;
  pointer-events: none;
}

.workflow-stream > * {
  position: relative;
}

.stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(2, 2, 13, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.86);
}

.stream-header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stream-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #5cf7bb;
  box-shadow: 0 0 18px rgba(92, 247, 187, 0.72);
}

.stream-header strong,
.stream-header b {
  color: #02020d;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.stream-header b {
  color: #0067f4;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stream-events {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 20px;
  list-style: none;
}

.stream-events::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 27px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(0, 103, 244, 0.18), rgba(92, 247, 187, 0.52), rgba(0, 103, 244, 0.14));
}

.stream-events li {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  animation: streamReveal 0.72s ease both;
  animation-delay: calc(var(--event-index, 0) * 95ms);
}

.stream-events li:nth-child(1) {
  --event-index: 1;
}

.stream-events li:nth-child(2) {
  --event-index: 2;
}

.stream-events li:nth-child(3) {
  --event-index: 3;
}

.stream-events li:nth-child(4) {
  --event-index: 4;
}

.stream-events li:nth-child(5) {
  --event-index: 5;
}

.stream-events li:nth-child(6) {
  --event-index: 6;
}

.stream-events li::before {
  position: absolute;
  top: 50%;
  left: 2px;
  z-index: 1;
  width: 13px;
  height: 13px;
  content: "";
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #5cf7bb;
  box-shadow: 0 0 0 5px rgba(92, 247, 187, 0.12), 0 0 22px rgba(92, 247, 187, 0.3);
  transform: translateY(-50%);
}

.stream-events time {
  color: rgba(2, 2, 13, 0.48);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.stream-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 15px 16px;
  border: 1px solid rgba(2, 2, 13, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(2, 2, 13, 0.055), inset 0 1px rgba(255, 255, 255, 0.94);
}

.stream-event-card h3 {
  margin: 0;
  color: #02020d;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stream-event-card p {
  margin-top: 6px;
  color: rgba(2, 2, 13, 0.54);
  font-size: 13px;
}

.stream-event-card > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 28px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #0067f4;
  background: rgba(0, 103, 244, 0.08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stream-event-active .stream-event-card {
  border-color: rgba(92, 247, 187, 0.32);
  background:
    radial-gradient(circle at 96% 50%, rgba(92, 247, 187, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(2, 2, 13, 0.08), 0 0 40px rgba(92, 247, 187, 0.16), inset 0 1px rgba(255, 255, 255, 0.96);
}

.stream-event-active .stream-event-card > span {
  color: #02020d;
  background: rgba(92, 247, 187, 0.2);
}

.stream-event-active::before {
  animation: streamPulse 2.4s ease-in-out infinite;
}

@keyframes streamReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes streamPulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(92, 247, 187, 0.12), 0 0 22px rgba(92, 247, 187, 0.3);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(92, 247, 187, 0.18), 0 0 34px rgba(92, 247, 187, 0.5);
  }
}

@media (max-width: 1199px) {
  .workflow-inside {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .workflow-copy h2,
  .workflow-copy > p:not(.eyebrow),
  .workflow-points {
    max-width: 760px;
  }
}

@media (max-width: 809px) {
  .infrastructure-metrics {
    padding: 76px 18px 72px;
  }

  .workflow-stream {
    padding: 12px;
    border-radius: 24px;
  }

  .stream-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .stream-events {
    padding-left: 14px;
  }

  .stream-events::before {
    left: 20px;
  }

  .stream-events li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 22px;
  }

  .stream-events li::before {
    left: -1px;
    top: 22px;
  }

  .stream-events time {
    text-align: left;
  }

  .stream-event-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stream-events li,
  .stream-event-active::before {
    animation: none;
  }
}

.why-dae {
  position: relative;
  isolation: isolate;
  width: calc(100% - 12px);
  max-width: none;
  margin: 0 auto;
  padding: 118px max(18px, calc((100vw - var(--hero-rail)) / 2)) 112px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 103, 244, 0.18), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(92, 247, 187, 0.11), transparent 30%),
    linear-gradient(135deg, #02020d 0%, #080936 48%, #02020d 100%);
}

.why-dae::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 76%);
  opacity: 0.5;
}

.why-dae-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  column-gap: clamp(36px, 6vw, 96px);
  row-gap: 18px;
  align-items: end;
  width: min(100%, var(--hero-rail));
  margin: 0 auto 48px;
}

.why-dae .eyebrow {
  grid-column: 1;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.why-dae-head h2 {
  grid-column: 1;
  max-width: 780px;
  color: var(--white);
}

.why-dae-head > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
  line-height: 1.62;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, var(--hero-rail));
  margin: 0 auto;
}

.comparison-grid article {
  position: relative;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.082);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.043);
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.18), inset 0 1px rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px) saturate(1.05);
}

.comparison-grid article::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 22% 0%, rgba(118, 185, 252, 0.075), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  opacity: 0.62;
  pointer-events: none;
}

.comparison-grid article > * {
  position: relative;
}

.comparison-grid article > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 84px;
  place-items: center;
  border-radius: 999px;
  color: #5cf7bb;
  background: rgba(92, 247, 187, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.comparison-grid h3 {
  color: var(--white);
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.comparison-grid p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 15px;
  line-height: 1.52;
}

.dae-difference-card {
  border-color: rgba(92, 247, 187, 0.42) !important;
  background:
    radial-gradient(circle at 72% 14%, rgba(92, 247, 187, 0.26), transparent 34%),
    radial-gradient(circle at 12% 100%, rgba(0, 103, 244, 0.24), transparent 38%),
    rgba(255, 255, 255, 0.085) !important;
  box-shadow: 0 38px 112px rgba(0, 0, 0, 0.28), 0 0 56px rgba(92, 247, 187, 0.16), inset 0 1px rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-4px);
}

.dae-difference-card::before {
  background:
    radial-gradient(circle at 68% 8%, rgba(92, 247, 187, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  opacity: 0.9;
}

.dae-difference-card h3 {
  color: #ffffff;
  text-shadow: 0 0 22px rgba(92, 247, 187, 0.14);
}

.dae-difference-card p {
  color: rgba(255, 255, 255, 0.7);
}

.dae-difference-card strong {
  display: block;
  margin-top: 18px;
  color: #5cf7bb;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.why-dae-closing {
  width: fit-content;
  max-width: min(100%, 860px);
  margin: 36px auto 0;
  padding: 18px 24px;
  border: 1px solid rgba(92, 247, 187, 0.24);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.082);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2), 0 0 34px rgba(92, 247, 187, 0.08), inset 0 1px rgba(255, 255, 255, 0.08);
  text-align: center;
  backdrop-filter: blur(14px);
}

.why-dae-closing p {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

@media (max-width: 1199px) {
  .why-dae-head,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 809px) {
  .why-dae {
    padding: 78px 18px 76px;
  }

  .why-dae-head,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .why-dae-head {
    gap: 24px;
  }

  .why-dae .eyebrow,
  .why-dae-head h2,
  .why-dae-head > p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

  .comparison-grid article {
    min-height: auto;
  }

  .comparison-grid article > span {
    margin-bottom: 48px;
  }

  .why-dae-closing {
    border-radius: 22px;
  }
}
