::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

#site-header {
  height: 64px;
  min-height: 64px;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  overflow: visible;
}

.site-main-nav {
  height: 64px;
  min-height: 64px;
  background: #ffffff;
}

.site-nav-inner {
  max-width: 80rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-nav-row {
  display: flex;
  height: 100%;
  justify-content: space-between;
}

.site-nav-left,
.site-nav-actions,
.site-logo,
.site-nav-link {
  display: flex;
  align-items: center;
}

.site-logo {
  flex-shrink: 0;
  color: #111827;
  text-decoration: none;
}

.site-logo-icon {
  margin-right: 0.5rem;
  color: #0052d9;
  font-size: 1.5rem;
}

.site-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-nav-links {
  display: none;
}

.site-nav-link {
  height: 64px;
  padding: 0.25rem 0.25rem 0;
  border-bottom: 2px solid transparent;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav-link:hover {
  border-color: #d1d5db;
  color: #374151;
}

.site-nav-link.is-active {
  border-color: #0052d9;
  color: #111827;
}

.site-nav-actions {
  gap: 1rem;
}

.site-console-link {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.site-console-link:hover,
.site-console-link.is-active {
  color: #0052d9;
}

.site-login-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 1rem;
  border-radius: 0.25rem;
  background: #0052d9;
  color: #ffffff;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: background 0.2s;
}

.site-login-link:hover {
  background: #0047bd;
}

@media (min-width: 640px) {
  .site-nav-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .site-nav-links {
    display: flex;
    gap: 2rem;
    margin-left: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .site-nav-inner {
    padding: 0 2rem;
  }
}

.home-hero {
  height: 550px;
  max-height: 550px;
  padding: 3.25rem 0 8.5rem;
  background-color: #eaf7ff;
  background-image:
    radial-gradient(circle at 72% 12%, rgb(212 238 255 / 0.78) 0%, rgb(212 238 255 / 0) 34%),
    radial-gradient(circle at 20% 10%, rgb(244 250 255 / 0.92) 0%, rgb(244 250 255 / 0) 36%),
    linear-gradient(180deg, rgb(226 243 255 / 0) 0%, #ffffff 100%),
    linear-gradient(90deg, #f8fcff 0%, #eef8ff 42%, #dff1ff 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-hero-server-image {
  position: absolute;
  top: 4.25rem;
  right: max(5rem, calc((100vw - 80rem) / 2 + 1.5rem));
  z-index: 1;
  width: min(30vw, 460px);
  max-height: 315px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 26px 46px rgb(20 83 180 / 0.2));
  transform: rotate(7deg);
  animation: home-server-float 6s ease-in-out infinite;
}

@keyframes home-server-float {
  0%,
  100% {
    transform: translateY(0) rotate(7deg);
  }

  50% {
    transform: translateY(-14px) rotate(9deg);
  }
}

.home-overlap-panel {
  margin-top: -8.5rem;
}

.home-product-tabs {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
}

.home-product-tabs .popular-product-tab {
  width: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #4b5563;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-product-tabs .popular-product-tab:hover {
  color: #0052d9;
}

.home-product-tabs .popular-product-tab.active {
  color: #0052d9;
  background: #ffffff;
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.12);
}

.popular-product-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.popular-product-panel.active {
  display: grid;
}

@media (min-width: 768px) {
  .popular-product-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-hero {
    height: 550px;
    max-height: 550px;
    padding: 2.5rem 0 7rem;
    background-position: 58% center;
  }

  .home-overlap-panel {
    margin-top: -7rem;
  }

  .home-hero-server-image {
    display: none;
  }
}

#site-footer {
  min-height: 500px;
  margin-top: auto;
  background: #1f2937;
}

@media (min-width: 768px) {
  #site-footer {
    min-height: 250px;
  }
}

.option-btn {
  transition: all 0.2s;
}

.option-btn.active {
  border-color: #0052d9;
  background-color: #e0ebfb;
  color: #0052d9;
  font-weight: 500;
}

.option-btn.active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-bottom: 12px solid #0052d9;
  border-left: 12px solid transparent;
}

.option-btn.active .check-icon {
  display: block;
}

@keyframes blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}
