:root {
  --brand: #085f6a;
  --brand-deep: #064b54;
  --brand-light: #e6f4f5;
  --accent: #ffde42;
  --accent-deep: #d4b72b;
  --ink: #112426;
  --muted: #66787a;
  --line: #dce8e9;
  --soft: #f3f8f8;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(8, 95, 106, 0.13);
}

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

html {
  scroll-behavior: smooth;
}

/* Base Typography */
body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--brand-deep);
  letter-spacing: -0.035em;
}

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

/* Utilities */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --- FIX SECTION 2 (PAIN POINT) --- */
.pain-scroll {
  height: 450vh; /* Durasi scroll horizontal yang responsif dan mulus */
  background: var(--brand);
  position: relative;
}

/* Mengunci layar agar scroll berubah dari vertikal ke horizontal */
.sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  /* Biarkan .container di dalamnya tetap sejajar dengan normal */
}

.pain-head {
  margin-bottom: 72px !important;
}

.pain-head h2 {
  font-size: clamp(24px, 3.2vw, 38px) !important;
  line-height: 1.15;
  margin-bottom: 10px;
}

.pain-head p {
  font-size: clamp(13px, 1.3vw, 15px) !important;
  max-width: 720px;
}

.horizontal-viewport {
  width: 100% !important;
  display: block !important; /* Paksa menjadi block agar lepas dari Flexbox parent */
  text-align: left !important; /* Kunci mutlak konten di dalamnya ke kiri */
  overflow: hidden;
  margin-top: 0 !important;
}

.horizontal-track {
  /* Gunakan inline-flex agar track dibaca sebagai satu garis yang mentaati rata kiri */
  display: inline-flex !important;
  align-items: stretch;
  gap: 36px;
  padding-bottom: 36px;

  /* Ganti 100vw dengan 50% untuk menghindari bug pergeseran akibat scrollbar Windows */
  /* Angka 590px adalah setengah dari lebar container (asumsi max-width: 1180px) */
  padding-left: max(24px, calc(50% - 590px)) !important;
  padding-right: max(24px, calc(50% - 590px)) !important;

  margin: 0 !important;
  transform: translateX(0px); /* Titik 0 pastikan akurat */
  will-change: transform;
}

.pain-card {
  width: min(400px, 85vw);
  flex: 0 0 auto !important; /* Mencegah kartu menciut sekecil apapun */
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Ukuran Lottie disesuaikan secara proporsional agar tidak terlalu tinggi */
.lottie-space {
  width: 100%;
  height: min(210px, 26vh);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.pain-text h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pain-text p {
  font-size: clamp(13px, 1.3vw, 15px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 100%;
}

.scroll-progress {
  /* Menempel di bagian bawah section (sticky-stage), sejajar dengan .container */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  margin: 0 auto !important;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

#painProgress {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s ease-out;
  bottom: 0;
}

.lottie-space lottie-player {
  width: 100%;
  height: 100%;
}

/* -- 1. VARIABEL GLOBAL & UTILITY DASAR -- */

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-pad {
  padding: 110px 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--accent);
  border-radius: 99px;
}

.section-kicker.light {
  color: #dff5f7;
}

/* -- 2. KOMPONEN TOMBOL (BUTTONS) -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.25s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-soft {
  background: var(--accent);
  color: var(--brand);
  border-color: #d9eaea;
}

.btn-soft:hover {
  background: #e2f1f2;
}

.btn-accent {
  background: var(--accent);
  color: #172222;
}

.btn-accent:hover {
  background: #ffe668;
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-light:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions.center {
  justify-content: center;
}

.spark {
  position: absolute;
  color: var(--accent);
  font-size: 45px;
  animation: float 3s ease-in-out infinite;
}
.spark-1 {
  left: 9%;
  top: 15%;
}
.spark-2 {
  right: 12%;
  top: 20%;
  animation-delay: 0.5s;
}
.spark-3 {
  right: 17%;
  bottom: 5%;
  animation-delay: 1s;
}

/* -- 3. SECTION: FAQ -- */
.faq {
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.faq-intro h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 17px;
}

.faq-intro .btn {
  margin-top: 25px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  background: var(--brand-light);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 0 20px;
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  font-size: 20px;
  color: var(--brand);
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  color: var(--muted);
  font-size: 14px;
  padding: 0 0 20px;
}

/* -- 4. SECTION: FINAL CTA -- */
.final-cta {
  background: var(--brand-light);
}

.final-cta-card {
  background: var(--brand);
  color: white;
  text-align: center;
  border-radius: 38px;
  padding: 85px 28px;
  position: relative;
  overflow: hidden;
}

.final-cta-card > * {
  position: relative;
  z-index: 2;
}

.final-cta-card h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
  font-weight: 800;
  max-width: 850px;
  margin: 0 auto 18px;
}

.final-cta-card p {
  color: #b8d5d8;
  max-width: 620px;
  margin: 0 auto 30px;
}

.final-cta-card small {
  display: block;
  margin-top: 28px;
  color: #83aeb2;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 222, 66, 0.22),
    rgba(255, 222, 66, 0) 70%
  );
  right: -200px;
  top: -300px;
  z-index: 1;
}

/* -- 5. ANIMASI SCROLL (.reveal) -- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.12s;
}

/* =========================================
   PRICING TABLE & GAMIFICATION (VISTAMA EDITION)
   ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 56px; /* Memberikan ruang agar badge tidak menabrak teks di atasnya */
}

.pricing-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--line);
  text-align: left;
  transition: transform 0.3s ease;
}

.pricing-card:not(.locked-card):hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--brand);
}

/* KARTU TENGAH (POPULAR) - FIX WARNA & BACKGROUND */
.pricing-card.popular {
  background: var(--ink); /* Background gelap yang solid */
  color: var(--surface); /* Teks putih */
  transform: scale(1.05);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: none;
  position: relative;
}
.pricing-card.popular:not(.locked-card):hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #111827;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
}
.pricing-card.popular h3 {
  color: #ffffff;
}

.price-val {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--brand);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.pricing-card.popular .price-val {
  color: var(--accent);
} /* Harga di kartu tengah dibuat kuning agar stand-out */

.price-val span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  font-family: "Inter", sans-serif;
}
.pricing-card.popular .price-val span {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
}
.pricing-features li {
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: "Inter", sans-serif;
}
.pricing-card.popular .pricing-features li {
  color: rgba(255, 255, 255, 0.9);
}
.pricing-features li i {
  color: var(--brand, #0f766e);
  width: 16px;
}
.pricing-card.popular .pricing-features li i {
  color: var(--accent, #fde047);
}

.btn-pricing {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--line);
  color: var(--ink);
  transition: all 0.3s ease;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.btn-pricing:hover {
  background: var(--line);
}
.pricing-card.popular .btn-pricing {
  background: var(--brand);
  color: #ffffff;
  border: none;
}
.pricing-card.popular .btn-pricing:hover {
  background: var(--brand-deep); /* Warna hover sedikit lebih gelap */
  color: #ffffff;
}

/* =========================================
   LOCKED CARD (GAMIFICATION EFFECT)
   ========================================= */
.locked-card {
  position: relative;
  overflow: hidden;
  cursor: not-allowed;
}
.locked-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.locked-card-content {
  filter: grayscale(100%) blur(5px) brightness(0.8);
  opacity: 0.3;
  transition: all 0.3s ease;
  pointer-events: none;
  user-select: none;
}

.locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(249, 250, 251, 0.4); /* Overlay transparan minimalis */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  gap: 16px;
}

.lock-icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #9ca3af;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.locked-badge {
  background: var(--ink);
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

@keyframes shake-lock {
  0%,
  100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  40% {
    transform: rotate(15deg);
  }
  60% {
    transform: rotate(-15deg);
  }
  80% {
    transform: rotate(15deg);
  }
}

.locked-card:hover .lock-icon-wrapper i {
  animation: shake-lock 0.4s ease-in-out;
  color: var(--brand, #0f766e);
}
.locked-card:hover .lock-icon-wrapper {
  border-color: var(--brand, #0f766e);
}

/* -- 6. RESPONSIVE QUERIES -- */
@media (max-width: 980px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 78px 0;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
    

/* Hero carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 95, 106, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dots button.is-active {
  width: 24px;
  background: var(--brand);
}
