/* ========================================
   MUSCA TRAP — Flycatcher Website
   Tema: Clean White + Soft UV Blue (Premium)
======================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-body: #ffffff;
  --bg-section: #f5f8fc;
  --bg-card: #ffffff;
  --text-primary: #1c2333;
  --text-secondary: #5a6478;
  --accent: #039be5;
  --accent-dark: #0277bd;
  --accent-soft: rgba(3, 155, 229, 0.08);
  --border: #e8eef5;
  --shadow: 0 4px 24px rgba(28, 35, 51, 0.06);
  --shadow-hover: 0 12px 32px rgba(3, 155, 229, 0.12);

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --container: 1120px;
  --section-pad: 90px 0;
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3, 155, 229, 0.35);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.85);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
}

.navbar.scrolled .logo {
  color: var(--accent);
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--accent);
}

.navbar.scrolled .hamburger span {
  background: var(--text-primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  position: relative;
  letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ========================================
   HERO
======================================== */
/* ========== HERO — gambar background + cahaya ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;      /* bukan center */
  justify-content: center;
  text-align: center;
  background-image: url('../images/Gambar_Beranda.jpeg');
  background-size: cover;
  background-position: center 30%;  /* geser gambar sedikit */
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 140px 0 80px;        /* ruang atas lebih besar */
}

/* Overlay tipis — jangan gelap */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(180, 220, 240, 0.45) 0%,
    rgba(200, 230, 245, 0.25) 40%,
    rgba(180, 215, 235, 0.4) 100%
  );
  z-index: 1;
}

/* Cahaya UV di area lampu */
.hero-glow {
  position: absolute;
  top: 48%;                     /* sesuaikan: naikkan/turunkan */
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 380px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 210, 255, 0.65) 0%,
    rgba(0, 180, 255, 0.35) 35%,
    rgba(80, 190, 255, 0.12) 60%,
    transparent 80%
  );
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
  z-index: 2;
  animation: glowPulse 3.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 0 24px;
  margin-top: 0vh;              /* posisi teks di bagian atas */
}

.hero-title {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(2.6rem, 6.5vw, 4rem);
  font-weight: 700;
  color: #0a2d5c;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #1a3555;
  margin-bottom: 110px;
  line-height: 1.75;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hero .btn-outline {
  border: 1.5px solid #0288d1;
  color: #0288d1;
  background: rgba(255, 255, 255, 0.5);
}

.hero .btn-outline:hover {
  background: rgba(2, 136, 209, 0.12);
}

/* Navbar di hero terang */
.navbar:not(.scrolled) .logo {
  color: #0a2d5c;
}

.navbar:not(.scrolled) .nav-links a {
  color: #1a3555;
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  color: #0288d1;
}

.navbar:not(.scrolled) .hamburger span {
  background: #0a2d5c;
}

/* ========================================
   SECTION UMUM
======================================== */
.section {
  padding: var(--section-pad);
  background: var(--bg-body);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
  line-height: 1.3;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   TENTANG
======================================== */
.tentang {
  background: var(--bg-section);
}

.tentang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.tentang-text p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.tentang-text strong {
  color: var(--accent);
  font-weight: 600;
}

.aplikasi-list {
  margin-top: 28px;
}

.aplikasi-list h4 {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.aplikasi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aplikasi-grid span {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  font-weight: 500;
}

.aplikasi-grid span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Video */
.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

.produk-video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  max-height: 400px;
  object-fit: cover;
}

/* ========================================
   PRODUK + GALLERY
======================================== */
.produk {
  background: var(--bg-body);
}

.produk-gallery-wrapper {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.produk-gallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  scrollbar-width: none;
}

.produk-gallery::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 auto;
  width: 400px;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.gallery-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow);
  line-height: 1;
  padding: 0;
}

.gallery-nav:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.gallery-hint {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.produk-info-below {
  max-width: 840px;
  margin: 0 auto;
}

.produk-header-info {
  text-align: center;
  margin-bottom: 40px;
}

.produk-header-info h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
}

.produk-type {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
}

.produk-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.spesifikasi h4,
.isi-paket h4 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.spesifikasi ul li,
.isi-paket ul li {
  color: var(--text-secondary);
  padding: 7px 0;
  padding-left: 18px;
  position: relative;
  font-size: 0.95rem;
}

.spesifikasi ul li::before,
.isi-paket ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.spesifikasi ul li strong {
  color: var(--text-primary);
}

.produk-cta {
  text-align: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.85;
  z-index: 10;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
  line-height: 1;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ========================================
   KEUNGGULAN
======================================== */
.keunggulan {
  background: var(--bg-section);
}

.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.keunggulan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.keunggulan-card:hover {
  border-color: rgba(3, 155, 229, 0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.keunggulan-icon {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.9;
}

.keunggulan-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 600;
}

.keunggulan-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ========================================
   CARA ORDER
======================================== */
.order {
  background: var(--bg-body);
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.order-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.order-card:hover {
  border-color: rgba(3, 155, 229, 0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.order-number {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--accent);
  font-weight: 600;
  opacity: 0.55;
  margin-bottom: 10px;
}

.order-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.order-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.order-card .btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.order-card .btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.catatan-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 34px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.catatan-box h4 {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
}

.catatan-box ul li {
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.catatan-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.catatan-box .note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 12px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: #0f1724;
  padding: 70px 0 28px;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-display);
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  max-width: 290px;
  line-height: 1.65;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.95rem;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 950px) {
  .tentang-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .produk-specs-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .keunggulan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-item {
    width: 300px;
    height: 260px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 72%;
    max-width: 290px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 28px 30px;
    gap: 22px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .nav-links a {
    color: var(--text-primary) !important;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 500px) {
  .keunggulan-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 270px;
    text-align: center;
  }

  .gallery-item {
    width: 260px;
    height: 230px;
  }
}

/* ========== KATALOG PRODUK ========== */
.produk-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.produk-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius, 14px);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.produk-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(3, 155, 229, 0.3);
}

.produk-card-img {
  height: 200px;
  background: #f0f4f8;
  overflow: hidden;
}

.produk-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.produk-card:hover .produk-card-img img {
  transform: scale(1.05);
}

.produk-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.produk-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  width: fit-content;
}

.produk-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.35;
}

.produk-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.5;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
  text-align: center;
  width: 100%;
  border-radius: 50px;
}

.produk-card.hide {
  display: none;
}

/* ========== MODAL DETAIL PRODUK ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.7);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 920px;
  width: 94%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-secondary);
  z-index: 5;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  min-height: 420px;
}

/* Galeri di dalam modal */
.modal-gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  min-height: 480px;
  height: 100%;
  overflow: hidden;
}

.modal-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  min-height: 480px;
  scrollbar-width: none;
}

.modal-gallery::-webkit-scrollbar {
  display: none;
}

.modal-gallery-item {
  flex: 0 0 100%;
  width: 100%;
  min-height: 480px;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-gallery-item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;   /* gambar utuh, tidak terpotong */
  display: block;
}

.modal-gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  line-height: 1;
}

.modal-gal-nav:hover {
  background: var(--accent);
  color: #fff;
}

.modal-gal-prev { left: 12px; }
.modal-gal-next { right: 12px; }
.modal-info {
  padding: 32px 28px;
  overflow-y: auto;
}

.modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.modal-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 600;
}

.modal-info > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-specs h4 {
  font-size: 0.95rem;
  margin: 16px 0 8px;
  color: var(--text-primary);
}

.modal-specs ul {
  margin-bottom: 8px;
}

.modal-specs li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0 4px 16px;
  position: relative;
}

.modal-specs li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.modal-info .btn {
  margin-top: 20px;
  display: inline-block;
}

@media (max-width: 900px) {
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-gallery-wrap,
  .modal-gallery,
  .modal-gallery-item {
    min-height: 320px;
    height: 320px;
  }
  .modal-gallery-item img {
    max-height: 280px;
  }
}

/* ========== CARA KERJA / PEMASANGAN ========== */
.langkah-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.langkah-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius, 14px);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.langkah-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(3, 155, 229, 0.3);
}

.langkah-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 600;
  opacity: 0.7;
  margin-bottom: 12px;
}

.langkah-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 600;
}

.langkah-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cara-kerja,
.pemasangan {
  background: var(--bg-section);
}

.perbedaan {
  background: var(--bg-body);
}

/* ========== TABEL PERBANDINGAN ========== */
.banding-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius, 14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.banding-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

.banding-table th,
.banding-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.banding-table th {
  background: var(--bg-section);
  color: var(--text-primary);
  font-weight: 600;
}

.banding-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
  width: 22%;
}

.banding-table tbody tr:last-child td {
  border-bottom: none;
}

.banding-table tbody tr:hover {
  background: var(--accent-soft);
}

@media (max-width: 900px) {
  .langkah-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-img {
    min-height: 220px;
  }
  .modal-img img {
    min-height: 220px;
  }
}

@media (max-width: 500px) {
  .langkah-grid {
    grid-template-columns: 1fr;
  }
}
