/* ==========================================================================
   JB LEPTOP - LAPTOP SECOND & SERVICE CENTER
   WARNA TEMA: ORANGE (#CC6600), WARM AMBER & DUAL THEME (LIGHT & DARK)
   FILE STYLESHEET RESMI DENGAN DOKUMENTASI DAN PENJELASAN ELEMEN LENGKAP
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PALET WARNA & VARIABEL TEMA (CSS VARIABLES)
   -------------------------------------------------------------------------- */

/* MODE TERANG (DEFAULT LIGHT MODE) */
:root {
  /* Warna Utama & Aksen Brand JB Leptop */
  --primary: #CC6600;
  --primary-hover: #b35900;
  --primary-light: #fff7ed;
  --primary-glow: rgba(204, 102, 0, 0.28);

  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-glow: rgba(249, 115, 22, 0.25);

  /* WARNA KHUSUS WHATSAPP RESMI */
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebe57;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);

  /* Latar Belakang Permukaan & Komponen */
  --bg-body: #fffbf7;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-section-alt: #fdf6ee;
  --bg-topbar: #1a0f05;
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --border-color: #fed7aa;
  --border-subtle: #ffedd5;
  --input-bg: #fffaf5;

  /* Tipografi & Warna Teks */
  --text-main: #1f1409;
  --text-muted: #6c5847;
  --text-light: #fffaf5;
  --text-light-muted: #d4bda8;

  /* Warna Status */
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;

  /* Radius Sudut Lengkung Elemen */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Bayangan Halus (Box Shadow) */
  --shadow-sm: 0 2px 5px rgba(204, 102, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(204, 102, 0, 0.1);
  --shadow-lg: 0 14px 34px rgba(204, 102, 0, 0.14);
  --shadow-glow: 0 10px 25px var(--primary-glow);

  /* Font & Transisi Default */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* MODE GELAP (DARK MODE) */
[data-theme="dark"] {
  /* Penyesuaian Warna Utama untuk Mode Gelap */
  --primary: #ff851b;
  --primary-hover: #e66e0a;
  --primary-light: rgba(255, 133, 27, 0.15);
  --primary-glow: rgba(255, 133, 27, 0.35);

  --accent: #fb923c;
  --accent-hover: #f97316;
  --accent-glow: rgba(251, 146, 60, 0.25);

  /* Latar Belakang Gelap */
  --bg-body: #0d0804;
  --bg-surface: #170f07;
  --bg-card: #20140a;
  --bg-section-alt: #130a04;
  --bg-topbar: #080402;
  --navbar-bg: rgba(23, 15, 7, 0.94);
  --border-color: #4a2d15;
  --border-subtle: #331d0b;
  --input-bg: #22140a;

  /* Warna Teks Mode Gelap */
  --text-main: #fef7ee;
  --text-muted: #c9b3a0;
  --text-light: #ffffff;
  --text-light-muted: #9e8977;

  /* Bayangan Mode Gelap */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   2. TRANSISI VIEW TRANSITIONS API (EFEK LINGKARAN MENYEBAR / CIRCULAR SPREAD)
   -------------------------------------------------------------------------- */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 99999;
}

/* --------------------------------------------------------------------------
   3. KEYFRAMES ANIMASI INTRO (PEMUATAN HALAMAN AWAL)
   -------------------------------------------------------------------------- */
@keyframes introSlideDown {
  from {
    opacity: 0;
    transform: translateY(-26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introFadeScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introStagger {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   4. RESET DASAR & TAMPILAN STANDAR (BASE RESETS)
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-body);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-body);
  color: var(--text-main);
  transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   5. LAYOUT CONTAINER & UTILITY HELPER
   -------------------------------------------------------------------------- */
/* Pembungkus Lebar Konten Tengah */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Pengaturan Padding Section */
.section {
  padding: 80px 0;
}

/* Utilitas Teks */
.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }

/* --------------------------------------------------------------------------
   6. BANNER HEADER ORANYE PALING ATAS (STORE HEADER BANNER)
   -------------------------------------------------------------------------- */
.store-header-banner {
  background-color: #CC6600;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px 24px;
  border-bottom: 2px solid #b35900;
  animation: introSlideDown 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.store-header-banner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.store-header-banner p {
  font-size: 1.05rem;
  opacity: 0.95;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. BAR INFORMASI ATAS (TOPBAR: ALAMAT, JAM BUKA & LINK WHATSAPP)
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--bg-topbar);
  color: var(--text-light-muted);
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: introSlideDown 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-right {
  display: flex;
  gap: 20px;
}

/* LINK / NOMOR WHATSAPP DI BAGIAN TOPBAR */
.topbar-link {
  color: var(--whatsapp);
  font-weight: 700;
}

.topbar-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. NAVIGASI UTAMA (STICKY NAVBAR)
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.5s ease, border-color 0.5s ease;
  animation: introSlideDown 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* LOGO & BRAND JB LEPTOP */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #CC6600, #ff7a00);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo-title .highlight {
  color: var(--primary);
}

.logo-subtitle {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* MENU TAUTAN NAVIGASI */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* TOMBOL SWITCH TEMA (DARK / LIGHT MODE) */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.theme-toggle-btn:hover {
  transform: scale(1.1) rotate(15deg);
  background-color: var(--primary-light);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.theme-toggle-btn i {
  transition: transform 0.35s ease;
}

[data-theme="dark"] .theme-toggle-btn {
  color: #fbbf24;
  border-color: #f59e0b;
}

/* TOMBOL HAMBURGER MOBILE (3 GARIS) */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   9. DESAIN TOMBOL-TOMBOL AKSI (BUTTONS)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* TOMBOL UTAMA (ORANGE) */
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

/* TOMBOL SEKUNDER (PUTIH DENGAN GARIS TEPI) */
.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* TOMBOL OUTLINE ORANGE */
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* TOMBOL AKSEN AMBER */
.btn-accent {
  background-color: #ff7a00;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-accent:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
}

/* TOMBOL WHATSAPP HIJAU (RESMI DENGAN IKON LOGO WHATSAPP) */
.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* TOMBOL KONTAK KHUSUS DI HERO */
.btn-contact {
  background-color: #CC6600;
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-contact:hover {
  background-color: #b35900;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   10. BANNER UTAMA HALAMAN (HERO SECTION)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 65px 0 85px;
  background: radial-gradient(circle at top right, rgba(204, 102, 0, 0.12) 0%, rgba(255, 255, 255, 0) 65%),
              radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.08) 0%, rgba(255, 255, 255, 0) 55%);
  overflow: hidden;
}

[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at top right, rgba(255, 133, 27, 0.14) 0%, rgba(13, 8, 4, 0) 65%),
              radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.1) 0%, rgba(13, 8, 4, 0) 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  animation: introFadeSlideUp 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-visual {
  animation: introFadeScale 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #CC6600 0%, #ea580c 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, #ff851b 0%, #fb923c 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* STATISTIK DI HERO SECTION */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item .stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-item .stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-color);
}

/* KARTU VISUAL GAMBAR HERO */
.hero-visual {
  position: relative;
}

.hero-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  height: 88%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.22;
  filter: blur(45px);
  border-radius: var(--radius-xl);
  z-index: 1;
}

.hero-card-main {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-color);
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   11. STRIP KEUNGGULAN CEPAT (FEATURES STRIP)
   -------------------------------------------------------------------------- */
.features-strip {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: introStagger 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.strip-item:nth-child(1) { animation-delay: 0.5s; }
.strip-item:nth-child(2) { animation-delay: 0.68s; }
.strip-item:nth-child(3) { animation-delay: 0.86s; }
.strip-item:nth-child(4) { animation-delay: 1.05s; }

.strip-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--border-color);
}

.strip-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.strip-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. HEADER JUDUL SETIAP BAGIAN (SECTION HEADERS)
   -------------------------------------------------------------------------- */
.badge-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   13. BAGIAN LAYANAN SERVIS & PERAWATAN (SERVICES SECTION)
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-section-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

/* KARTU LAYANAN SERVIS */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary-light), var(--border-subtle));
  color: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.service-list {
  margin-bottom: 26px;
  flex-grow: 1;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.45;
}

.service-list li i {
  color: var(--success);
  margin-top: 3px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.service-pricing {
  padding-top: 18px;
  border-top: 1px dashed var(--border-color);
  margin-bottom: 20px;
}

.price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.price-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
}

.price-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: normal;
}

/* --------------------------------------------------------------------------
   14. KATALOG LAPTOP BEKAS READY STOK (CATALOG SECTION)
   -------------------------------------------------------------------------- */
.catalog-section {
  background-color: var(--bg-body);
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
  margin-bottom: 30px;
}

/* TOMBOL FILTER KATEGORI */
.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 18px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* KOTAK PENCARIAN UNIT */
.search-box {
  position: relative;
  min-width: 280px;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   15. GRID KARTU PRODUK LAPTOP BEKAS (LAPTOP CARD)
   -------------------------------------------------------------------------- */
.laptop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.laptop-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.laptop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* FOTO THUMBNAIL LAPTOP */
.laptop-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #1a0f05;
}

.laptop-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.laptop-card:hover .laptop-thumb {
  transform: scale(1.05);
}

.laptop-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.laptop-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.laptop-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 14px;
}

/* SPESIFIKASI SINGKAT LAPTOP */
.specs-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.spec-pill {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-pill i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* HARGA PRODUK LAPTOP */
.laptop-pricing-box {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-orig {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  text-decoration: line-through;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

/* TOMBOL AKSI DI DALAM KARTU LAPTOP */
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
}

/* KOTAK PEMBERITAHUAN REQUEST STOK DI BAWAH KATALOG */
.catalog-notice {
  margin-top: 40px;
  background-color: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.notice-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.notice-text {
  font-size: 0.92rem;
  color: var(--text-main);
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   16. FORMULIR JUAL / TUKAR TAMBAH LAPTOP (SELL SECTION)
   -------------------------------------------------------------------------- */
.sell-section {
  background: radial-gradient(circle at center, #26160a 0%, #120c06 100%);
  color: #ffffff;
  border-top: 2px solid #CC6600;
  border-bottom: 2px solid #CC6600;
}

.sell-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.sell-info .badge-tag {
  background-color: rgba(204, 102, 0, 0.25);
  color: #ffedd5;
  border-color: rgba(254, 215, 170, 0.4);
}

.sell-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 18px;
  color: #ffffff;
}

.sell-desc {
  font-size: 1rem;
  color: #d4bda8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.sell-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sell-step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sell-step-item strong {
  font-size: 1rem;
  color: #ffffff;
  display: block;
  margin-bottom: 3px;
}

.sell-step-item p {
  font-size: 0.875rem;
  color: #d4bda8;
  line-height: 1.45;
}

/* KARTU FORMULIR JUAL */
.sell-form-card {
  background-color: var(--bg-card);
  color: var(--text-main);
  padding: 34px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   17. FORMULIR BOOKING SERVIS & CLEANING (BOOKING SECTION)
   -------------------------------------------------------------------------- */
.booking-section {
  background-color: var(--bg-body);
}

.booking-card {
  background: linear-gradient(135deg, #1c1107 0%, #2e1b0c 100%);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 2px solid #4a2d14;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.booking-content .badge-tag {
  background: rgba(204, 102, 0, 0.3);
  color: #fed7aa;
  border-color: rgba(254, 215, 170, 0.4);
}

.booking-desc {
  font-size: 1rem;
  color: #d4bda8;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* KEUNGGULAN BOOKING (BISA DITUNGGU, TRANSPARAN, NO FIX NO FEE) */
.booking-perks {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.perk-item i {
  font-size: 1.4rem;
  color: #f97316;
  margin-top: 3px;
}

.perk-item strong {
  color: #ffffff;
  font-size: 0.95rem;
  display: block;
}

.perk-item span {
  font-size: 0.825rem;
  color: #d4bda8;
  line-height: 1.4;
  display: block;
}

.booking-form-wrapper {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(254, 215, 170, 0.2);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.booking-form label {
  color: #fed7aa;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.booking-form .form-control {
  background-color: rgba(18, 12, 6, 0.85);
  border-color: rgba(254, 215, 170, 0.25);
  color: #ffffff;
}

.booking-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   18. STANDAR QUALITY CONTROL & KEUNGGULAN (WHY CHOOSE US)
   -------------------------------------------------------------------------- */
.why-section {
  background-color: var(--bg-surface);
}

.qc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}

.qc-card {
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  transition: var(--transition);
}

.qc-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.qc-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  border: 1px solid var(--border-color);
}

.qc-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.qc-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   19. PERTANYAAN SERING DIAJUKAN (FAQ ACCORDION)
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-surface);
}

.faq-container {
  max-width: 820px;
}

.accordion {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.accordion-header i {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background-color: var(--bg-surface);
}

.accordion-body p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   20. INFORMASI WORKSHOP & MOCKUP MAPS (CONTACT SECTION)
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-section-alt);
}

.contact-box {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 46px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.contact-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 26px;
  line-height: 1.55;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.3rem;
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.info-item strong {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 2px;
  color: var(--text-main);
}

.info-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   21. FOOTER UTAMA TOKO (ORANGE FOOTER RESMI)
   -------------------------------------------------------------------------- */
.footer {
  background-color: #CC6600;
  color: #ffffff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 22px;
  color: #fff2e6;
}

/* TAUTAN SOSIAL MEDIA DI FOOTER */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: #ffffff;
  color: #CC6600;
  transform: translateY(-3px);
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #fff2e6;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background-color: #b35900;
  padding: 22px 0;
  font-size: 0.85rem;
  color: #ffffff;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   22. TOMBOL WHATSAPP MELAYANG DI POJOK KANAN BAWAH (FLOATING WHATSAPP BUTTON)
   -------------------------------------------------------------------------- */
/* Tombol Mengambang WhatsApp */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background-color: var(--whatsapp);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.925rem;
  box-shadow: 0 8px 24px var(--whatsapp-glow);
  transition: var(--transition);
}

/* Ikon / Logo WhatsApp di Tombol Mengambang */
.floating-wa i {
  font-size: 1.5rem;
}

/* Efek Hover Tombol WhatsApp Mengambang */
.floating-wa:hover {
  transform: scale(1.05);
  background-color: var(--whatsapp-hover);
}

/* --------------------------------------------------------------------------
   23. JENDELA POP-UP DETAIL PRODUK (MODAL OVERLAY & CONTAINER)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 8, 4, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  color: var(--text-main);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(204, 102, 0, 0.35);
  border: 1px solid var(--border-color);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

/* TOMBOL TUTUP MODAL (X) */
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--primary-light);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding: 30px;
}

.modal-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.modal-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.modal-specs-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-specs-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 35%;
}

.modal-specs-table td:last-child {
  color: var(--text-main);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   24. PENGATURAN RESPONSIVE LAYAR TABLET (MAX-WIDTH: 1024PX)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .sell-wrapper, .booking-grid, .contact-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid, .laptop-grid, .qc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   25. PENGATURAN RESPONSIVE LAYAR HP (MAX-WIDTH: 768PX)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .store-header-banner h1 {
    font-size: 1.7rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .services-grid, .laptop-grid, .qc-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .booking-card {
    padding: 24px;
  }

  .contact-box {
    padding: 24px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  /* Sembunyikan teks label WhatsApp pada HP, sisakan ikon bulat */
  .floating-wa-label {
    display: none;
  }

  .floating-wa {
    padding: 14px;
    border-radius: 50%;
  }

  .topbar-right {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   26. PENGUNCI LEBAR & ANTI-OVERFLOW HORIZONTAL LAYAR HP
   -------------------------------------------------------------------------- */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
}

@media (max-width: 768px) {
  *, *::before, *::after {
    max-width: 100vw !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .form-control,
  .modal-specs-table,
  table {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --------------------------------------------------------------------------
   27. PENGATURAN MENU HAMBURGER & DROPDOWN NAVIGASI MOBILE (HP)
   -------------------------------------------------------------------------- */
/* Sembunyikan ikon hamburger di layar komputer/laptop */
.mobile-toggle {
  display: none;
}

@media (max-width: 768px) {
  /* Tampilkan tombol hamburger 3 garis pada HP */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
  }

  /* Sembunyikan tombol kecil booking service di navbar HP agar tidak sesak */
  .nav-actions .btn-sm {
    display: none !important;
  }

  /* Menu navigasi berubah menjadi dropdown melayang di bawah navbar */
  .nav-menu {
    position: fixed !important;
    top: 72px; 
    left: 0;
    width: 100% !important;
    background-color: var(--bg-surface) !important;
    flex-direction: column !important;
    align-items: center;
    padding: 24px !important;
    gap: 16px !important;
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
    z-index: 1000 !important;
    display: none !important;
  }

  /* Tampilkan menu dropdown ketika tombol hamburger diklik */
  .nav-menu.active {
    display: flex !important;
  }
}
