.delivery-shift {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(7, 11, 24, 0.98), rgba(15, 23, 42, 0.95) 52%, rgba(8, 47, 73, 0.92));
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
  padding: 2rem;
}

.delivery-shift__backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent);
  pointer-events: none;
}

.delivery-shift__copy,
.delivery-shift__visual {
  position: relative;
  z-index: 1;
}

.delivery-shift__copy {
  max-width: 52rem;
}

.delivery-shift__eyebrow {
  color: #67e8f9;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.delivery-shift__title {
  margin-top: 0.9rem;
  max-width: 14ch;
  color: #f8fafc;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.delivery-shift__lede {
  margin-top: 1.15rem;
  max-width: 54rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 1.03rem;
  line-height: 1.8;
}

.delivery-shift__body {
  margin-top: 0.85rem;
  max-width: 50rem;
  color: rgba(165, 243, 252, 0.98);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.8;
}

.delivery-shift__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 2rem;
}

.delivery-shift__panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  padding: 1.4rem;
}

.delivery-shift__panel::before {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 11rem;
  height: 11rem;
  border-radius: 9999px;
  filter: blur(20px);
  opacity: 0.55;
  pointer-events: none;
}

.delivery-shift__panel--legacy::before {
  background: rgba(148, 163, 184, 0.28);
}

.delivery-shift__panel--ai::before {
  background: rgba(34, 211, 238, 0.28);
}

.delivery-shift__panel-kicker {
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.delivery-shift__panel h3 {
  margin-top: 0.7rem;
  color: #f8fafc;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.delivery-shift__panel p {
  margin-top: 0.7rem;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.95rem;
  line-height: 1.65;
}

.delivery-shift__list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.delivery-shift__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.92rem;
  line-height: 1.55;
}

.delivery-shift__list li::before {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.42rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #67e8f9, #38bdf8);
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.12);
}

.delivery-shift__speed {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 1rem;
}

.delivery-shift__speed-label {
  color: rgba(165, 243, 252, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.delivery-shift__speed strong {
  color: #f8fafc;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.delivery-shift__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 7rem;
}

.delivery-shift__bridge-line {
  width: 2px;
  flex: 1 1 auto;
  min-height: 3.5rem;
  background: linear-gradient(180deg, rgba(103, 232, 249, 0), rgba(103, 232, 249, 0.95), rgba(103, 232, 249, 0));
}

.delivery-shift__bridge-burst {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  min-height: 6.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(103, 232, 249, 0.45);
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.38), rgba(14, 165, 233, 0.1) 58%, transparent 72%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 0 10px rgba(34, 211, 238, 0.06),
    0 0 32px rgba(34, 211, 238, 0.28);
  color: #cffafe;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 1023px) {
  .delivery-shift {
    padding: 1.35rem;
  }

  .delivery-shift__visual {
    grid-template-columns: 1fr;
  }

  .delivery-shift__bridge {
    flex-direction: row;
    min-width: 0;
  }

  .delivery-shift__bridge-line {
    width: auto;
    height: 2px;
    min-height: 0;
    min-width: 2.5rem;
    background: linear-gradient(90deg, rgba(103, 232, 249, 0), rgba(103, 232, 249, 0.95), rgba(103, 232, 249, 0));
  }
}

@media (max-width: 640px) {
  .delivery-shift {
    border-radius: 1.6rem;
    margin-bottom: 2.2rem;
  }

  .delivery-shift__title {
    max-width: none;
  }

  .delivery-shift__panel {
    padding: 1.15rem;
  }

  .delivery-shift__speed {
    align-items: flex-start;
    flex-direction: column;
  }
}
