:root {
  --bg: #ffffff;
  --soft: #faf5ef;
  --ink: #2a1a12;
  --mute: #6b5a4f;
  --line: #eadfd3;
  --brand: #e8742a;
  --brand-deep: #b84a0a;
  --brown: #3b2314;
  --warn-bg: #fff1ee;
  --warn: #b3261e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 17px/1.7 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
  padding-bottom: 76px;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  color: var(--brown);
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 800;
  color: var(--brown);
}
h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand);
  margin-top: 12px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 720px;
}

.hero {
  padding: 56px 0;
  background: linear-gradient(135deg, #fff 0%, #fff6ec 60%, #ffe9d4 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(184, 74, 10, 0.18);
}
.sub {
  font-size: 1.15rem;
  color: var(--mute);
  max-width: 34em;
  margin: 0 0 24px;
}
.fine {
  font-size: 0.8rem;
  color: var(--mute);
  margin: 12px 0 0;
}

.btn {
  display: inline-block;
  background: var(--brand-deep);
  color: #fff;
  font:
    700 1rem "Plus Jakarta Sans",
    sans-serif;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(184, 74, 10, 0.3);
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover {
  background: #9a3c06;
  transform: translateY(-1px);
}
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.trust {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.trust b {
  display: block;
  color: var(--brown);
  margin-bottom: 2px;
}
.trust span {
  font-size: 0.92rem;
  color: var(--mute);
  display: block;
  line-height: 1.5;
}

.sec {
  padding: 72px 0;
}
.alt {
  background: var(--soft);
}
.solution,
.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 24px;
}
.solution h3 {
  margin-top: 0;
}
.legal p:last-child,
.solution p:last-child {
  margin-bottom: 0;
}
.legal small {
  color: var(--mute);
}
.note {
  font-size: 0.9rem;
  color: var(--mute);
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.cards article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(59, 35, 20, 0.05);
}
.cards h3 {
  font-size: 1.05rem;
}
.cards p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.6;
}
.steps {
  padding-left: 1.2em;
}
.steps li {
  margin-bottom: 6px;
}

.warn {
  background: var(--warn-bg);
  border-block: 1px solid #f5c9c2;
}
.warn h2 {
  color: var(--warn);
}
.warn h2::after {
  background: var(--warn);
}
.specs {
  list-style: none;
  padding: 0;
}

.order {
  background: var(--soft);
}
form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(59, 35, 20, 0.08);
}
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
input,
textarea,
select {
  font: inherit;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid #d9cbbd;
  background: #fff;
  color: var(--ink);
}
.error {
  color: var(--warn);
  min-height: 1.2em;
  margin: 0;
  font-size: 0.9rem;
}
form .btn {
  width: 100%;
  text-align: center;
}

footer {
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--mute);
  border-top: 1px solid var(--line);
}
.sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9;
  max-width: 520px;
  margin: auto;
  text-align: center;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 700;
  padding: 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s;
}
.sticky.hide {
  transform: translateY(160%);
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-img {
    order: -1;
    max-width: 400px;
    margin: auto;
  }
  .trust-grid,
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .trust-grid,
  .cards {
    grid-template-columns: 1fr;
  }
  .hero .btn {
    width: 100%;
    text-align: center;
  }
  form {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .sticky,
  .btn {
    transition: none;
  }
}


/* HARGA PROMO */
.price-box {
  display: inline-block;
  background: #fff;
  border: 2px solid #f3d2b9;
  border-radius: 16px;
  padding: 18px 24px;
  margin: 0 0 24px;
  box-shadow: 0 8px 24px rgba(184, 74, 10, 0.10);
}

.price-label {
  display: inline-block;
  background: #b84a0a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

.price-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.old-price {
  color: #8b817a;
  font-size: 1.05rem;
  text-decoration: line-through;
  font-weight: 600;
}

.discount-badge {
  background: #ffebe5;
  color: #b3261e;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}

.current-price {
  color: #b84a0a;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-top: 4px;
}

.price-note {
  color: #6b5a4f;
  font-size: 0.85rem;
  margin: 4px 0 0;
}

@media (max-width: 480px) {
  .price-box {
    width: 100%;
    padding: 16px 18px;
  }

  .current-price {
    font-size: 2.3rem;
  }
}

/* ANIMASI KILATAN TOMBOL PESAN */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Efek cahaya bergerak */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    left: -120%;
  }

  45%,
  100% {
    left: 150%;
  }
}

/* Aksesibilitas: hentikan animasi jika diminta */
@media (prefers-reduced-motion: reduce) {
  .btn::before {
    animation: none;
  }
}

.sticky {
  position: fixed;
  overflow: hidden;
  isolation: isolate;
}

.sticky::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

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