/* RESET & BASIC */
* { margin:0; padding:0; box-sizing:border-box; }
body { 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
  background:#020617; 
  color:#fff; 
  line-height:1.5; 
  overflow-x: hidden; 
}

/* GLOBAL VARIABLES */
:root {
  --bg-color: #020617;
  --card-bg: #0f172a;
  --primary-blue: #2563eb;
  --accent-blue: #3b82f6;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border-color: rgba(59, 130, 246, 0.2);
}

/* NAVBAR */
.navbar { 
  background:#0f172a; 
  padding:15px 20px; 
  display:flex; 
  align-items:center; 
  justify-content: space-between;
  position: sticky; 
  top: 0; 
  z-index: 9999; 
  border-bottom: 1px solid var(--border-color); 
}
.navbar .logo { font-weight:800; font-size:1.2rem; }
.navbar .logo span { color:var(--accent-blue); }

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #020617;
  z-index: 10001;
  transition: 0.4s ease;
  padding: 30px 20px;
  box-shadow: -5px 0 20px rgba(0,0,0,0.8);
}
.sidebar.active { right: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.sidebar-menu { list-style: none; }
.sidebar-menu li { margin-bottom: 15px; }
.sidebar-menu a {
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: 0.3s;
}
.sidebar-menu a i { color: var(--accent-blue); }

/* BANNER */
.banner { 
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 40px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.banner h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.banner p { color: var(--text-muted); }

/* PRODUCT CARD STYLES */
.product-grid { 
  display:grid; 
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
  gap:20px; 
}

.product-card { 
  background: var(--card-bg); 
  border: 1px solid var(--border-color); 
  border-radius: 16px; 
  overflow: hidden; 
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.product-img-holder {
  padding: 15px;
  position: relative;
}

.product-card img { 
  width:100%; 
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius:12px; 
  background: #1e293b;
}

.product-card-tag {
  position: absolute;
  top: 25px;
  right: 25px;
  background: #e91e63;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: lowercase;
  z-index: 2;
}

.product-card-tag.android { background: #00bcd4; }

.product-card-content {
  padding: 0 15px 15px 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.3s;
  text-transform: uppercase;
}

.product-card-btn:hover { background: #1d4ed8; }

/* FOOTER */
footer {
  background: #0f172a;
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}

/* FLOATING HELP BUTTON */
.btn-bantuan {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  color: #020617;
  padding: 12px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  box-shadow: 0 5px 25px rgba(0,0,0,0.6);
  z-index: 999999;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; }
  .banner h1 { font-size: 1.8rem; }
}
