@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
  font-family: 'Inter', sans-serif;
}

/* ---------- Teks gradasi ---------- */
.gradient-text {
  background: linear-gradient(135deg, #00E0FF 0%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Efek kaca (kartu, navbar, badge) ---------- */
.glass-effect {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Hover angkat ---------- */
.hover-lift {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

/* ---------- Garis pemisah antar section ---------- */
.section-divider {
  background: linear-gradient(90deg, transparent, rgba(0, 224, 255, 0.3), transparent);
  height: 1px;
}

/* ---------- Indikator scroll di hero ---------- */
@keyframes scroll-fade {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

.scroll-indicator {
  animation: scroll-fade 2s ease-in-out infinite;
}

/* ---------- Scroll halus ---------- */
html {
  scroll-behavior: smooth;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0B0F19;
}

::-webkit-scrollbar-thumb {
  background: #00E0FF;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0EA5E9;
}

/* ---------- Warna dasar sebelum Tailwind CDN selesai dimuat ---------- */
body {
  background: #0B0F19;
  color: #fff;
}

/* ---------- Hormati preferensi kurangi animasi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hover-lift,
  .scroll-indicator,
  .animate-float,
  .animate-glow {
    animation: none !important;
    transition: none !important;
  }
}