.website-accelerator-hero .container {
  max-width: 1280px;
}

.website-accelerator-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.website-accelerator-hero .page-hero-content {
  max-width: 620px;
}

.accelerator-video-card {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.accelerator-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(58, 191, 248, .24);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .18), rgba(15, 23, 42, .72)),
    radial-gradient(circle at 72% 18%, rgba(255, 106, 42, .28), transparent 32%),
    linear-gradient(135deg, rgba(58, 191, 248, .18), rgba(255, 255, 255, .03));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
  overflow: hidden;
}

.accelerator-video-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .45;
}

.accelerator-video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}

.accelerator-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  box-shadow: 0 18px 48px rgba(255, 106, 42, .32);
}

.accelerator-video-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

.accelerator-video-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accelerator-video-copy span {
  color: var(--blue-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.accelerator-video-copy strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.25;
}

.mini-detail {
  min-height: 232px;
}

.mini-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: rgba(58, 191, 248, .1);
  margin-bottom: 18px;
}

.mini-icon svg {
  width: 22px;
  height: 22px;
}

.mini-detail:nth-child(2n) .mini-icon {
  color: var(--orange);
  background: rgba(255, 106, 42, .1);
}

.website-featured-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(58, 191, 248, .06), transparent 48%),
    linear-gradient(180deg, var(--navy), var(--navy-mid));
}

.website-featured-section .container {
  max-width: 1280px;
}

.featured-websites-carousel {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin-top: 56px;
  margin-inline: auto;
}

.featured-websites-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(58, 191, 248, .24);
  border-radius: 8px;
  background: rgba(21, 41, 73, .78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
  outline: none;
}

.featured-websites-viewport:focus-visible {
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .3),
    0 0 0 3px rgba(58, 191, 248, .28);
}

.featured-websites-track {
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform .55s ease;
}

.featured-website-slide {
  flex: 0 0 100%;
  padding: 12px;
}

.featured-website-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  background: #f8fafc;
}

.featured-website-slide figcaption {
  padding: 14px 8px 4px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.featured-websites-btn {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(58, 191, 248, .32);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: rgba(8, 20, 42, .86);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .26);
  padding: 0;
  cursor: pointer;
  appearance: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.featured-websites-btn:hover,
.featured-websites-btn:focus-visible {
  border-color: rgba(58, 191, 248, .62);
  color: var(--blue-light);
  background: rgba(16, 38, 70, .96);
  transform: translateY(-1px);
}

.featured-websites-btn:focus-visible {
  outline: 2px solid rgba(58, 191, 248, .48);
  outline-offset: 3px;
}

.featured-websites-btn svg {
  width: 24px;
  height: 24px;
}

.featured-websites-btn--prev {
  left: -24px;
}

.featured-websites-btn--next {
  right: -24px;
}

.featured-websites-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.featured-websites-dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(58, 191, 248, .55);
  border-radius: 999px;
  background: rgba(58, 191, 248, .16);
  padding: 0;
  cursor: pointer;
  appearance: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.featured-websites-dot:hover,
.featured-websites-dot:focus-visible,
.featured-websites-dot.is-active {
  border-color: var(--blue-light);
  background: var(--blue-light);
  transform: scale(1.08);
}

.featured-websites-dot:focus-visible {
  outline: 2px solid rgba(58, 191, 248, .48);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .website-accelerator-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .website-accelerator-hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .website-accelerator-hero .page-hero-content,
  .accelerator-video-card {
    max-width: 720px;
    justify-self: start;
  }

  .featured-websites-carousel {
    margin-top: 42px;
  }

  .featured-websites-btn--prev {
    left: 12px;
  }

  .featured-websites-btn--next {
    right: 12px;
  }
}

@media (max-width: 600px) {
  .website-accelerator-hero-layout {
    gap: 32px;
  }

  .accelerator-video-play {
    width: 64px;
    height: 64px;
  }

  .accelerator-video-play svg {
    width: 28px;
    height: 28px;
  }

  .accelerator-video-copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .mini-detail {
    min-height: auto;
  }

  .featured-websites-carousel {
    margin-top: 34px;
  }

  .featured-website-slide {
    padding: 8px;
  }

  .featured-websites-btn {
    top: calc(50% - 20px);
    width: 40px;
    height: 40px;
  }

  .featured-websites-btn svg {
    width: 20px;
    height: 20px;
  }

  .featured-website-slide figcaption {
    font-size: .9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-websites-track {
    transition: none;
  }
}
