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

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* tokens global */
  --container-max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(40px, 8vw, 96px);
  --text: #1d1d1f;
  --muted: #8a8a8a;
  --maroon: #750512;
}

html {
  font-size: 16px;
}

@supports not (scrollbar-gutter: stable) {
  body {
    overflow-y: scroll;
  }
}

body {
  font-family: "Gilroy", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
  background: #fff;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 2rem;
}

section>.container {
  padding-block: var(--section-y);
}

/* Tipografi */
h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
}

p {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
}

/* ===============================
   HEADER
=================================*/
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  background: transparent;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 1200px;
  padding: 0.8rem 2rem;

  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.nav-brand .logo {
  height: 40px;
}

/* ===============================
   NAV MENU (Desktop)
=================================*/
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  color: #222;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--maroon);
  /* pakai var(--maroon) biar konsisten */
}

/* Dropdown */
.nav-menu li.dropdown {
  position: relative;
}

.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;

  list-style: none;
  margin: 0;
  padding: 0.5rem 0;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);

  z-index: 999;
}


.nav-menu .dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #222;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.3s;
}

.nav-menu .dropdown-menu a:hover {
  background: #fce8ec;
  color: var(--maroon);
}

/* Tambahin arrow ke link dropdown */
.nav-menu li.dropdown>a {
  position: relative;
  padding-right: 16px;
  /* kasih ruang buat arrow */
}

.nav-menu li.dropdown>a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 70%;
  transform: translateY(-50%);

  /* segitiga ke bawah */
  border: 5px solid transparent;
  border-top-color: #222;
  /* warna arrow */
}

/* pas hover, ganti warna arrow */
.nav-menu li.dropdown:hover>a::after {
  border-top-color: var(--maroon);
}

/* ===============================
   HAMBURGER + DRAWER (Mobile)
=================================*/
.hamburger {
  display: none;
  width: 38px;
  height: 34px;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  height: 2px;
  background: #222;
  width: 100%;
  display: block;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.nav-drawer a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

/* ===============================
   TKB Tooltip
=================================*/
.tkb-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  /* biar tooltip bisa absolute ke sini */
}

.tkb-icon img {
  height: 32px;
  width: auto;
}

.tkb-tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);

  background: rgba(255, 255, 255, 0.939);
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  color: #373737;

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tkb-icon:hover .tkb-tooltip {
  visibility: visible;
  opacity: 1;
}

/* =========================================
   PRODUCT HERO
   ========================================= */
.prod-hero {
  background: linear-gradient(270deg, #ffe3ee 0%, #ffe6e6 100%);
}

.prod-hero>.container {
  padding-block-end: 0;
}

.prod-hero .wrap {
  margin-top: 120px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  margin-left: 10px;
}

.prod-hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.12;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.2px;
}

.prod-hero p {
  color: #4a4a4a;
  max-width: 46ch;
  margin: 16px 0 20px;
}

/* badges (dipakai di beberapa tempat) */
.store-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
}

.store-badge img {
  height: 40px;
  width: auto;
  display: block;
}

.hero-art {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.hero-art img.main {
  width: 150%;
  margin-top: -100px;
  height: auto;
  display: block;
}


/* =========================================
   SIMULASI
   ========================================= */
#simulasi {
  --sim-bg: #f3f0f2;
  --sim-card: #ffffff; 
  background: linear-gradient(180deg, #fff 0%, #ffeaea 100%);
  --sim-ink: #0b0f19;
  --sim-muted: #9aa0a6;
  --sim-accent: #ff425f;     /* pink/maroon tone sesuai contohmu */
  --sim-accent-soft: #ff5670;
  --sim-track: #ffc9d1c6;
  --sim-thumb: #ff4561;
  --sim-radius: 22px;
  --sim-shadow: 5px 10px 30px rgba(94, 14, 17, 0.139);
}

.sim-bg {
  margin-top: 80px;
  margin-bottom: 80px;
}

#simulasi .loan-card {
  width: 100%;
  max-width: 800px;
  background: var(--sim-card);
  border-radius: var(--sim-radius);
  box-shadow: var(--sim-shadow);
  padding: 48px 36px 48px;
  color: var(--sim-ink);
}

#simulasi .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 8px;
}
#simulasi .label { font-weight: 700; font-size: 18px; color: #2b2b2b; }
#simulasi .value { font-weight: 700; font-size: clamp(22px, 3.4vw, 36px); color: #000; letter-spacing: .2px; }

/* Slider */
#simulasi .range { margin: 10px 0 10px; }
#simulasi input[type="range"] {
  width: 100%;
  appearance: none;
  height: 10px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(90deg, var(--sim-accent-soft) var(--fill, 0%), var(--sim-track) 0);
}
#simulasi input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sim-thumb);
  box-shadow: 0 4px 12px rgba(142, 20, 32, .35);
  cursor: pointer; transform: translateY(-2px);
}
#simulasi input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sim-thumb);
  border: 3px solid #fff5f6;
  box-shadow: 0 4px 12px rgba(142, 20, 32, .35);
  cursor: pointer;
}

/* tick labels */
#simulasi .ticks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
  color: #da8f9c;
  font-weight: 700;
  font-size: large;
}
#simulasi .ticks span:first-child { justify-self: start; }
#simulasi .ticks span:nth-child(2) { justify-self: center; }
#simulasi .ticks span:last-child { justify-self: end; }

/* headings */
#simulasi .section-title {
  text-align: center; margin: 14px 0 0;
  font-size: 24px; font-weight: 600; color: #2b2b2b;
}
#simulasi .subtle {
  text-align: center; margin: 4px 0 14px;
  color: #9e8e92; font-weight: 600;
}

#simulasi .installment {
  text-align: center; margin: 6px 0 18px;
  font-weight: 900; color: var(--sim-accent);
  font-size: clamp(34px, 6vw, 64px); letter-spacing: .5px;
}

/* CTA + pulse card button */
#simulasi .cta {
  display: block; width: 100%;
  border: 0; border-radius: 10px;
  padding: 16px 18px;
  font-weight: 700; font-size: 18px; color: #fff;
  background: linear-gradient(#351616, #761519);
  box-shadow: 0 8px 24px rgba(0,0,0,0.035), inset 0 1px rgba(255,255,255,.12);
  cursor: pointer;
  transition: transform .08s ease, filter .4s ease;
  animation: sim-pulseBtn 2s ease-in-out infinite;
}
@keyframes sim-pulseBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

#simulasi .info {
  margin-top: 12px;
  display: flex; justify-content: center; gap: 16px;
  font-size: 13px; color: #a08e92; flex-wrap: wrap;
}
#simulasi .info b { color: #6f3a3f; }

/* responsive */
@media (max-width:700px) {
  #simulasi .loan-card { padding: 22px 16px 18px; border-radius: 18px; }
  #simulasi .label { font-size: 16px; }
  #simulasi .value { font-size: 28px; }
  #simulasi .sim-3d { display: none; }
  #simulasi .sim-title { text-align: center;}
}

.sim-title {
  text-align: left;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 2rem;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 150px;
  align-items: start;
}

.sim-left {
  display: flex;
  justify-content: flex-end; 
  align-items: flex-end;   
}

.sim-right {
  display: flex;
  justify-content: center;
}
.sim-3d {
  margin-left: 150px;
  margin-top: 285px;
  max-width: 140%;
  height: auto;
  object-fit: contain;
}

/* responsive mobile */
@media (max-width: 900px) {
  .sim-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sim-left { order: 1; justify-content: center; }
  .sim-right { order: 2; }
}




/* =========================================
   TATA CARA / STEPS (scoped)
   ========================================= */
.steps-sec {
  --steps-grad-start: #ff7c7c;
  --steps-grad-end: #cb373f;
  --card-bg: #fff7f7;
  --card-border: #f6dada;
  --text: #111;
  --muted: #545454;
  --radius: 28px;
  background: radial-gradient(1200px 700px at 0% 0%, var(--steps-grad-end) 30%);
  padding: 80px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.steps-sec .container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 20px;
}

.steps-title {
  text-align: center;
  margin: 0 0 34px;
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
}

/* Grid of steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* Card */
.step-card {
  background: linear-gradient(180deg, #fff 0%, var(--card-bg) 100%);
  color: var(--text);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 26px 20px 20px;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Head */
.step-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.step-head strong {
  font-size: 1.5rem;
  margin-bottom: -5px;
  line-height: 1.5;
}

/* Icon */

.step-icon.number-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;      /* ukuran kotak */
  height: 60px;
  border-radius: 50%;   /* bikin bulat */
  background-color: #920c0c; /* warna hijau brand */
  color: #fff;      /* warna angka */
  font-weight: bold;
  font-size: 20px;
}

/* Paragraph */
.step-card p {
  align-items: center;
  text-align: center;
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-card p b {
  color: var(--muted);
}

/* Download strip */
.steps-download {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.download-inner {
  width: min(570px, 100%);
  background: rgb(255, 155, 155);
  border-radius: 30px;
  padding: 18px;
  backdrop-filter: blur(6px);
}

.download-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-block;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  text-decoration: none;
}

.store-btn img {
  height: 44px;
  width: auto;
  display: block;
}

@media (max-width: 899px) {
  .download-inner {
    border-radius: 18px;
  }

  .step-icon img {
    width: 44px;
    height: 44px;
  }

  .store-btn img {
    height: 38px;
  }
}

/* =========================================
   RIPLAY (CTA section + pills)
   ========================================= */
.riplay {
  background: #fff;
  padding-block: clamp(48px, 8vw, 96px);
}

.riplay__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.riplay__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

/* Kiri */
.riplay__title {
  font-weight: 800;
  color: #111;
  line-height: 1.15;
  font-size: clamp(26px, 5vw, 40px);
  margin: 0 0 18px;
}

.riplay__desc {
  color: #333;
  max-width: 60ch;
  margin: 0 0 28px;
  line-height: 1.7;
  font-size: clamp(0.98rem, 1.7vw, 1.05rem);
}

.riplay__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  background: linear-gradient(45deg, #ff6d6d, #ff4940);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.riplay__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

/* Kanan: pills */
.riplay__pills {
  display: grid;
  gap: 22px;
}

.pill {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(16px, 2.8vw, 24px) clamp(18px, 3.2vw, 28px);
  background: linear-gradient(180deg, #fff4f5, #feebed);
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(176, 20, 21, 0.12);
}

.pill__icon {
  width: clamp(52px, 6.2vw, 72px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(176, 20, 21, 0.1));
}

.pill__title {
  color: #111;
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

@media (max-width: 900px) {
  .riplay__grid {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "desc"
      "pills"
      "btn";
    row-gap: clamp(16px, 4vw, 24px);
    justify-items: center;
  }

  .riplay__copy {
    display: contents;
  }

  .riplay__title {
    grid-area: title;
    text-align: center;
  }

  .riplay__desc {
    grid-area: desc;
    display: none;
  }

  .riplay__pills {
    grid-area: pills;
    width: 100%;
    max-width: 560px;
  }

  .riplay__btn {
    grid-area: btn;
    margin-top: 12px;
  }

  s .riplay__pills>.pill {
    width: 100%;
  }

  .riplay__pills {
    text-align: left;
  }

  .pill__title {
    color: #111;
    font-weight: 700;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
  }
}

@media (max-width: 560px) {
  .riplay__container {
    padding: 0 18px;
  }

  .pill {
    border-radius: 20px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.uatas-footer {
  background: #6b0d0d;
  padding: 64px 0 28px;
}

.uatas-footer .container {
  padding-block: 0;
}

.uatas-footer-card {
  background: linear-gradient(180deg, #fffbfbe1 100%, #ffe1e2 50%);
  border-radius: 30px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.06);
  padding: 24px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

:root {
      --cs-color: rgb(245, 92, 103);
      --cs-color-ghost: rgba(245, 92, 103, .55);
    }

    .cs-float {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 2000;
      display: inline-block;
      line-height: 0;
      border-radius: 16px;
      box-shadow: 0 6px 18px rgba(0,0,0,.18);
      transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
      animation: cs-pulse 2.2s infinite;
    }

    .cs-float img {
      display: block;
      width: 200px;
      height: auto;
      border-radius: 16px;
    }

    @media (max-width: 480px) {
      .cs-float { right: 14px; bottom: 14px; }
      .cs-float img { width: 200px; }
    }

    .cs-float:hover,
    .cs-float:focus-visible {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 10px 24px rgba(0,0,0,.24);
      animation: none;
      filter: saturate(1.05);
    }

    @keyframes cs-pulse {
      0%   { box-shadow: 0 0 0 0 var(--cs-color-ghost); }
      60%  { box-shadow: 0 0 0 18px rgba(245, 92, 103, 0); }
      100% { box-shadow: 0 0 0 0 rgba(245, 92, 103, 0); }
    }

    @media (prefers-reduced-motion: reduce) {
      .cs-float { animation: none; }
    }

@media (max-width: 1024px) {
  .uatas-footer-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.uf-mascot {
  width: 150px;
  margin: 20px 0 0 30px;
  object-fit: contain;
}

/* Office */
.uf-office {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: start;
  margin: 30px 0 10px 30px;
}

@media (max-width: 1024px) {
  .uf-office {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
}

.uf-map iframe,
.uf-map img {
  width: 100%;
  height: 140px;
  border: 1px solid #f1cfd3;
  border-radius: 14px;
  background: #f2f2f2;
}

@media (max-width: 1024px) {
  .uf-map iframe {
    height: 180px;
  }
}

.uf-info h4 {
  font-size: 1rem;
  margin: 0 0 6px;
  font-weight: 600;
}

.uf-info address {
  font-size: 0.8rem;
  font-style: normal;
  color: #333;
  line-height: 1.45;
}

.uf-meta {
  list-style: none;
  font-size: 0.8rem;
  margin: 8px 0 0;
  padding: 0;
  color: #444;
}

.uf-meta li {
  margin: 4px 0;
}

.uf-meta a {
  color: #513127;
  text-decoration: none;
}

/* Right column */
.uf-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: flex-start;
  margin-top: 95px;
  margin-left: -80px;
}

@media (max-width: 1024px) {
  .uf-right {
    margin: 0;
  }
}

.uf-right h5 {
  font-size: 1rem;
  margin: 0 0 6px;
  font-weight: 600;
}

.uf-social .social-row {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #513127;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.social-icon:hover {
  background: #ac2931;
}

.uf-notice-title {
  text-align: center;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 1.4rem;
  margin: 100px 0 18px;
  color: #fff;
}

.uf-notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  color: #ffe9ea;
  font-size: 0.85rem;
}

.uf-notice-grid ul {
  margin: 0;
  padding-left: 20px;
}

.uf-notice-grid li {
  margin: 8px 0;
}

@media (max-width: 900px) {
  .uatas-footer {
    padding: 48px 0 24px;
  }

  .uatas-footer-card {
    gap: 20px;
  }

  .uf-notice-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .store-badge img {
    height: 36px;
  }

  .uf-brand {
    transform: translateX(-30px);
  }
}

.uf-copy {
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #ffe9ea;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .uatas-footer {
    padding: 48px 0 24px;
  }

  .uatas-footer-card {
    gap: 20px;
  }

  .uf-notice-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.uf-pdf {
  margin-top: 20px;
}

.uf-pdf .pdf-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.uf-pdf .pdf-links a {
  font-weight: 400;
  color: #ffe9ea;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.2s ease;
}

.uf-pdf .pdf-links a:hover {
  opacity: 0.8;
}

@media (max-width: 640px) {
  .uf-pdf .pdf-links {
    gap: 16px;
  }
}

:root {
  /* kamu bisa adjust clamp ini sesuai desain */
  --site-gutter: clamp(36px, 4vw, 40px);
}


.container {
  padding-left: var(--site-gutter) !important;
  padding-right: var(--site-gutter) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ===============================
   NAVBAR — BASE (untuk mobile drawer)
=================================*/
.hamburger {
  display: none;
  width: 28px;
  height: 24px;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: #222;
  display: block;
  border-radius: 2px;
}


.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  /* ganti ke: inset:0 auto 0 0; untuk buka dari kiri */
  width: 78%;
  max-width: 400px;
  background: #fff;
  box-shadow: -12px 0 24px rgba(0, 0, 0, .08);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 1001;
  padding: 16px 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
}

.nav-drawer.open {
  transform: translateX(0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 1000;
  pointer-events: none;
}

.drawer-backdrop.show {
  opacity: .4;
  pointer-events: auto;
}

/* (opsional) header kecil di dalam drawer */
.nav-drawer .drawer-header {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: -16px -20px 12px;
  padding: 14px 16px;
  background: #070707;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-drawer .drawer-close {
  color: #fff;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
}

/* ===============================
   NAVBAR — RESPONSIVE (≤900px)
=================================*/
@media (max-width: 900px) {
  .header {
    padding: 1rem 1rem;
    max-height: fit-content;
  }

  /* sembunyikan nav desktop, tampilkan hamburger */
  .navigation {
    display: none !important;
  }

  .tkb-icon {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  /* daftar menu di dalam drawer */
  .nav-drawer .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 30px !important;
    margin: 0;
    padding: 60px 0 0;
    list-style: none;
    text-align: left;
    position: static;
    transform: none;
    font-size: 1.2rem;
  }

  .nav-drawer .nav-menu>li {
    list-style: none;
  }

  .nav-drawer .nav-menu a {
    color: #111;
    background: transparent;
    transition: none;
  }
  .nav-drawer .nav-menu a:hover,
  .nav-drawer .nav-menu a:focus-visible,
  .nav-drawer .nav-menu a:active {
    color: inherit !important;
    background: transparent !important;
  }


  /* dropdown -> akordeon (toggle .open pada <li>) */
  .nav-drawer .nav-menu li.dropdown>a {
    position: relative;
    padding-right: 24px;
  }

  .nav-drawer .nav-menu li.dropdown>a::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 70%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top-color: #e2475b;
    transition: transform .2s ease;
  }

  .nav-drawer .nav-menu .dropdown-menu {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 6px 0 0 10px;
  }

  .nav-drawer .nav-menu li.dropdown.open>.dropdown-menu {
    display: block;
  }

  .nav-drawer .nav-menu li.dropdown.open>a::after {
    translate: 0 -50%;
    transform: rotate(180deg);
    border-top-color: #e2475b;
  }

  /* item khusus “Periksa TKB” (opsional) */
  .nav-drawer .nav-menu li.tkb-mobile>a.tkb-toggle {
    position: relative;
    padding-right: 24px;
  }

  .nav-drawer .nav-menu li.tkb-mobile>a.tkb-toggle::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 70%;
    transform: translateY(-40%);
    border: 6px solid transparent;
    border-top-color: #333;
    transition: transform .2s ease;
  }

  .nav-drawer .nav-menu li.tkb-mobile .tkb-sub {
    display: none;
    padding: 6px 0 0 10px;
    color: #333;
    font-weight: 500;
  }

  .nav-drawer .nav-menu li.tkb-mobile.open .tkb-sub {
    display: block;
  }

  .nav-drawer .nav-menu li.tkb-mobile.open>a.tkb-toggle::after {
    border-top-color: #e2475b;
    translate: 0 -50%;
    transform: rotate(180deg);
  }
}

/* ===== Layering fix: pastikan drawer & backdrop di atas header ===== */
:root {
  --z-header: 1200;
  --z-backdrop: 2400;
  /* > header */
  --z-drawer: 2500;
  /* > backdrop */
}

.header {
  z-index: var(--z-header);
}

.drawer-backdrop {
  z-index: var(--z-backdrop) !important;
}

.nav-drawer {
  z-index: var(--z-drawer) !important;
}




@media (max-width: 576px) {
  .uf-download .store-badge img {
    height: 30px;
    gap: 16px;
    width: auto;
  }
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}


@media (max-width: 900px) {
  .prod-hero {
    --site-gutter: clamp(24px, 8vw, 48px);
  }

  .prod-hero .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 5vw, 28px);
    margin-top: 72px;
    margin-left: 0 !important;
    text-align: center;
    padding-inline: clamp(12px, 4vw, 24px);
  }

  .prod-hero .hero-copy {
    width: 100%;
    max-width: 68ch;
    margin-inline: auto;
    margin-top: 50px;
  }

  .prod-hero h1,
  .prod-hero p {
    text-align: center;
  }

  .prod-hero p {
    margin-inline: auto;
  }

  .prod-hero .store-row {
    justify-content: center;
  }

  .prod-hero .hero-art {
    width: min(520px, calc(100vw - (var(--site-gutter) * 2)));
    margin-inline: auto;
  }

  .prod-hero .hero-art img.main {
    width: 100% !important;
    height: auto;
    display: block;
    margin-top: 0 !important;
    margin-inline: auto;
  }

  .simulasi {
    --sim-gutter: clamp(32px, 7vw, 32px);
  }

  .simulasi>.container {
    padding-left: calc(var(--sim-gutter) + env(safe-area-inset-left, 0px)) !important;
    padding-right: calc(var(--sim-gutter) + env(safe-area-inset-right, 0px)) !important;
    margin-inline: auto !important;
  }


  .simulasi .sim-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    place-items: center;
  }

  .simulasi .sim-card {
    width: 100%;
    max-width: 520px;
    border-radius: 22px;
    padding: 28px 18px 18px;
    box-sizing: border-box;
  }

  .simulasi .sim-head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .simulasi .sim-head small {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
  }

  .simulasi .sim-head b {
    font-weight: 800;
    font-size: medium;
  }

  .simulasi .sim-row {
    font-size: 0.9rem;
  }

  .simulasi .sim-total {
    font-size: 0.9rem;
    gap: 12px;
  }

  .simulasi .btn-dark {
    width: 100%;
    max-width: 360px;
    padding: 12px 24px;
  }

  .steps-sec .container {
    padding-inline: clamp(20px, 6vw, 28px);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .step-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }

  .step-head {
    align-items: center;
    text-align: center;
  }

  .step-icon {
    justify-content: center;
  }

  .step-icon img {
    width: 90px;
    height: auto;
    margin-left: 0 !important;

    .step-card p {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      max-width: 60ch;
    }
  }

  .store-btn {
    display: inline-block;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    text-decoration: none;
  }

  .store-btn img {
    height: 30px;
    width: auto;
    display: block;
  }
}

/* ===============================
   NAVBAR — BASE (untuk mobile drawer)
=================================*/
.hamburger {
  display: none;
  width: 28px;
  height: 24px;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: #222;
  display: block;
  border-radius: 2px;
}


.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  /* ganti ke: inset:0 auto 0 0; untuk buka dari kiri */
  width: 78%;
  max-width: 400px;
  background: #fff;
  box-shadow: -12px 0 24px rgba(0, 0, 0, .08);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 1001;
  padding: 16px 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
}

.nav-drawer.open {
  transform: translateX(0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 1000;
  pointer-events: none;
}

.drawer-backdrop.show {
  opacity: .4;
  pointer-events: auto;
}

/* (opsional) header kecil di dalam drawer */
.nav-drawer .drawer-header {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: -16px -20px 12px;
  padding: 14px 16px;
  background: #070707;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-drawer .drawer-close {
  color: #fff;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
}

/* ===============================
   NAVBAR — RESPONSIVE (≤900px)
=================================*/
@media (max-width: 900px) {
  .header {
    padding: 1rem 1rem;
    max-height: fit-content;
  }

  /* sembunyikan nav desktop, tampilkan hamburger */
  .navigation {
    display: none !important;
  }

  .tkb-icon {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .nav-drawer .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 30px !important;
    margin: 0;
    padding: 60px 0 0;
    list-style: none;
    text-align: left;
    position: static;
    transform: none;
    font-size: 1.2rem;
  }

  .nav-drawer .nav-menu>li {
    list-style: none;
  }

  .nav-drawer .nav-menu a {
    display: inline-flex;
    justify-content: flex-start;
    text-decoration: none;
    color: #111;
    font-weight: 600;
  }

  /* Hover khusus item di drawer */
  .nav-drawer .nav-menu a {
    color: #111;
    transition: color .15s ease, background-color .15s ease;
  }


  /* dropdown -> akordeon (toggle .open pada <li>) */
  .nav-drawer .nav-menu li.dropdown>a {
    position: relative;
    padding-right: 24px;
  }

  .nav-drawer .nav-menu li.dropdown>a::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top-color: #111;
    transition: transform .2s ease;
  }

  .nav-drawer .nav-menu .dropdown-menu {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 6px 0 0 10px;
  }

  .nav-drawer .nav-menu li.dropdown.open>.dropdown-menu {
    display: block;
  }

  .nav-drawer .nav-menu li.dropdown.open>a::after {
    transform: translateY(-50%) rotate(180deg);
  }

  /* item khusus “Periksa TKB” (opsional) */
  .nav-drawer .nav-menu li.tkb-mobile>a.tkb-toggle {
    position: relative;
    padding-right: 24px;
  }

  .nav-drawer .nav-menu li.tkb-mobile>a.tkb-toggle::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-40%);
    border: 6px solid transparent;
    border-top-color: #333;
    transition: transform .2s ease;
  }

  .nav-drawer .nav-menu li.tkb-mobile .tkb-sub {
    display: none;
    padding: 6px 0 0 10px;
    color: #333;
    font-weight: 500;
  }

  .nav-drawer .nav-menu li.tkb-mobile.open .tkb-sub {
    display: block;
  }

  .nav-drawer .nav-menu li.tkb-mobile.open>a.tkb-toggle::after {
    transform: translateY(-40%) rotate(180deg);
  }
}

/* ===== Layering fix: pastikan drawer & backdrop di atas header ===== */
:root {
  --z-header: 1200;
  --z-backdrop: 2400;
  --z-drawer: 2500;
  /* > backdrop */
}

.header {
  z-index: var(--z-header);
}

.drawer-backdrop {
  z-index: var(--z-backdrop) !important;
}

.nav-drawer {
  z-index: var(--z-drawer) !important;
}


.header .hamburger {
  width: 24px;
  height: 24px;
  gap: 6px;
  border-radius: 20px;
}

.header .hamburger span {
  border-radius: 10px;
}

@media (max-width: 576px) {
  .nav-menu li {
    font-size: 18px;
  }

  .nav-drawer .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
    margin: 0;
    padding: 60px 0 0;
  }
}

@media (max-width: 900px) {
  .nav-drawer .nav-menu .dropdown-menu a {
    padding: 10px 6px;
    font-weight: 500;
    color: #333;
    font-size: 1.12rem;  /* bisa atur di sini */
  }
}

.navigation .nav-menu li.dropdown:hover > .dropdown-menu {
  display: block;
}

.navigation .nav-menu li.dropdown.is-open > .dropdown-menu {
  display: block;
}

