/* ==========================================================================
   bdXHost Custom Stylesheet
   ========================================================================== */

body {
  font-family: 'Roboto Slab', serif;
  background: #fff;
  color: #000;
  scroll-behavior: smooth;
}

/* Menu Hover Links */
.menu-link {
  position: relative;
  transition: 0.3s;
}

.menu-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #000;
  transition: 0.4s;
}

.menu-link:hover::after {
  width: 100%;
}

/* Button Animations */
.btn-animate {
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.btn-animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
}

.btn-animate:hover::before {
  left: 100%;
}

.btn-animate:hover {
  transform: translateY(-3px);
}

/* Pricing Cards */
.price-card {
  transition: 0.4s ease;
  border: 1px solid #ddd;
}

.price-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #000;
}

/* Hero Section */
.hero-text {
  animation: fadeUp 1s ease;
}

/* Back to Top Button */
.scroll-up {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 9999px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
}

.scroll-up.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-up:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Uptime Bar Segment Styling */
.uptime-segment {
  height: 16px;
  width: 4px;
  background-color: #22c55e;
  border-radius: 2px;
  transition: transform 0.2s;
}

.uptime-segment:hover {
  transform: scaleY(1.4);
  background-color: #16a34a;
}

/* Top Progress Bar Loader Animations */
@keyframes fake-progress {
  0% { width: 0%; }
  100% { width: 85%; }
}

.loader-running {
  animation: fake-progress 4s cubic-bezier(0.08, 0.8, 0.1, 1) forwards;
}

.loader-finished {
  width: 100% !important;
  transition: width 0.3s ease-out;
}