/* RESET & BASIC */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Arial, Helvetica, sans-serif; background:#0a0a0f; color:#fff; line-height:1.5; overflow-x: hidden; }

/* NAVBAR */
.navbar { 
  background:#020617; 
  padding:15px 20px; 
  display:flex; 
  align-items:center; 
  justify-content: space-between; /* Logo kiri, Menu kanan */
  position: sticky; 
  top: 0; 
  z-index: 9999; 
  border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.navbar .logo { font-weight:bold; font-size:1.4rem; flex: 1; }
.navbar .logo span { color:#3b82f6; }

/* HAMBURGER MENU */
.menu-toggle {
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SIDEBAR NAV */
.sidebar {
  position: fixed;
  top: 0;
  right: -280px; 
  width: 280px;
  height: 100%;
  background: #020617;
  z-index: 10001;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 30px 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.sidebar-header h3 {
  font-size: 1.2rem;
  color: #3b82f6;
}

.close-btn {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 15px;
}

.sidebar-menu a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  transition: 0.3s;
}

.sidebar-menu a i {
  width: 20px;
  text-align: center;
  color: #3b82f6;
}

.sidebar-menu a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(-5px);
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: none;
}

.overlay.active {
  display: block;
}

/* BANNER */
.banner { text-align:center; padding:40px 20px; background:#0d0d17; }
.banner h1 { font-size:2rem; margin-bottom:10px; }
.banner p { color:#ccc; }

/* PRODUCTS */
.products { padding:30px 20px; text-align:center; }
.products h2 { margin-bottom:20px; }

/* GRID PRODUK - 3 KOLOM */
.product-grid { 
  display:grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap:10px; 
  padding: 0 5px;
}

.product-card { 
  background:#0d1117; 
  padding:8px; 
  border-radius:12px; 
  text-align:center; 
  position: relative; 
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card img { 
  width:100%; 
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius:10px; 
  margin-bottom:8px; 
}

.product-card h3 {
  font-size: 0.75rem;
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .tag { 
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 2px 8px; 
  border-radius: 4px; 
  font-size: 0.65rem; 
  font-weight: bold;
  z-index: 1;
}

.tag.android { background:#00c2ff; color:#fff; }
.tag.ios { background:#ff3b30; color:#fff; }

.buy-btn { 
  text-decoration:none; 
  color:#fff; 
  background:#2563eb; 
  padding:6px 5px; 
  border-radius:6px; 
  display:flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  transition:0.2s; 
  width: 100%;
}

.buy-btn svg {
  width: 12px;
  height: 12px;
}

.buy-btn:hover { transform:scale(1.02); background: #1d4ed8; }

/* BENEFIT */
.benefit { padding:30px 20px; }
.benefit h2 { text-align:center; margin-bottom:20px; }
.benefit-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:15px; }
.benefit-grid .box { background:#020617; padding:15px; border-radius:8px; }

/* CONTACT */
.contact { text-align:center; padding:20px; }
.contact a { text-decoration:none; color:#fff; margin:0 10px; background:#3b82f6; padding:8px 15px; border-radius:5px; display:inline-block; transition: transform 0.2s; }
.contact a:hover { transform:scale(1.05); }
.contact a.f-wa { background: #3b82f6; }
.contact a.f-tg { background: #3b82f6; }

/* PAYMENT */
.payment { padding:20px 15px; }
.payment-area { background:#020617; border-radius:12px; padding:10px; text-align:center; }
.pay-title { font-weight:bold; margin-bottom:10px; letter-spacing:1px; font-size:1rem; }
.payment-grid-static { display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding-bottom:10px; justify-content:center; }

.payment-grid-static img {
  flex: 0 0 auto;
  width: 35px;
  height: 22px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  border-radius: 5px;
  scroll-snap-align: start;
  transition: transform 0.2s;
}

/* FOOTER */
footer { text-align:center; padding:15px 10px; background:#020617; font-size:.9rem; color:#aaa; }

.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: #111;
  color: #3b82f6;
  padding: 8px 0;
  border-radius: 8px;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 0.95rem;
}

.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* FLOATING HELP BUTTON */
.btn-bantuan {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  color: #020617;
  padding: 10px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: bold;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  z-index: 99999; /* Sangat tinggi agar melayang di atas segalanya */
  transition: 0.3s;
}

.btn-bantuan i {
  font-size: 1.2rem;
  color: #00a884;
}

.btn-bantuan:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .product-grid { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 8px;
  }
  .product-card { padding: 6px; }
  .product-card h3 { font-size: 0.65rem; }
  .buy-btn { font-size: 0.6rem; padding: 5px 2px; }
  
  .btn-bantuan {
    padding: 8px 15px;
    font-size: 0.75rem;
    bottom: 15px;
    right: 15px;
  }
}
