@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.fade-in {
  animation: fade-in 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 14px rgba(0,255,255,0.4); }
  50% { box-shadow: 0 0 30px rgba(0,255,255,0.8); }
}
.pulse-glow { animation: pulse-glow 2.5s infinite ease-in-out; }

/* ===================================================
   🪩 WARNA & FONT GLOBAL — Web3 terminal vibes
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&family=Orbitron:wght@600;800&display=swap');

:root {
  --bg-dark: #060b16;
  --card-bg: rgba(13, 20, 35, 0.7);
  --primary-cyan: #00eaff;
  --secondary-pink: #ff1ec7;
  --text-light: #e0f7fa;
  --text-dim: rgba(255,255,255,0.7);
  --grid-lines: rgba(255,255,255,0.03);
  --glass-blur: blur(12px);
}

body {
  background: radial-gradient(circle at 30% 20%, #0b1328, #050811 70%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-light);
  overflow-x: hidden;
  position: relative;
}

/* ===================================================
   ✨ TEKS & GLOW
   =================================================== */
.glow-text {
  color: var(--primary-cyan);
  text-shadow: 0 0 15px rgba(0, 234, 255, 0.6);
  transition: 0.3s ease;
}
.glow-text:hover {
  text-shadow: 0 0 30px #00eaff, 0 0 60px #00eaff;
}

.soft-glow {
  text-shadow: 0 0 20px #00eaff, 0 0 40px #00eaff;
}

header h1 {
  letter-spacing: 3px;
  font-weight: 700;
  background: linear-gradient(90deg, #00eaff, #ff1ec7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
}

/* ===================================================
   ⚙️ SERVICE SECTION
   =================================================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
  gap: 25px;
  list-style: none;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
  font-size: 18px;
  padding: 10px 10px;
  max-width: 900px;
  width: 100%;
}

.service-list li {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(0, 234, 255, 0.25);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 234, 255, 0.12);
  text-align: center;
  padding: 20px 18px;
  color: var(--text-light);
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  animation: fade-in 0.8s ease forwards;
  flex: 0 1 280px;
}

/* Definisikan animasi fade-in jika belum ada di CSS global */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-list li:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--secondary-pink);
  background: rgba(0, 234, 255, 0.1);
  box-shadow: 0 0 30px rgba(255, 30, 199, 0.35);
}

@media (min-width: 768px) {
  .service-list { padding: 30px; }
  .service-list li { flex: 0 1 280px; }
}

/* ===================================================
   💠 MODAL DETAIL HARGA
   =================================================== */
#detailModal {
  backdrop-filter: blur(12px);
}
#welcomeModal {
  backdrop-filter: blur(12px);
}
#detailModal h2 {
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px rgba(0,234,255,0.8);
  letter-spacing: 1px;
}
#detailModal img {
  transition: 0.4s ease;
}
#detailModal img:hover {
  transform: scale(1.05);
}
#detailModal .modal-card,
#welcomeModal .modal-card {
  animation: modal-in 0.35s ease-out forwards;
  transform-origin: center;
}
.modal-close {
  transition: 0.25s ease;
}
.modal-close:hover {
  transform: scale(1.05);
}
.modal-close i::before {
  content: "×";
  font-size: 16px;
  line-height: 1;
}
.price-item {
  transition: 0.25s ease;
}
.price-item:hover {
  transform: translateY(-2px);
}
.cta-hover {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.cta-hover:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 234, 255, 0.25);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
#priceList li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 4px;
}

/* ===================================================
   ⚡ FOOTER — Fixed, glowing & responsive
   =================================================== */
footer {
  position: fixed;
  bottom: 2%;
  left: 5%;
  right: 5%;
  max-width: 650px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  background-color: rgba(10, 21, 42, 0.9); /* lebih tegas */
  border: 2px solid rgba(0, 234, 255, 0.6); /* lebih jelas */
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); /* lebih terang */
  padding: 8px 14px; 
  color: #d0faff;
  font-size: 13px;
  backdrop-filter: blur(4px);
  z-index: 20;
}

footer p {
  color: var(--primary-cyan);
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

footer span {
  color: var(--text-dim);
  margin-right: 10px;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    padding: 5px 10px; /* lebih tipis untuk mobile */
    left: 5%;
    right: 5%;
  }
}

.running-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
}
@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ===================================================
   🧠 NEURAL NETWORK BACKGROUND — UPGRADE: Dinamis, Interaktif, Immersive
   =================================================== */
.neural-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
}

.neural-node {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-cyan);
  box-shadow: 0 0 12px var(--primary-cyan), 0 0 24px rgba(0, 234, 255, 0.6);
  animation: neural-pulse 4s infinite ease-in-out;
}

.neural-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-cyan), transparent);
  transform-origin: left center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

@keyframes neural-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.5); opacity: 1; }
}

/* ===================================================
   ⚡ SCROLLBAR
   =================================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00eaff, #ff1ec7);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff1ec7, #00eaff);
}

/* ===================================================
   📱 RESPONSIF
   =================================================== */
@media (max-width: 768px) {
  .service-list li { flex: 0 1 calc(50% - 25px); }
  #chat-toggle { width: 55px; height: 55px; font-size: 22px; }
}
@media (max-width: 480px) {
  .service-list li { flex: 0 1 100%; }
  body { font-size: 0.9rem; }
}
