/* === FONT & VARIABEL CSS === */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --header-height: 3.5rem;

  /* Warna */
  /* --primary-color: #5409DA; */
  --primary-color: #4f959d;
  --primary-color-alt: #ac1754;
  --primary-color-light: #c4b2f5;
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --text-color: #e1e1e1;
  --text-color-light: #a8a8a8;
  --white-color: #fff;
  --glow-color: rgba(122, 87, 209, 0.6);

  /* Font & Tipografi */
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 3.75rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;

  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* === BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg-dark);
  color: var(--text-color);
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  overflow-x: hidden;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

/* From Uiverse.io by StealthWorm */
.btns {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 14rem;
  overflow: hidden;
  height: 4rem;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: solid 4px var(--primary-color);

  /* Ubah base background ke semi-dark white */
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.15)
    ),
    linear-gradient(
      137.48deg,
      rgba(33, 33, 33, 0.95) 10%,
      /* dark grey */ rgba(25, 25, 25, 0.9) 45%,
      /* almost black */ rgba(18, 18, 18, 0.92) 67%,
      /* deeper dark */ rgba(12, 12, 12, 0.95) 87% /* near black */
    );

  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: "Poppins";
  font-size: 16px;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btns:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btns:hover {
  transform: scale(1.1);
}

.btns:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btns:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.section {
  padding: 6rem 0 2rem;
}

.section-title,
.section-h2 {
  text-align: center;
  color: var(--white-color);
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: var(--h2-font-size);
}

.section-title p {
  color: var(--text-color-light);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white-color);
}

.btn-primary:hover {
  background: var(--primary-color-alt);
  box-shadow: 0 0 25px var(--glow-color);
  transform: translateY(-3px);
}

/* === 2. NAVBAR === */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all 0.4s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  transition: all 0.4s ease;

  /* Gaya mengambang awal */
  margin-top: 1rem;
  max-width: 900px;
  background-color: rgba(30, 30, 30, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white-color);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  position: relative;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--white-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Efek navbar saat scroll */
.header.scrolled .navbar {
  max-width: 100%;
  margin-top: 0;
  border-radius: 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--bg-card);
}

/* Styling untuk Ikon Hamburger */
.hamburger {
  display: none; /* Sembunyikan di desktop */
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--white-color);
  transition: all 0.3s ease-in-out;
}

/* Media Query untuk Tampilan Mobile */
@media only screen and (max-width: 768px) {
  /* Tampilkan ikon hamburger */
  .hamburger {
    display: block;
    z-index: 1001; /* Pastikan di atas menu */
  }

  /* Ubah ikon hamburger menjadi 'X' saat aktif */
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Posisikan menu di luar layar */
  .nav-menu {
    position: fixed;
    left: -100%; /* Mulai dari luar layar sebelah kanan */
    top: 0;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    background-color: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(15px);
    transition: left 0.4s ease-in-out;
  }

  /* Kelas 'active' untuk menampilkan menu */
  .nav-menu.active {
    left: 0;
 
  }
  .nav-menu.active li a {
    right: 0;
    font-size: 40px;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  /* Hilangkan efek floating di mobile agar lebih simpel */
  .navbar {
    margin-top: 0;
    max-width: 100%;
    border-radius: 0;
    background-color: transparent; /* Jadikan transparan */
    backdrop-filter: none;
    border: none;
    padding: 0 1.5rem; /* Beri sedikit padding */
  }

  .header.scrolled .navbar {
    background-color: var(--bg-dark); /* Tetap solid saat scroll */
  }
}

/* === 1. HERO SECTION (UPGRADE: Warna & 3D Grid) === */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.hero-background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;

  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  z-index: 1;
}

/* Override keyframes lama dengan yang lebih berwarna */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-blur-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-glass-card {
  position: relative;
  width: 95%;
  /* margin-top: 90px; */
  height: 100%;
  /* Gradasi tipis pada kartu untuk warna tambahan */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  z-index: 3;
  overflow: hidden; /* Penting untuk efek grid 3D */
}

/* EFEK GLOWING BORDER ANIMASI */
.hero-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.5rem;
  border: 2px solid transparent;
  background: conic-gradient(
      from var(--angle),
      rgba(58, 63, 122, 0.9),
      rgba(44, 47, 84, 0.9),
      rgba(90, 42, 58, 0.9),
      rgba(58, 63, 122, 0.9)
    )
    border-box;

  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorder {
  to {
    --angle: 360deg;
  }
}

/* EFEK GRID 3D ANIMASI */
.hero-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(143, 148, 251, 0.15) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(143, 148, 251, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  transform: translateY(30%) rotateX(60deg) scale(2);
  animation: moveGrid 8s linear infinite;
  opacity: 0.5;
}

@keyframes moveGrid {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 100px;
  }
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 700px;
  margin: auto;
}

.hero-title {
  font-size: var(--biggest-font-size);
  font-weight: 700;
  color: var(--white-color);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-slogan {
  font-size: var(--h3-font-size);
  color: var(--text-color-light);
  margin: 1.5rem 0 3rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white-color);
  box-shadow: 0 0 20px var(--glow-color);
  transform: translateY(-3px);
}

/* Media Query untuk Responsif */

.hero-title {
  font-size: var(--h1-font-size);
}
.hero-slogan {
  font-size: var(--normal-font-size);
}
.hero-buttons {
  flex-direction: column;
  gap: 1rem;
}
.hero-;

.nav-toggle,
.nav-close {
  display: none; /* Sembunyikan di desktop */
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white-color);
}

/* === 3. SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: var(--h3-font-size);
  color: var(--white-color);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-color-light);
}

/* === 4. PRODUCTS (Tampilan Baru) === */
.products .section-h2 {
  text-align: left; /* Mengubah perataan teks judul */
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.product-info-text p {
  color: var(--text-color-light);
}

.product-nav {
  display: flex;
  gap: 1rem;
}

.product-prev,
.product-next {
  position: static;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border-radius: 50%;
  color: var(--primary-color);
  border: 1px solid #333;
  transition: background 0.3s;
}
.product-prev:hover,
.product-next:hover {
  background: #2f2f2f;
}

.product-prev::after,
.product-next::after {
  font-size: 1.2rem;
}

.product-swiper-container {
  position: relative;
  overflow-x: hidden;
  padding: 0 5px; /* Sedikit padding agar shadow terlihat */
}

.product-swiper {
  overflow: visible; /* Penting agar shadow terlihat */
}

.product-card {
  background-color: var(--bg-card);
  border-radius: 1.5rem;
  padding: 1rem;
  border: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-image-container {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
}

.product-image-container img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: var(--white-color);
  padding: 0.25rem 0.6rem;
  border-radius: 1rem;
  font-size: var(--small-font-size);
  font-weight: 500;
}

.product-card-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white-color);
  margin-bottom: 0.25rem;
}

.product-card-content p {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-bottom: 1.5rem;
}

.btn-custom {
  display: block;
  width: 100%;
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
  padding: 0.8rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background: var(--primary-color-alt);
  transform: scale(1.03);
}

.product-pagination.swiper-pagination-bullets {
  position: static; /* Letakkan di bawah slider */
  margin-top: 2.5rem;
}

.product-pagination .swiper-pagination-bullet {
  background-color: #444;
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: all 0.3s;
}

.product-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  width: 30px;
  border-radius: 5px;
}

/* === 5. BANNER === */
.banner-container {
  position: relative;
}
.banner-swiper {
  border-radius: 1rem;
}

.banner-nav {
  position: absolute;
  width: 94%;
  top: 52%; /* geser ke tengah */
  left: 50%; /* center horizontal */
  transform: translate(-50%, -50%);
  justify-content: space-between;
  z-index: 10;
  display: flex;
  gap: 1rem;
  pointer-events: none; /* biar area kosong gak blok klik */
}
.banner-nav .swiper-button-prev,
.banner-nav .swiper-button-next {
  pointer-events: auto; /* tapi tombolnya tetap bisa diklik */
}

.banner-prev,
.banner-next {
  position: static;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  color: var(--white-color);
}
.banner-prev::after,
.banner-next::after {
  font-size: 1rem;
}

.banner-slide img {
  width: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* === 6. ORDER STEPS (Desain Baru) === */
.order-steps .section-title h2 .highlight {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 0.2rem 0.8rem;
  border-radius: 0.5rem;
}

.steps-container-new {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  align-items: stretch; /* Membuat kedua kolom sama tinggi */
}

/* Kolom Kiri: Tampilan Visual */
.steps-display {
  flex: 1;
  min-width: 0;
  position: relative;
  background: var(--primary-color);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.steps-display h3 {
  color: white;
}

.steps-display-swiper {
  width: 100%;
  height: 100%;
}

.display-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white-color);
}

.display-slide img {
  animation: zoomInOut 3s ease-in-out infinite;
}

@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); /* Zoom in */
  }
  100% {
    transform: scale(1); /* Balik ke normal */
  }
}

.display-slide i {
  font-size: 8rem;
  color: var(--primary-color-light);
  margin-bottom: 1.5rem;
}

.display-slide h3 {
  font-size: 2rem;
}

.steps-display-pagination.swiper-pagination-bullets {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
}

.steps-display-pagination .swiper-pagination-bullet {
  background-color: #444;
  opacity: 1;
}

.steps-display-pagination .swiper-pagination-bullet-active {
  background-color: white;
  width: 25px;
  border-radius: 5px;
}

/* Kolom Kanan: Daftar Langkah */
.steps-list {
  padding-block: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-container {
  padding-top: 4px;
}

.step-item {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: all 0.4s ease;
  cursor: pointer;
}

.step-item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.step-item-header span {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  font-weight: 600;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.step-item-header h4 {
  font-size: 1.25rem;
  color: var(--text-color-light);
  transition: color 0.4s ease;
}

.step-item p {
  color: var(--text-color-light);
  padding-left: 56px; /* Sejajar dengan teks judul */
}

.progress-bar {
  margin-top: 1rem;
  margin-left: 56px;
  width: calc(100% - 56px);
  height: 4px;
  background-color: #333;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-inner {
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* Gaya untuk Item yang Aktif */
.step-item.active {
  border-color: var(--primary-color);
  transform: scale(1.01);
}

.step-item.active .step-item-header span {
  background-color: var(--primary-color);
}

.step-item.active .step-item-header h4 {
  color: var(--white-color);
}

.step-item.active .progress-bar-inner {
  width: 100%;
}

/* Responsif untuk mobile */
@media screen and (max-width: 992px) {
  .steps-container-new {
    flex-direction: column;
  }
  .steps-display {
    min-height: 400px;
  }
}

/* === 7. CONNECT (GLASSMORPHISM) === */
.connect {
  background: url(https://source.unsplash.com/random/1920x1080?abstract,dark)
    no-repeat center center/cover;
  padding: 8rem 0;
}

.glassmorphism-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3rem;
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.glassmorphism-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  border: 2px solid var(--white-color);
  border-radius: 50%;
  color: var(--white-color);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 20px var(--glow-color);
}

/* === STYLE UNTUK VIDEO PREVIEW MODAL === */

/* Overlay latar belakang gelap */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Status aktif saat modal ditampilkan */
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Konten modal (wadah video) */
.modal-content {
  position: relative;
  background-color: var(--bg-dark);
  padding: 20px;
  border-radius: 1rem;
  width: 90%;
  max-width: 800px; /* Ukuran maksimal video */
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Tombol close (X) */
.close-button {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  line-height: 1;
}

/* Video di dalam modal */
#preview-video {
  display: block;
  border-radius: 0.5rem;
}

/* Overlay pada gambar produk */
.product-image-container {
  cursor: pointer;
  position: relative; /* Diubah dari kode sebelumnya */
}

.product-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--white-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-image-container:hover .product-preview-overlay {
  opacity: 1;
}

.product-preview-overlay i {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

/* === 8. FOOTER === */
.footer {
  padding-top: 6rem;
  background-color: #0c0c0c;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--text-color-light);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.footer-socials a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid var(--bg-card);
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

/* === Media Queries (untuk responsif) === */
@media screen and (max-width: 768px) {
  .products-container,
  .steps-container {
    flex-direction: column;
  }
  .product-info {
    text-align: center;
  }
  .product-info .section-h2 {
    text-align: center;
  }
  .product-nav {
    justify-content: center;
  }
  .product-swiper {
    width: 100%;
  }
}
