html {
  scroll-behavior: smooth;
}
body {
  background-color: #f8fbff;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 115, 230, 0.08);
}
.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a58ca;
}
.btn-primary-custom {
  background-color: #0d6efd;
  border: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-primary-custom:hover {
  background-color: #0b5ed7;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}
.btn-outline-primary {
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}
.card {
  border: none;
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px -10px rgba(0, 70, 150, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  position: relative;
  overflow: visible;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}
.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 45px -15px rgba(13, 110, 253, 0.3);
}
.card:hover::before {
  left: 100%;
}
.card i {
  transition: transform 0.3s ease;
}
.card:hover i {
  transform: scale(1.2) rotate(5deg);
}
.hero-section {
  padding: 3rem 0 4rem;
  animation: fadeInUp 1s ease;
}
.text-primary-custom {
  color: #0a2540;
}
.hero-section .lead {
  color: #1e2a3a;
}
.placeholder {
  background-color: #c0d9f0 !important;
  opacity: 0.6;
  border-radius: 0.375rem;
}
.placeholder-wave .placeholder {
  animation: placeholder-shimmer 1.5s linear infinite;
  background: linear-gradient(90deg, #c0d9f0 0%, #d9e9ff 50%, #c0d9f0 100%);
  background-size: 200% 100%;
}
@keyframes placeholder-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
#skeleton-wrapper, #content-wrapper {
  transition: opacity 0.5s ease;
}
.carousel-inner {
  height: 400px;
  border-radius: 1.5rem;
  background-color: #e9ecef;
  box-shadow: 0 20px 40px -10px rgba(0, 70, 150, 0.25);
  overflow: hidden;
}
.carousel-item {
  height: 100%;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
}
.carousel-item.active img {
  animation: zoomEffect 5s ease;
}
@keyframes zoomEffect {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card {
  animation: fadeInUp 0.8s ease backwards;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.skeleton-carousel {
  height: 400px;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -10px rgba(0, 70, 150, 0.15);
}
footer a {
  transition: all 0.3s ease;
  display: inline-block;
}
footer a:hover {
  color: #0d6efd !important;
  transform: translateX(5px);
}
footer .fs-4 {
  transition: all 0.3s ease;
}
footer .fs-4:hover {
  transform: translateY(-5px) scale(1.2);
  text-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}
.navbar-nav .nav-link {
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0d6efd;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after {
  width: 80%;
}
.navbar-nav .nav-link:hover {
  color: #0d6efd !important;
}
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
  font-weight: 500;
}
.navbar-nav .nav-link.active::after {
  width: 80%;
}
section[id], footer[id] {
  scroll-margin-top: 80px;
}
@media (max-width: 768px) {
  .carousel-inner {
    height: 250px;
  }
  .skeleton-carousel {
    height: 250px;
  }
  .server-spec {
    font-size: 0.9rem;
  }
  .price-tag {
    font-size: 1.3rem;
  }
}
@media (max-width: 576px) {
  .display-4 {
    font-size: 2.2rem;
  }
  .hero-section {
    padding: 2rem 0 2rem;
    text-align: center;
  }
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .navbar-brand {
    font-size: 1.5rem;
  }
  .card {
    margin-bottom: 1rem;
  }
  .card .btn {
    width: 100%;
  }
  section[id], footer[id] {
    scroll-margin-top: 70px;
  }
  .server-spec .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
}
.bi-code-slash {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.shadow-soft {
  box-shadow: 0 10px 40px -15px rgba(0,0,0,0.2);
}
.shadow-hover {
  transition: box-shadow 0.3s ease;
}
.shadow-hover:hover {
  box-shadow: 0 20px 50px -15px rgba(13, 110, 253, 0.4);
}
.placeholder-wave {
  position: relative;
  overflow: hidden;
}
.server-spec {
  font-size: 1.1rem;
  background: #f0f7ff;
  padding: 0.5rem;
  border-radius: 2rem;
  display: inline-block;
  margin: 0.5rem 0;
}
.price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
}
.badge-populer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background-color: #0d6efd;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
  white-space: nowrap;
}
.card.border-primary {
  overflow: visible;
}
#content-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.footer {
  margin-top: auto;
}
.navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}