/* ═══════════════════════════════════════════════════════
   style.css — NG Market (Opsi 2: Retro Windows / Boxy)
   ═══════════════════════════════════════════════════════ */

/* ─── PONDASI UTAMA & VARIABEL ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root {
  --bg: #ffffff; --text: #000000; --border: #000000;
  --yellow: #ffd93d; --cyan: #66d9ef; --pink: #ff6b9d; --green: #a8e6cf; --white: #ffffff;
  --grid-color: rgba(0,0,0,0.06); 
  --shadow: 6px 6px 0 var(--border);
  --shadow-lg: 10px 10px 0 var(--border);
}
body[data-theme="dark"] {
  --bg: #1a1a1a; --text: #ffffff; --border: #a8e6cf; --white: #2a2a2a; 
  --grid-color: rgba(255,255,255,0.04); background: #0a0a0a;
}
body { font-family: 'Space Grotesk', sans-serif; background: var(--bg); color: var(--text); transition: background 0.3s, color 0.3s; }
.grid-bg { background-image: linear-gradient(var(--grid-color) 1px, transparent 1px), linear-gradient(90deg, var(--grid-color) 1px, transparent 1px); background-size: 40px 40px; }

/* ─── LOADER ─── */
/* Floating Icons di Loader */
.float-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text);
  animation: float-loader 3s ease-in-out infinite;
}

.fi-1 { top: 15%; left: 15%; background: var(--cyan); transform: rotate(-10deg); animation-delay: 0s; }
.fi-2 { bottom: 20%; left: 20%; background: var(--green); transform: rotate(15deg); animation-delay: 0.5s; }
.fi-3 { top: 25%; right: 15%; background: var(--white); transform: rotate(10deg); animation-delay: 1s; }

@keyframes float-loader {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -15px; }
}

@media (max-width: 640px) {
  .fi-1 { top: 10%; left: 10%; }
  .fi-2 { bottom: 15%; left: 10%; }
  .fi-3 { top: 15%; right: 10%; }
}

.loader-overlay {
  position: fixed; inset: 0; background: var(--yellow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; z-index: 99999; transition: opacity 0.4s, visibility 0.4s;
}
.loader-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-letters { display: flex; gap: 1rem; }
.loader-letter {
  font-size: 4.5rem; font-weight: 700; border: 5px solid var(--border); box-shadow: 8px 8px 0 var(--border);
  width: 96px; height: 96px; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0) rotate(-180deg); animation: letter-pop 0.5s cubic-bezier(0.68,-0.55,0.265,1.55) forwards;
}
.loader-letter:nth-child(1){ background: var(--cyan); animation-delay: 0.1s; }
.loader-letter:nth-child(2){ background: var(--pink); animation-delay: 0.2s; }
.loader-bar { width: 260px; height: 16px; background: var(--white); border: 4px solid var(--border); box-shadow: 4px 4px 0 var(--border); overflow: hidden; }
.loader-bar-fill { height: 100%; background: var(--yellow); width: 0; animation: bar-fill 0.7s ease-out 0.3s forwards; }
@keyframes letter-pop { to { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes bar-fill { to { width: 100%; } }

/* ─── NAVBAR ─── */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: var(--yellow); border-bottom: 4px solid var(--border); z-index: 1000; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0.7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand { font-size: 1rem; font-weight: 700; background: var(--cyan); border: 3px solid var(--border); box-shadow: 3px 3px 0 var(--border); padding: 5px 14px; text-decoration: none; color: var(--text); font-family: 'Space Mono', monospace;}
.nav-links { display: flex; align-items: center; gap: 1.2rem; }
.nav-link { font-weight: 700; text-decoration: none; color: var(--text); font-size: 0.88rem; }
.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.nav-cta, .theme-btn, .hamburger { background: var(--white); border: 3px solid var(--border); box-shadow: 3px 3px 0 var(--border); padding: 7px 14px; font-weight: 700; font-size: 0.82rem; cursor: pointer; text-decoration: none; color: var(--text); transition: transform 0.1s, box-shadow 0.1s;}
.nav-cta:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--border); }
.theme-btn, .hamburger { padding: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.hamburger { display: none; }
.mobile-menu { display: none; flex-direction: column; gap: 0; border-top: 3px solid var(--border); background: var(--yellow); }
.mobile-menu.open { display: flex; }
.mobile-link { font-weight: 700; text-decoration: none; color: var(--text); padding: 0.85rem 1.5rem; border-bottom: 3px solid var(--border); font-size: 1rem; display: block; }
.mobile-link:last-child { background: var(--cyan); border-bottom: none; }

/* ─── HERO SECTION ─── */
.hero { min-height: 85vh; padding: 140px 1.5rem 60px; display: flex; align-items: center; }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-tag { display: inline-block; background: var(--pink); border: 3px solid var(--border); padding: 5px 16px; font-size: 0.8rem; font-weight: 700; margin-bottom: 1.5rem; font-family: 'Space Mono', monospace; box-shadow: 3px 3px 0 var(--border); }
.hero-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem; }
.hero-title span { background: var(--yellow); padding: 0 10px; border-bottom: 5px solid var(--border); display: inline-block; }
.hero-desc { font-size: 1.15rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 520px; opacity: 0.9; font-weight: 600; }
.btn-primary { background: var(--cyan); border: 3px solid var(--border); box-shadow: var(--shadow); padding: 14px 32px; font-weight: 700; cursor: pointer; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 10px; transition: 0.1s; font-size: 1.05rem;}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--border); }

/* Stacking Cards Hero */
.stacking-cards-container { position: relative; width: 100%; max-width: 400px; height: 280px; margin: 0 auto; }
.stack-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border: 4px solid var(--border); background: var(--white); box-shadow: var(--shadow-lg); transition: all 0.5s; opacity: 0; transform: scale(0.9) translateY(20px); }
.stack-card.active { opacity: 1; transform: scale(1) translateY(0); z-index: 3; }
.stacking-cards-container::before { content: ''; position: absolute; inset: 0; background: var(--pink); border: 4px solid var(--border); transform: rotate(-5deg) translate(-15px, 15px); z-index: 1; }
.stacking-cards-container::after { content: ''; position: absolute; inset: 0; background: var(--cyan); border: 4px solid var(--border); transform: rotate(5deg) translate(15px, -10px); z-index: 2; }
/* ─── STICKY NAV PILLS ─── */
.sticky-nav-wrapper { position: sticky; top: 60px; background: var(--bg); z-index: 900; padding: 1rem 0; border-bottom: 3px dashed var(--border); }
.section-nav { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.nav-pill { background: var(--white); border: 3px solid var(--border); padding: 8px 20px; font-weight: 700; color: var(--text); text-decoration: none; box-shadow: 3px 3px 0 var(--border); font-size: 0.85rem; display: flex; align-items: center; gap: 6px; transition: 0.1s;}
.nav-pill:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--border); }

/* ─── SECTION GLOBAL ─── */
.section { padding: 4rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.katalog-sesi { margin-bottom: 2rem; scroll-margin-top: 130px; }
.sesi-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 2rem; background: var(--yellow); border: 4px solid var(--border); display: inline-block; padding: 8px 20px; box-shadow: var(--shadow); font-family: 'Space Mono', monospace; }

/* INI TAMBAHAN BUAT HIGHLIGHT JUDUL SECTION BIAR POP UP */
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  background: var(--cyan); /* Warnanya diubah jadi cyan di sini */
  border: 4px solid var(--border);
  display: inline-block;
  padding: 10px 25px;
  box-shadow: 6px 6px 0 var(--border);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  color: var(--text);
}

/* ─── KATALOG APPS (RETRO GRID) ─── */
#sesi-apps .products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
#sesi-apps .product-card { background: var(--white); border: 4px solid var(--border); padding: 1.5rem 1.2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; box-shadow: var(--shadow); cursor: pointer; transition: 0.15s; border-radius: 0; }
#sesi-apps .product-header { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; width: 100%; text-align: center; }

#sesi-apps .product-logo { 
  width: 80px; height: 80px; 
  display: flex; align-items: center; justify-content: center; 
  background: transparent !important; 
  border: none !important; 
}
#sesi-apps .product-logo img {
  width: 100%; height: 100%; 
  object-fit: contain !important; 
  padding: 0 !important;
}

#sesi-apps .product-name { font-size: 1.05rem; font-weight: 700; margin-top: 4px; }
#sesi-apps .product-desc { font-size: 0.8rem; opacity: 0.8; line-height: 1.4; height: 2.8em; overflow: hidden; font-weight: 600; }
#sesi-apps .product-price { font-weight: 700; font-family: 'Space Mono', monospace; background: var(--yellow); padding: 6px 12px; border: 3px solid var(--border); font-size: 0.9rem; width: 100%; text-align: center;}
#sesi-apps .product-order-btn { background: var(--white); border: 3px solid var(--border); padding: 8px 16px; font-weight: 700; font-size: 0.8rem; width: 100%; cursor: pointer; }

/* ─── KATALOG LIST (DOMAIN, VPS, JOKI) ─── */
#sesi-domain .products-grid, #sesi-vps .products-grid, #sesi-joki .products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
#sesi-domain .product-card, #sesi-vps .product-card, #sesi-joki .product-card { background: var(--white); border: 4px solid var(--border); padding: 1.5rem; display: flex; align-items: center; gap: 1.5rem; box-shadow: var(--shadow); cursor: pointer; border-radius: 0; transition: 0.15s;}
#sesi-domain .product-header, #sesi-vps .product-header, #sesi-joki .product-header { display: flex; align-items: center; gap: 1.2rem; flex-grow: 1; }
#sesi-domain .product-logo, #sesi-vps .product-logo, #sesi-joki .product-logo { width: 70px; height: 70px; border: 3px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f0f0f0; }
#sesi-domain .product-name, #sesi-vps .product-name, #sesi-joki .product-name { font-size: 1.2rem; font-weight: 700; }
.product-cat { font-size: 0.7rem; font-weight: 700; border: 2px solid var(--border); padding: 2px 10px; font-family: 'Space Mono', monospace; margin-bottom: 5px; display: inline-block; background: var(--cyan); }

/* Global Card Hovers */
.product-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--border); }
.product-card:hover .product-order-btn { background: var(--cyan); }

/* ─── DOMAIN CHECKER (BOX STYLE) ─── */
.domain-checker-box { background: var(--white); border: 4px solid var(--border); padding: 1.5rem; display: flex; gap: 1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.domain-input-pink { flex-grow: 1; border: 3px solid var(--border); padding: 12px 16px; font-family: inherit; font-weight: 700; outline: none; font-size:1rem; border-radius:0;}
.btn-cek-domain { background: var(--pink); color: var(--text); border: 3px solid var(--border); padding: 0 24px; font-weight: 700; cursor: pointer; font-size:1rem; box-shadow: 3px 3px 0 var(--border); transition: 0.1s;}
.btn-cek-domain:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--border); }
.domain-badges { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.d-badge { background: var(--white); border: 3px solid var(--border); padding: 10px 15px; display: flex; flex-direction: column; align-items: center; min-width: 100px; box-shadow: 3px 3px 0 var(--border); }
.d-badge b { font-size: 0.9rem; color: var(--pink); font-family: 'Space Mono'; }

.vps-rules-box { background: #fff5f5; border: 4px solid #ff6b6b; padding: 1.5rem; margin-bottom: 2rem; box-shadow: 6px 6px 0 #ff6b6b; }
.vps-rules-box h4 { color: #d00; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 8px; font-weight: 700;}
.vps-rules-box ul { list-style: none; padding-left: 0; } /* Nah ini kuncinya biar titik hitamnya hilang */
.vps-rules-box li { font-size: 0.9rem; margin-bottom: 6px; padding-left: 20px; position: relative; font-weight: 600;}
.vps-rules-box li::before { content: '→'; position: absolute; left: 0; font-weight: bold; }

/* ─── MODAL POP-UP (RETRO WINDOWS) ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: 0.2s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.neo-modal { background: var(--bg); border: 4px solid var(--border); box-shadow: 12px 12px 0 var(--border); width: 100%; max-width: 650px; transform: translateY(20px); transition: 0.2s; display: flex; flex-direction: column; max-height: 90vh; border-radius: 0; }
.modal-overlay.open .neo-modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 1rem; border-bottom: 4px solid var(--border); background: var(--cyan); }
.m-head-left { display: flex; align-items: center; gap: 0.8rem; color: var(--text); }
.m-logo { width: 30px; height: 30px; background: transparent; display: flex; justify-content: center; align-items: center; }
.m-logo img { width: 100%; height: 100%; object-fit: contain; }
.m-close { background: #ff4757; border: 3px solid var(--border); width: 30px; height: 30px; font-size: 1rem; font-weight: bold; cursor: pointer; color: white; display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 0 var(--border); transition: 0.1s;}
.m-close:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--border); }
.modal-body { padding: 1.5rem; overflow-y: auto; }
.pkg-card { border: 3px solid var(--border); padding: 1.2rem; margin-bottom: 1rem; background: var(--white); box-shadow: 4px 4px 0 var(--border); display: flex; justify-content: space-between; align-items: center; }
.pkg-name { font-weight: 700; font-size: 1rem; }
.pkg-price { font-weight: 700; color: var(--pink); font-family: 'Space Mono', monospace; }
.btn-wa-order { background: var(--yellow); border: 3px solid var(--border); padding: 6px 16px; font-weight: 700; font-size: 0.8rem; cursor: pointer; font-family: 'Space Grotesk', sans-serif; box-shadow: 2px 2px 0 var(--border); transition: 0.1s;}
.btn-wa-order:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--border); }

/* ─── TESTIMONI & FORMS ─── */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.testi-card { background: var(--white); border: 4px solid var(--border); padding: 1.5rem; box-shadow: var(--shadow); }
.testi-stars { color: #f5a623; margin-bottom: 0.8rem; }
.testi-body { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; font-weight: 600; }
.testi-author { display: flex; align-items: center; gap: 1rem; border-top: 3px solid var(--border); padding-top: 1rem; }
.testi-avatar { width: 45px; height: 45px; border: 3px solid var(--border); display: flex; justify-content: center; align-items: center; font-weight: 800; font-size: 1.2rem; box-shadow: 2px 2px 0 var(--border); }

.order-form-box { border: 4px solid var(--border); padding: 2rem; box-shadow: var(--shadow-lg); background: #fff;}
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; }
.form-input, .form-textarea, .form-select { width: 100%; border: 3px solid var(--border); padding: 12px; font-family: inherit; font-size: 1rem; font-weight: 600; outline: none; background: var(--bg); color: var(--text); border-radius: 0;}
.submit-btn-wa { width: 100%; background: #25d366; border: 4px solid var(--border); padding: 15px; font-weight: 700; font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; gap: 10px; color:#000; transition: 0.1s;}
.submit-btn-wa:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--border); }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; max-width: 720px; }
.faq-item { background: var(--white); border: 3px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.faq-q { padding: 0.9rem 1.2rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.93rem; }
.faq-q:hover { background: var(--yellow); }
.faq-arrow { transition: transform 0.2s; font-size: 0.85rem; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { padding: 0 1.2rem; font-size: 0.87rem; line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 1.2rem 1rem; }

/* ─── FOOTER ─── */
.footer { background: var(--border); color: var(--yellow); padding: 3rem 1.5rem 1.5rem; border-top: none; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.6rem; font-family: 'Space Mono', monospace; color: var(--yellow); }
.footer-link { color: var(--yellow); text-decoration: none; font-size: 0.87rem; opacity: 0.8; font-weight: 600;}
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 2px dashed rgba(255,211,61,0.25); padding-top: 1.2rem; display: flex; justify-content: space-between; font-size: 0.82rem; opacity: 0.55; color: var(--yellow); }

.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.5s, transform 0.5s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── STEPS CARA ORDER ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--white);
  border: 4px solid var(--border);
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: 0.2s;
}

.step-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--border);
  border-color: var(--pink);
}

.step-number {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--yellow);
  border: 3px solid var(--border);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Space Mono', monospace;
  box-shadow: 4px 4px 0 var(--border);
  font-size: 1.2rem;
}

.step-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  filter: drop-shadow(3px 3px 0 var(--border));
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.step-card p {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.8;
  line-height: 1.6;
}

.step-card:nth-child(even) .step-number { background: var(--pink); }
.step-card:nth-child(odd) .step-number { background: var(--cyan); }

/* ... kode CSS Cara Order yang sebelumnya ... */
.step-card:nth-child(even) .step-number { background: var(--pink); }
.step-card:nth-child(odd) .step-number { background: var(--cyan); }


/* ─── KOTAK LOGO PEMBAYARAN ─── */
.pay-box {
  background: white;
  border: 3px solid var(--border);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0 var(--border);
  min-width: 120px;
  height: 60px;
  transition: 0.2s;
}

.pay-box:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
}

.pay-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ─── KEUNGGULAN KAMI ─── */
.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.keunggulan-card {
  background: var(--white);
  border: 4px solid var(--border);
  padding: 2rem 1.5rem;
  box-shadow: 6px 6px 0 var(--border);
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.keunggulan-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--border);
  border-color: var(--pink);
}

.k-icon {
  width: 60px;
  height: 60px;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  box-shadow: 3px 3px 0 var(--border);
  color: #000;
}

.keunggulan-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.keunggulan-card p {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
  line-height: 1.6;
}

/* ─── LIVE STATUS BAR ─── */
.status-bar-container {
  background: var(--white);
  border-top: 4px solid var(--border);
  border-bottom: 4px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
}

.status-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.status-pill {
  background: var(--green);
  border: 3px solid var(--border);
  padding: 6px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 3px 3px 0 var(--border);
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #059669;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid var(--border);
}

.stats-group {
  display: flex;
  gap: 25px;
}

.stat-item {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-item i {
  color: var(--pink);
}

/* --- PERBAIKAN RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .status-inner { 
    justify-content: center; 
    flex-direction: column; /* Bikin nyusun atas-bawah di HP */
    gap: 15px;
  }
  .stats-group { 
    gap: 15px; 
    flex-wrap: wrap; 
    justify-content: center; /* Rata tengah angkanya */
  }
  .stat-item { 
    font-size: 0.8rem; 
    white-space: nowrap; /* Kunci biar teks "Happy Clients" ga patah berantakan */
  }
}

@media (max-width: 768px) {
  .status-inner { justify-content: center; text-align: center; }
  .stats-group { gap: 15px; }
  .stat-item { font-size: 0.75rem; }
}

/* ─── YOONABOT STYLE (CHARACTER MODE) ─── */
#chat-widget { 
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  z-index: 9999; 
}

/* Tombol Trigger Karakter */
#chat-trigger {
  width: 70px; /* Ukuran kita kecilin dari 100px ke 70px */
  height: auto;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float-yoona 3s ease-in-out infinite;
}

#chat-trigger img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Efek bayangan retro ngikutin bentuk badan karakter */
  filter: drop-shadow(5px 5px 0px #000); 
}

/* Tulisan kecil/Hint di atas kepala */
.chat-bubble-hint {
  position: absolute;
  top: -10px;
  right: -5px;
  background: var(--yellow);
  border: 2px solid #000;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 #000;
  white-space: nowrap;
  font-family: 'Space Mono', monospace;
}

/* ═══════════════════════════════════════════════════════
   YOONABOT CHAT INTERFACE - BOXY RETRO STYLE
   ═══════════════════════════════════════════════════════ */

/* ─── 1. MAIN WIDGET CONTAINER ─── */
#chat-widget { 
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  z-index: 9999; 
}

/* ─── 2. YOONA CHARACTER TRIGGER ─── */
#chat-trigger {
  width: 70px; /* Ukuran Chibi Yoona */
  height: auto;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float-yoona 3s ease-in-out infinite;
}

#chat-trigger img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(5px 5px 0px #000); /* Retro Shadow Lekuk Tubuh */
}

#chat-trigger:hover {
  transform: scale(1.1);
}

/* ─── 3. CHAT WINDOW BOX ─── */
#chat-window {
  width: 320px; 
  height: 420px; 
  background: white; 
  border: 4px solid var(--border);
  position: absolute; 
  bottom: 85px; 
  right: 0; 
  display: flex; 
  flex-direction: column;
  box-shadow: var(--shadow-lg); 
  transition: 0.3s;
}

#chat-window.hidden { 
  display: none; 
}

/* ─── 4. CHAT HEADER ─── */
.chat-header {
  background: var(--border); 
  color: white; 
  padding: 12px 15px;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}

.chat-header-info { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}

.chat-header-info img { 
  width: 35px; 
  height: 35px; 
  border-radius: 50%; 
  border: 2px solid white; 
  object-fit: cover;
  background: var(--pink); 
}

.chat-header h4 { margin: 0; font-size: 0.95rem; }
.chat-header span { font-size: 0.65rem; opacity: 0.8; }

#close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ─── 5. MESSAGES AREA ─── */
#chat-messages { 
  flex: 1; 
  padding: 15px; 
  overflow-y: auto; 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
  background: #f9f9f9; 
}

/* Message Bubbles */
.msg { 
  padding: 10px 15px; 
  border-radius: 15px; 
  max-width: 85%; 
  font-size: 0.85rem; 
  font-weight: 600; 
  line-height: 1.4; 
  border: 2px solid var(--border); 
}

.msg.bot { 
  align-self: flex-start; 
  background: var(--cyan); 
  color: black; 
  border-bottom-left-radius: 2px; 
}

.msg.user { 
  align-self: flex-end; 
  background: var(--pink); 
  color: black; 
  border-bottom-right-radius: 2px; 
}

/* ─── 6. INPUT FORM ─── */
#chat-form { 
  display: flex; 
  padding: 10px; 
  border-top: 4px solid var(--border); 
  gap: 8px; 
  background: white; 
}

#chat-input { 
  flex: 1; 
  padding: 10px; 
  border: 2px solid var(--border); 
  font-weight: 600; 
  font-family: inherit;
  outline: none; 
  border-radius: 0; 
}

#chat-form button { 
  background: var(--yellow); 
  border: 2px solid var(--border); 
  padding: 0 15px; 
  cursor: pointer; 
  box-shadow: 2px 2px 0 var(--border); 
  transition: 0.1s;
}

#chat-form button:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* ─── 7. ANIMATIONS ─── */
@keyframes float-yoona {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Balikin format jadi satu baris numpuk atas-bawah & rata tengah */
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  
  /* Posisi gambar tumpuk didorong pas ke tengah */
  .stacking-cards-container { height: 280px; margin-top: 3rem; margin-left: auto; margin-right: auto; }
  
  /* Maskot Chibi di Tablet/HP (Pinky tetep di atas kiri) */
  .hero::before { width: 60px; height: 60px; right: 5%; top: 10%; }
  .hero::after { width: 50px; height: 50px; left: 2%; top: 12%; bottom: auto; }
}

@media (max-width: 600px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  
  /* Jarak atas Hero Section di HP */
  .hero { 
    min-height: auto; 
    padding-top: 130px; 
    align-items: center; 
  }
  .hero-title { font-size: 2.2rem; }
  
  /* Gambar Tumpuk HP (Lebar dikecilin biar masuk layar & ke tengah) */
  .stacking-cards-container { 
    max-width: 80%; 
    height: 220px; 
    margin: 2rem auto 2rem auto; 
  }
  .stacking-cards-container::before { transform: rotate(-2deg) translate(-5px, 5px); }
  .stacking-cards-container::after { transform: rotate(2deg) translate(5px, -3px); }

  /* FIX 1: Menu Navigasi (Pills) Bisa di-Swipe */
  .section-nav { 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    justify-content: flex-start; 
    padding: 0.5rem 1rem 1rem 1rem; 
    -webkit-overflow-scrolling: touch; 
  }
  .section-nav::-webkit-scrollbar { display: none; } /* Ilangin scrollbar biar clean */
  .nav-pill { flex-shrink: 0; } /* Biar tombolnya gak gepeng */

  /* FIX 2: Layout kartu Joki, Domain, VPS numpuk atas-bawah di HP */
  #sesi-joki .product-card, 
  #sesi-domain .product-card, 
  #sesi-vps .product-card { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 1rem; 
  }
  #sesi-joki .product-header, 
  #sesi-domain .product-header, 
  #sesi-vps .product-header { 
    width: 100%; 
  }
  /* Bikin tombol pilih paket jadi panjang full di HP */
  #sesi-joki .product-order-btn, 
  #sesi-domain .product-order-btn, 
  #sesi-vps .product-order-btn { 
    width: 100%; 
  }

  #sesi-apps .products-grid { grid-template-columns: 1fr; }
  .domain-checker-box { flex-direction: column; }
  .section-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0.5rem 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px;}
}

/* ═══════════════════════════════════════════════════════
   TAMBAHAN DARI HANA: ANIMASI & ANIME ASSETS
   ═══════════════════════════════════════════════════════ */

/* ─── 1. SHIMMER EFFECT PADA CARD ─── */
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes shimmer {
  0% { left: -150%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* ─── 2. STAGGER REVEAL ─── */
.fade-up:nth-child(1) { transition-delay: 0.1s; }
.fade-up:nth-child(2) { transition-delay: 0.2s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }
.fade-up:nth-child(4) { transition-delay: 0.4s; }
.fade-up:nth-child(5) { transition-delay: 0.5s; }
.fade-up:nth-child(6) { transition-delay: 0.6s; }

/* ─── 3. PULSE EFFECT ─── */
.pulse-anim {
  animation: pulse-soft 2s infinite ease-in-out;
}
@keyframes pulse-soft {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ─── 4. ANIME ASSETS / CHIBI DECORATIONS (INLINE SVG) ─── */
.hero {
  position: relative;
  overflow: hidden; /* Efek Aura Cahaya Makoto Shinkai */
}

/* Aura Cahaya Anime */
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(102, 217, 239, 0.15) 0%, rgba(255, 107, 157, 0.08) 40%, transparent 80%);
  animation: anime-aura 15s infinite linear;
  z-index: -1;
  pointer-events: none;
}

/* Dekorasi Kanan: Maskot Chibi Smiley Kuning */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 90px;
  height: 90px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="%23ffd93d" stroke="%23000" stroke-width="4"/><circle cx="32" cy="40" r="6" fill="%23000"/><circle cx="68" cy="40" r="6" fill="%23000"/><path d="M 40 65 Q 50 80 60 65" fill="none" stroke="%23000" stroke-width="5" stroke-linecap="round"/><ellipse cx="25" cy="55" rx="6" ry="3" fill="%23ff6b9d" opacity="0.6"/><ellipse cx="75" cy="55" rx="6" ry="3" fill="%23ff6b9d" opacity="0.6"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-chibi 4s infinite ease-in-out;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(4px 4px 0px #000);
}

/* Dekorasi Kiri: Maskot Chibi Boxy Pink (Pindah ke Atas) */
.hero::after {
  content: '';
  position: absolute;
  top: 15%; 
  left: 3%; 
  width: 75px;
  height: 75px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="15" y="15" width="70" height="70" rx="10" fill="%23ff6b9d" stroke="%23000" stroke-width="4"/><path d="M 35 45 L 40 40 L 45 45" fill="none" stroke="%23000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M 55 45 L 60 40 L 65 45" fill="none" stroke="%23000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M 45 65 L 50 70 L 55 65" fill="none" stroke="%23000" stroke-width="4" stroke-linecap="round"/><ellipse cx="25" cy="55" rx="5" ry="3" fill="%23a8e6cf" opacity="0.8"/><ellipse cx="75" cy="55" rx="5" ry="3" fill="%23a8e6cf" opacity="0.8"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-chibi 5s infinite ease-in-out reverse;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(4px 4px 0px #000);
}

@keyframes float-chibi {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes anime-aura {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

/* 5. Background Grid Melayang (Parallax Halus) */
.grid-bg {
  animation: bg-drift 25s infinite alternate linear;
}
@keyframes bg-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

/* 6. Animasi Bouncy ala Manga buat Kartu Produk */
.product-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s, border-color 0.4s !important; 
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 10px 10px 0 var(--border), 0 10px 25px rgba(255, 107, 157, 0.25) !important;
  border-color: var(--pink) !important;
  z-index: 2;
}

/* 7. Efek Tebasan Pedang Anime (Slash/Glimmer) di Tombol */
.btn-primary, .nav-cta, .submit-btn-wa {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .nav-cta::after, .submit-btn-wa::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-25deg);
  animation: anime-slash 4s infinite;
}
@keyframes anime-slash {
  0% { left: -150%; }
  15% { left: 200%; }
  100% { left: 200%; }
}

/* 8. Teks Hero Melayang Halus */
.hero-title span {
  display: inline-block;
  animation: float-text 3s ease-in-out infinite;
}
@keyframes float-text {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ─── 9. CUSTOM RETRO CURSOR ─── */
html, body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="2" y="2" width="16" height="16" fill="white" stroke="black" stroke-width="2"/><rect x="5" y="5" width="16" height="16" fill="black" opacity="0.3"/></svg>'), auto;
}

a:hover, button:hover, .product-card:hover, .filter-btn:hover, .nav-pill:hover {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="2" y="2" width="16" height="16" fill="%23ff6b9d" stroke="black" stroke-width="2"/><rect x="5" y="5" width="16" height="16" fill="black" opacity="0.3"/></svg>'), pointer;
}

/* ─── FITUR FILTER KATEGORI APPS ─── */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
  justify-content: flex-start;
}
.filter-btn {
  background: var(--white);
  border: 3px solid var(--border);
  padding: 8px 20px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--border);
  transition: all 0.2s;
  color: var(--text);
}
.filter-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
  border-color: var(--cyan);
}
.filter-btn.active {
  background: var(--pink);
  color: var(--white);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--border);
}
/* Class pembantu untuk hidden card */
.product-card.hidden-category {
  display: none !important;
}