/* RESET BASIC */
:root {
    --bg-color: #F8F8F8;
    --text-color: #333333;
    --primary-color: #D4AF37;
    --bg-glass: rgba(255, 255, 255, 0.12); /* Transparansi disesuaikan */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.font-classic {
  font-family: 'Prata', serif;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #000;
  color: #fff;
}

body.lock-scroll {
  overflow: hidden;
}


/* OPENING SCENE */
.opening-scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  z-index: 999;
  overflow: hidden;
}

/* BACKGROUND */
.opening-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2s ease, transform 12s ease;
}

.bg-image.active {
  opacity: 1;
  transform: scale(1);
}

/* OVERLAY */
.opening-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.55)
  );
}

/* GLASS CARD */
.opening-card {
  position: relative;
  z-index: 2;
  width: min(90%, 420px);
  min-height: 420px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 3rem 2rem;

  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);

  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.22);

  text-align: center;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.25);

  animation: fadeUp 1.2s ease forwards, floatGlass 12s ease-in-out infinite;
}

.opening-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.05) 40%,
    transparent 60%
  );
  opacity: 0.35;
  pointer-events: none;
}

.opening-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(26px - 2px);
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}




/* CONTENT */
.opening-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 1rem;
}

/* Mengatur Nama Utama (SALSABILA) */
.opening-header h1 {
  margin: 0;
  padding: 0;
}

/* Mengatur Sub Nama (Undangan Digital) */
.opening-header h2 {
  font-size: 1rem;
  opacity: 0.8;
}

.opening-logo {
  width: 150px;
  margin-bottom: 5%;
}

.opening-tagline {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.opening-greeting {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 2rem;
}

/* BUTTON */
.opening-btn {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.95),
    rgba(255,255,255,0.85)
  );
  box-shadow:
    0 6px 18px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.6);
  color: #000;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform .3s ease, opacity .3s ease;
}

.opening-btn:active {
  transform: scale(0.96);
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(-40%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes floatGlass {
  0%   { transform: translateY(-50%) }
  50%  { transform: translateY(-52%) }
  100% { transform: translateY(-50%) }
}


/* CINEMATIC ZOOM */
.bg-image.active {
  animation: cinematicZoom 14s linear forwards;
}

@keyframes cinematicZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}



/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 96px 20px 64px;
  display: flex;
  align-items: center;
  background: #0b0b0b;
  color: #fff;
  overflow: hidden;
}


/* LIQUID LIGHT */
.liquid-light {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(212,175,55,0.25),
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(212,175,55,0.15),
      transparent 65%
    );
  filter: blur(70px);
  animation: liquidMove 18s ease-in-out infinite;
  z-index: 0;
}

@keyframes liquidMove {
  0%   { transform: translate(0,0) }
  50%  { transform: translate(-6%, -4%) }
  100% { transform: translate(0,0) }
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}


/* BASE PANEL */
.glass-panel {
  position: absolute;
  z-index: 1;
  width: 220px;
  height: 140px;
  border-radius: 24px;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.3);

  animation: floatPanel 10s ease-in-out infinite;
}

/* PANEL VARIANTS */
.panel-1 {
  top: 18%;
  right: -40px;
  animation-delay: 0s;
}

.panel-2 {
  bottom: 20%;
  right: 40px;
  width: 180px;
  height: 120px;
  animation-delay: 4s;
}

/* FLOAT */
@keyframes floatPanel {
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-14px) }
  100% { transform: translateY(0) }
}


/* CAROUSEL */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  opacity: 0;
  transform: scale(1.08);

  transition:
    opacity 3s ease,
    transform 14s linear;
}

.hero-slide.active {
  opacity: 0.12;
  transform: scale(1);
}

.hero-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* INNER */
.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 720px;
  margin: 0 auto;
  height: 60svh;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 10dvh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* EYEBROW */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
}

/* TITLE */
.hero-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 12px;
}

/* DESCRIPTION */
.hero-desc {
  font-size: 1rem;
  opacity: 0.8;
}

/* ACTIONS */
.hero-actions {
  display: flex;
  justify-content: center;
}

/* BUTTON */
.hero-btn {
  position: relative;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden; /* Penting untuk ornamen internal */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.hero-btn.primary {
  position: relative;
  background: #000;
  color: #d4af37;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 
              inset 0 0 0 1px rgba(212, 175, 55, 0.3);
}

/* Container Partikel */
.hero-btn.primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: -1;
  
  /* Menciptakan pola bintik-bintik halus */
  background-image: 
    radial-gradient(circle, #fff 1px, transparent 1px),
    radial-gradient(circle, #d4af37 1px, transparent 1px);
  background-size: 20px 20px, 30px 30px;
  background-position: 0 0, 15px 15px;
}

/* Animasi Partikel saat Hover */
.hero-btn.primary:hover::after {
  opacity: 0.3; /* Partikel halus, tidak terlalu mencolok */
  transform: scale(1) rotate(10deg);
  animation: particlesMove 10s linear infinite;
}

@keyframes particlesMove {
  from { background-position: 0 0, 15px 15px; }
  to { background-position: 100px 100px, 115px 115px; }
}

/* Efek Cahaya/Ornamen Saat Hover */
.hero-btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.hero-btn.primary:hover::before {
  left: 100%;
}

.hero-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 
              inset 0 0 0 1px rgba(212, 175, 55, 0.6);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.hero-btn:active {
  transform: scale(0.96);
}


/* OPENING EXIT ANIMATION */

.opening-scene.exit {
  pointer-events: none;
}

.opening-scene.exit .opening-card {
  opacity: 0;
  transform: translateY(-60%) scale(0.96);
  transition: all 1s ease;
}

.opening-scene.exit .opening-bg {
  opacity: 0;
  transition: opacity 1.2s ease;
}

body.hero-active .hero {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .panel-1 {
    right: -80px;
  }

  .panel-2 {
    right: -40px;
  }
}

/* ABOUT */
.about {
  padding: 96px 20px;
  background: #0b0b0b;
  color: #fff;
}

.about-intro {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* TESTIMONIALS */
.about-testimonial {
  overflow: hidden;
  margin-bottom: 72px;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 12px 0;
  will-change: transform;
}


.testimonial-card {
  position: relative;
  overflow: hidden;

  min-width: 280px;
  padding: 26px 24px;
  border-radius: 20px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);

  border: 1px solid rgba(255,255,255,0.12);
}

.testimonial-bg {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  opacity: 0.12;              /* KUNCI: sangat rendah */
  transform: scale(1.1);     /* rasa sinematik */
  filter: blur(2px);

  z-index: 0;
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.testimonial-card:hover .testimonial-bg {
  transform: scale(1.15);
  transition: transform 6s ease;
}


.testimonial-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.45)
  );
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
  opacity: 0.95;
  width: 20ch;
}

.testimonial-author {
  font-size: 0.85rem;
  opacity: 0.7;
}


.testimonial-mask {
  position: relative;
  overflow: hidden;

  mask-image: linear-gradient(
    to right,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
}


/* STATS */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 20px 12px;
  border-radius: 16px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.stat-item span {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Indonesia Map */
.map {

  & p {
    font-size: 0.8rem;
    text-align: center;
  }
& img{
  position: relative;
  height: auto;
  width: 100%;
  margin-top: -1rem;
  margin-bottom: 2rem;
  text-align: center;
}
}

/* PREVIEW DESIGNS */
.preview-design {
  padding: 96px 20px;
  background: #0b0b0b;
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

/* =========================================
   PREMIUM MOCKUP DESIGN GRID
========================================= */

.design-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px; /* Diperbesar sedikit agar tidak terlalu padat */
}

/* Responsif: Menjadi 3 Kolom di Desktop */
@media (min-width: 768px) {
  .design-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.design-card {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  border-radius: 24px;
  min-height: 220px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.design-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(212, 175, 55, 0.3); /* List kartu menyala keemasan saat di-hover */
}

/* KONTINER GAMBAR MOCKUP */
.design-mockup {
  width: 100%;
  max-width: 400px; /* Ukuran proporsional mockup */
  margin: -20px auto 24px; /* Margin negatif agar seolah mencuat ke atas (pop-out) */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-card:hover .design-mockup {
  transform: scale(1.15) translateY(-16px); /* Efek mengambang nyata saat kursor diarahkan */
}

.design-mockup img {
  width: 100%;
  height: auto;
  display: block;
  /* Menambahkan bayangan dinamis pada gambar transparan (MacBook) */
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.5)); 
}

/* KONTEN TEKS & TOMBOL */
.design-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Mendorong tombol selalu ke bawah meski teksnya pendek/panjang */
}

.design-info h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.design-info p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* TOMBOL LIHAT PREVIEW */
.preview-btn {
  margin-top: auto; /* Otomatis terdorong ke paling bawah card */
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1px solid var(--primary-color);
  transition: all 0.3s ease;
}

.preview-btn:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  transform: scale(1.05);
}

.preview-btn:active {
  transform: scale(0.95);
}

/* SERVICE SECTION */
.service {
  padding: 0 .5rem; /* pengaman kiri kanan mobile */
  overflow: hidden; /* cegah keluar viewport */
}


.service ul {
  list-style: none;
  max-width: 680px; /* sedikit lebih sempit */
  margin: 40px auto 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;

  gap: 8px 18px; /* ⬅️ INI KUNCI: RAPAT */
}

/* --- SERVICE SECTION: CINEMATIC FLOATING --- */
.service {
  position: relative;
  padding: 6rem 1rem;
  overflow: hidden; /* Mencegah elemen keluar layar saat bergerak */
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh; /* Memberi ruang napas */
}

.service ul {
  list-style: none;
  margin: 0;
  padding: 0;
  
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem; /* Jarak dasar antar teks */
  
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.service li {
  font-family: 'Prata', serif; /* Font klasik agar elegan */
  font-size: 1.8rem;
  color: #fff;
  white-space: nowrap;
  cursor: default;
  
  /* Setting awal agar smooth */
  opacity: 0; 
  transform-origin: center center;
  will-change: transform, opacity, filter;
  
  /* Animasi Global */
  animation: cinematicFloat ease-in-out infinite alternate;
}

/* --- LOGIKA ANIMASI RANDOM (TANPA JS) --- */

/* Item 1: Aqiqah - Lambat, gerak ke kiri atas */
.service li:nth-child(1) {
  animation-duration: 9s;
  animation-delay: 0s;
  --move-x: -15px;
  --move-y: -10px;
}

/* Item 2: Khitan - Sedang, gerak ke kanan bawah */
.service li:nth-child(2) {
  animation-duration: 7s;
  animation-delay: -2s; /* Mulai di tengah animasi */
  font-size: 1.4rem; /* Variasi ukuran */
  --move-x: 20px;
  --move-y: 15px;
}

/* Item 3: Nikah - Sangat lambat (Fokus Utama), gerak vertikal */
.service li:nth-child(3) {
  font-size: 2.5rem; /* Paling besar */
  font-weight: 500;
  animation-duration: 11s;
  animation-delay: -1s;
  color: var(--primary-color); /* Emas di awal */
  --move-x: 5px;
  --move-y: -20px;
  z-index: 3;
}

/* Item 4: Acara Khusus - Cepat, gerak ke kiri */
.service li:nth-child(4) {
  animation-duration: 8s;
  animation-delay: -4s;
  font-size: 1.3rem;
  --move-x: -20px;
  --move-y: 5px;
}

/* Item 5: Syukuran - Sedang, gerak ke kanan atas */
.service li:nth-child(5) {
  animation-duration: 10s;
  animation-delay: -3s;
  font-size: 1.6rem;
  --move-x: 15px;
  --move-y: -15px;
}

/* --- KEYFRAMES --- */
@keyframes cinematicFloat {
  0% {
    /* MUNDUR (Jauh, Buram, Gelap) */
    opacity: 0.3;
    transform: 
      translate(0, 0) 
      scale(0.85); /* Mengecil = Mundur */
    filter: blur(3px);
    color: rgba(255, 255, 255, 0.4);
    text-shadow: none;
  }
  
  100% {
    /* MAJU (Dekat, Jelas, Terang) */
    opacity: 1;
    transform: 
      translate(var(--move-x), var(--move-y)) 
      scale(1.15); /* Membesar = Maju */
    filter: blur(0px);
    color: var(--primary-color); /* Berubah jadi Emas saat maju */
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3); /* Efek Glow */
  }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .service {
    padding: 4rem 1rem;
    min-height: 30vh;
  }
  
  .service li {
    font-size: 1.3rem; /* Kecilkan sedikit di HP */
  }
  
  .service li:nth-child(3) {
    font-size: 1.8rem; /* Nikah tetap paling besar tapi proporsional */
  }
  
  /* Kurangi jarak gerak di layar kecil agar tidak keluar layar */
  .service ul {
    gap: 1.5rem;
  }
}


.packages {
  display: grid;
  gap: 24px;
  width: 95%;
  justify-self: center;
  margin: 0 auto;
  max-width: 850px;
  padding: 0px 10px 40px;
}

@media (min-width: 768px) {
  .packages {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch; /* Memastikan tinggi kedua kartu sejajar rata */
    gap: 40px; /* Memberikan ruang napas yang lebih lega antar kartu */
    padding: 0px 20px 60px;
  }
  
  /* Sedikit efek scale untuk kartu 'Paling Populer' agar lebih menonjol di desktop */
  .package-card.featured {
    transform: scale(1.05);
    z-index: 2;
  }
  
  /* Menjaga animasi hover tetap proporsional untuk kartu yang di-scale */
  .package-card.featured:hover,   .package-card.premium:hover {
    transform: scale(1.08) translateY(-5px);
  }
}

/* GLASS CARD */
.package-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  color: #fff;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);

  overflow: hidden;

  display: flex;
  flex-direction: column;
}

/* LIGHT SWEEP */
.package-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255,255,255,0.15),
    transparent 60%
  );
  transform: translateX(-100%);
  animation: lightSweep 6s ease-in-out infinite;
}

@keyframes lightSweep {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* PRICE */
.package-price {
  margin: 16px 0 24px;
}
.price-old {
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 8px;
}
.price-new {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* FEATURE LIST */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;

  margin-bottom: 32px;
  flex-grow: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Base Styling Tombol Paket */
.package-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto; /* Kunci agar tombol selalu merapat ke bawah */
}

/* Varian Tombol Solid (Untuk Paket Populer / Humairah) */
.package-btn.solid {
  background: var(--primary-color);
  color: #000;
  border: 1px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.package-btn.solid:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Varian Tombol Outline (Untuk Paket Aisyah) */
.package-btn.outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.package-btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

/* CHECK BOX */
.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--primary-color);
  font-size: 0.8rem;
  flex-shrink: 0;
}




/* JOURNEY SECTION */
.journey {
  padding: 96px 20px;
  background: #0b0b0b;
  color: #fff;
}

.journey-steps {
  max-width: 720px;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.journey-step {
  position: relative;
  padding-left: 48px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.journey-step h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.journey-step p {
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 12px;
}

.journey-step ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.journey-step li {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 6px;
}


/* ===============================
   FAQ ACCORDION REAL SMOOTH
================================ */

.faq {
  padding-block: 2rem;
}

.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 2rem;
  width: 90%;
  margin: 0 auto 1rem;
  overflow: hidden;
  transition: 
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* SUMMARY */
.faq-item summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

summary::-webkit-details-marker {
  display: none;
}

/* ICON */
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  color: var(--primary-color);
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.7;

  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* CONTENT GRID */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;

  transition: grid-template-rows 0.55s cubic-bezier(.22,1,.36,1);
}

/* INNER */
.faq-inner {
  overflow: hidden;
}

/* TEXT */
.faq-inner p {
  margin: 0;
  padding-top: 14px;

  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0;

  transform: translateY(-6px);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* OPEN STATE */
.faq-item[open] .faq-content {
  grid-template-rows: 1fr;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.faq-item[open] .faq-inner p {
  opacity: 0.85;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .faq-item {
    width: 60%;
  }
}


/* FINAL CTA SECTION */
.final-cta {
  padding: 3rem 1.2rem;
  background:
    radial-gradient(
      circle at top,
      rgba(212,175,55,0.18),
      transparent 65%
    ),
    #0b0b0b;
  color: #fff;
  text-align: center;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin: 16px 0 20px;
}

.final-cta-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 36px;
}

.final-cta-btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.final-cta-btn:hover {
  transform: translateY(-2px);
}


.final-cta-btn:active {
  transform: scale(0.96);
}

.final-cta-note {
  display: block;
  margin-top: 14px;
  font-size: 0.75rem;
  opacity: 0.6;
}



/* FOOTER SECTION */
.site-footer {
  background: #080808;
  color: #fff;
  padding: 64px 20px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 48px;
}

/* BRAND */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* INFO GRID */
.footer-info {
  display: grid;
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col li {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
}

.footer-col a:hover {
  opacity: 1;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 2fr;
  }

  .footer-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ANIMASI KUPU-KUPU */
.butterfly-float {
  animation: butterfly 25s ease-in-out infinite, 
             breathe 6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes breathe {
  0%   { opacity: 0.95; }
  50%  { opacity: 1; }
  100% { opacity: 0.95; }
}


/* Gerakan kupu-kupu */
@keyframes butterfly {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  20% {
    transform: translate(4px, -6px) rotate(0.4deg);
  }

  40% {
    transform: translate(-3px, -12px) rotate(-0.3deg);
  }

  60% {
    transform: translate(-6px, -6px) rotate(0.5deg);
  }

  80% {
    transform: translate(3px, -2px) rotate(-0.2deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@media (max-width: 768px) {
  .butterfly-float {
    animation-duration: 12s;
  }
}


/* LOGO FOOTER */
.footer-credit {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: .5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* LOGO */
.footer-arasy {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--warna-kuning);
  line-height: 1;

  animation: spin 25s linear infinite;
  transition: animation-duration 0.4s ease;

  /* Mencegah menu klik kanan/konteks muncul di mobile saat ditekan lama */
  -webkit-touch-callout: none; 
  /* Mencegah seleksi teks */
  -webkit-user-select: none;   
  user-select: none;
  
  /* Menghilangkan highlight abu-abu saat di-tap di Android/iOS */
  -webkit-tap-highlight-color: transparent; 
  
  outline: none; /* Menghilangkan garis biru saat di-tap/focus */
}

/* TEXT */
.arasy-text {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
  pointer-events: none;
}

/* === HOVER INTERACTION (MAGIC HERE) === */

.footer-arasy:hover,
.footer-arasy:active {
  animation-duration: 1.5s; /* Ikon berputar cepat */
}

/* Teks muncul HANYA saat .footer-arasy (ikon) di-hover */
.footer-arasy:hover + .arasy-text,
.footer-arasy:active + .arasy-text {
  opacity: 1;
  transform: translateX(0);
}

@media (hover: none) {
  /* Saat di-tap (active) atau saat fokus (setelah di-tap) */
  .footer-arasy:active, 
  .footer-arasy:focus {
    animation-duration: 1.5s;
  }

  .footer-arasy:active + .arasy-text,
  .footer-arasy:focus + .arasy-text {
    opacity: 1;
    transform: translateX(0);
    /* Menjaga teks tetap muncul sedikit lebih lama setelah tap */
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .copyright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .footer-credit {
    width: fit-content;
    margin-inline: auto;
  }
}




/* --- CTA WHATSAPP --- */

/* 1. Tombol Pemicu Mengambang */

/* STATE HIDE (HALUS & DEKAT) */
.wa-float-trigger {
    position: fixed;
    bottom: 6rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 55px;
    height: 55px;
    border-radius: 2rem;

    /* INI SUDAH ADA DI KODE ANDA, TAPI KELAS .visible HILANG */
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.92);
    transition:
    opacity 0.35s ease,
    transform 0.35s ease;
    pointer-events: none;
}

.wa-float-trigger.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.wa-float-trigger.hide {
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
}

.wa-icon-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;

    /* --- TAMBAHKAN BARIS INI --- */
    animation: pulse 2.5s infinite;
}

/* Hentikan animasi saat pop-up terbuka */
.wa-float-trigger.open .wa-icon-circle {
    animation: none;
}

.wa-float-trigger:hover .wa-icon-circle {
    transform: scale(1.05);
}

.wa-text-bubble {
    color: #333;
    padding: 10px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-right: 15px;
    font-size: 0.95rem;
    opacity: 0; /* Sembunyikan di awal */
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    position: absolute;
    right: 100%; /* Posisikan di sebelah kiri trigger */
    white-space: nowrap; /* Pastikan teks tidak terlipat */
}
.wa-float-trigger:hover .wa-text-bubble {
    opacity: 1;
    transform: translateX(0);
}

/* Sembunyikan text bubble saat pop-up terbuka (open) */
.wa-float-trigger.open:hover .wa-text-bubble {
    opacity: 0;
    transform: translateX(10px);
}

@media (max-width: 768px) {
    .wa-text-bubble {
        display: none; /* Sembunyikan pada layar kecil */
    }
}

/* Transisi Ikon WhatsApp ke Close 'X' */
.wa-icon, .close-icon {
    font-size: 30px;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.close-icon {
    transform: rotate(-45deg) scale(0.8);
    opacity: 0;
}
.wa-float-trigger.open .wa-icon {
    transform: rotate(45deg) scale(0.8);
    opacity: 0;
}
.wa-float-trigger.open .close-icon {
    transform: rotate(0) scale(1);
    opacity: 1;
}

.wa-float-trigger.idle .wa-icon-circle {
  animation: pulse 2.5s infinite;
}

.wa-float-trigger.open .wa-icon-circle {
  animation: none;
}


/* 2. Container Pop-up */
.wa-popup-container {
    position: fixed;
    bottom: 9rem; right: 0;
    width: 100%; height: 100%;
    z-index: 99;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
    
    /* Sembunyikan di awal */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}
.wa-popup-container.open {
    opacity: 1;
    visibility: visible;
}

/* 3. Kartu Pop-up */
.wa-popup-card {
    width: 100%;
    max-width: 380px;
    background-color: #25D366;
    color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateY(50px); /* Posisi awal di bawah */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-popup-container.open .wa-popup-card {
    transform: translateY(0);
}

.wa-popup-header {
    padding: 25px;
    & h5 {
        margin-top: 1rem;
        opacity: 0.9;
    }
}
.wa-popup-header i { font-size: 24px; margin-bottom: 10px; }
.wa-popup-header h2 { font-family: 'Playfair Display', serif; margin: 0 0 10px 0; }
.wa-popup-header p { font-size: 0.9rem; line-height: 1.6; opacity: 0.9; margin: 0; }

.wa-popup-footer {
    background-color: #F0F0F0;
    padding: 20px 25px;
    color: #555;
    font-size: 0.85rem;
}

/* 4. Kartu Kontak */
.wa-contact-card {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 15px;
    margin-top: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 5px solid #25D366;
    
    /* Animasi menyusul */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s; /* Jeda animasi */
}
.wa-popup-container.open .wa-contact-card {
    opacity: 1;
    transform: translateY(0);
}
.wa-contact-card:hover { background-color: #f9f9f9; }

.wa-contact-logo { width: 50px; height: 50px; border-radius: 50%; margin-right: 15px; }
.wa-contact-text strong { display: block; font-size: 1rem; }
.wa-contact-text span { font-size: 0.85rem; color: #777; }
.wa-contact-card > i { font-size: 24px; color: #25D366; margin-left: auto; }

/* Definisi animasi pulsing */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
}

/* =========================================
   PREMIUM SPLIT REVEAL ANIMATION
========================================= */

/* --- 1. SETTING AWAL (TERSEMBUNYI) --- */
.section-eyebrow, 
.section-title,
.hero-eyebrow,
.hero-title {
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1), 
                opacity 1.2s ease;
}

/* Eyebrow: Start dari bawah (ke arah tengah) */
.section-eyebrow, .hero-eyebrow {
    transform: translateY(3rem); /* Turun mendekati Title */
}

/* Title: Start dari atas (ke arah tengah) */
.section-title, .hero-title {
    transform: translateY(-3rem); /* Naik mendekati Eyebrow */
}

/* --- 2. SETTING SAAT REVEAL (MENJAUH KE POSISI ASLI) --- */
.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- 3. EFEK "EMERGE" (OPSIONAL TAPI DISARANKAN) --- */
/* Agar teks terlihat muncul dari garis gaib, kita beri container-nya overflow hidden */
.about-intro, .section-head, .hero-content {
    overflow: hidden;
    padding: 10px 0; /* Memberi ruang gerak */
}



/* =========================================
   LEGAL OVERLAY STYLES (MODAL)
========================================= */

.legal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0b0b0b;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.legal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Aktif saat modal buka */
    transform: translateY(0);
}

/* 2. HEADER KHUSUS POPUP */
.legal-header {
    position: relative;
    height: 5rem;
    flex-shrink: 0;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 1.2rem;
    background: rgba(11, 11, 11, 0.95); /* Lebih pekat agar teks di belakang tidak tembus */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

/* Tombol Tutup Spesifik */
.btn-back-legal {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-back-legal:hover {
    background: var(--primary-color, #D4AF37);
    color: #000;
    border-color: var(--primary-color, #D4AF37);
}

/* 3. AREA SCROLL & CONTENT */
.legal-content-scroll {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    /* UX Pro Tip: Mencegah scroll tembus ke body utama di HP */
    overscroll-behavior: contain; 
}

.legal-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem;
    min-height: 100%;
}

/* =========================================
   PREMIUM SCROLLBAR UNTUK LEGAL OVERLAY
========================================= */

/* Untuk Firefox */
.legal-content-scroll {
    scrollbar-width: thin;
    /* Kombinasi warna thumb (emas transparan) dan track (transparan) */
    scrollbar-color: rgba(212, 175, 55, 0.5) transparent; 
}

/* Untuk Chrome, Safari, dan Edge */
.legal-content-scroll::-webkit-scrollbar {
    width: 6px; /* Lebar scrollbar yang ramping dan modern */
}

.legal-content-scroll::-webkit-scrollbar-track {
    background: transparent; /* Track transparan agar menyatu dengan background blur */
    margin-block: 1rem; /* Memberikan sedikit jarak di atas dan bawah */
}

.legal-content-scroll::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4); /* Warna aksen emas (#D4AF37) dengan transparansi */
    border-radius: 10px; /* Ujung membulat (pill shape) yang elegan */
    transition: background 0.3s ease;
}

.legal-content-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.8); /* Warna emas lebih solid saat di-hover/disentuh */
}

/* 4. BACKGROUND & DEKORASI */
.legal-bg-light {
    position: fixed; /* Tetap fixed agar tidak ikut scroll */
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80dvh;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* 5. TYPOGRAPHY & CARDS (Konten Legal) */
.legal-title {
  display: block;
    text-align: center;
    margin-bottom: 30rem;
    animation: fadeUp 1s ease forwards;
}

.legal-title h1 {
    font-size: 2rem; /* Disesuaikan sedikit agar pas di mobile */
    color: var(--primary-color, #D4AF37);
    margin-bottom: .6rem;
}

.legal-title p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.legal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeUp 1.2s ease forwards;
    margin-bottom: -8dvh;
}

.section-heading {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-block {
    margin-bottom: 1.5rem;
}

.content-block h3 {
    font-size: 1rem;
    color: var(--primary-color, #D4AF37);
    margin-bottom: 8px;
    font-weight: 600;
}

.content-block p, 
.content-block ul {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

.content-block ul {
    padding-left: 10px;
    list-style: none;
}

.content-block ul li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.content-block ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color, #D4AF37);
}

.legal-footer {
    text-align: center;
    opacity: 0.4;
    font-size: 0.75rem;
    margin-top: -14dvh;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .legal-card { padding: 2.5rem; }
    .legal-title { margin: 4rem 0 22rem 0; }
    .legal-title h1 { font-size: 3rem; }/* Di Desktop jaraknya lebih lega */
}



/* =========================================
   CINEMATIC TECH BACKGROUND STYLES
========================================= */

#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* Di atas background hitam */
    pointer-events: none; /* Agar tidak menghalangi klik pada tombol */
}

.cinematic-tech-wrapper {
    position: relative;
    background-color: #000;
    min-height: 100vh; /* Pastikan ada tinggi minimum */
    overflow: hidden;
}

/* Pastikan konten berada di atas partikel */
.preview-design, .packages {
    position: relative;
    z-index: 2;
    background: transparent !important;
}