:root {
  --green: #0f5c3b;
  --green-deep: #0a432b;
  --green-mid: #1a7a4f;
  --yellow: #f5c518;
  --yellow-deep: #e0b000;
  --ink: #1c2b24;
  --muted: #5d6f66;
  --line: #d9e5dd;
  --white: #ffffff;
  --bg: #f6faf7;
  --sky: #e3f2fd;
  --font: "Poppins", "Segoe UI", sans-serif;
  --space: clamp(1.2rem, 3.5vw, 2.5rem);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--green-mid);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.2;
}

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--green-deep);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.15;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.15rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.nav a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-deep);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--green-deep);
}

.btn-yellow:hover {
  background: var(--yellow-deep);
}

/* Hero — tanpa ilustrasi gambar */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(32rem, 82svh, 48rem);
  background: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(15, 92, 59, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(245, 197, 24, 0.12), transparent 55%),
    linear-gradient(135deg, #0a1d37 0%, #0f5c3b 52%, #145a3a 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--space), 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: inherit;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 9vw, 6rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  color: #ffffff;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5c518;
}

.hero-copy h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-copy h1 span {
  color: #f5c518;
  position: relative;
  display: inline-block;
}

.hero-copy h1 span::before {
  display: none;
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-yellow {
  padding: 0.95rem 1.45rem;
  box-shadow: 0 10px 24px rgba(245, 197, 24, 0.35);
}

.btn-ghost-hero {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost-hero:hover {
  border-color: #f5c518;
  color: #f5c518;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-panel-card {
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  color: #0a1d37;
}

.hero-mark {
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0f5c3b, #0a1d37);
  color: #f5c518;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-panel-title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0a1d37;
}

.hero-panel-text {
  margin: 0 0 1.15rem;
  color: #617285;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.hero-panel-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0a1d37;
}

.hero-panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #0f5c3b;
}

/* About */
.about {
  padding: 4.5rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-visual {
  display: grid;
  place-items: center;
}

.about-illustration {
  width: min(100%, 26rem);
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 14px 28px rgba(15, 92, 59, 0.1));
}

.about-copy p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

/* Cek status */
.cek {
  padding: 4rem 0;
  background: #eaf7f0;
}

.cek-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 1.75rem;
  box-shadow: 0 12px 30px rgba(15, 92, 59, 0.08);
}

.cek-visual {
  text-align: center;
  padding: 0;
}

.cek-visual img {
  width: min(100%, 20rem);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 12px 24px rgba(15, 92, 59, 0.1));
}

.cek-panel h2 {
  margin-bottom: 0.55rem;
  color: #0a1d37;
}

.cek-desc {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.cek-panel label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.cek-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cek-row input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.9rem 1.05rem;
  border: 1.5px solid #d5e2db;
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
}

.cek-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 92, 59, 0.12);
}

.btn-cek {
  box-shadow: 0 8px 18px rgba(245, 197, 24, 0.35);
}

/* Hasil */
.hasil {
  display: none;
  padding: 3.5rem 0;
  background: var(--green-deep);
  color: var(--white);
}

.hasil--show {
  display: block;
}

.hasil-box {
  max-width: 40rem;
  margin: 0 auto;
}

.hasil-eyebrow {
  color: var(--yellow);
}

.hasil h2 {
  color: var(--white);
}

.hasil-copy {
  color: rgba(255, 255, 255, 0.88);
}

.hasil-data {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 0.9rem;
}

.hasil-data dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
}

.hasil-data dd {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Status multi-step */
.status-page {
  padding: 2.5rem 0 4rem;
  min-height: calc(100vh - 140px);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 197, 24, 0.18), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(15, 92, 59, 0.12), transparent 40%),
    var(--bg);
}

.status-wrap {
  max-width: 44rem;
}

.status-wrap > h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--green-deep);
}

.status-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.status-steps {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  position: relative;
}

.status-steps::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 16%;
  right: 16%;
  height: 3px;
  background: var(--line);
  z-index: 0;
}

.status-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
}

.status-step-circle {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 800;
  background: var(--white);
  color: var(--muted);
  border: 3px solid var(--line);
}

.status-step-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.status-step.is-active .status-step-circle {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.25);
}

.status-step.is-active .status-step-label {
  color: var(--green-deep);
}

.status-step.is-done .status-step-circle {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.status-step.is-done .status-step-label {
  color: var(--green);
}

.status-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 16px 40px rgba(10, 67, 43, 0.06);
}

.status-card h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.status-card-copy {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.status-data {
  margin: 0;
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0 0.25rem;
  border-top: 1px solid var(--line);
}

.status-data div {
  display: grid;
  gap: 0.15rem;
}

.status-data dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-mid);
}

.status-data dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}

.status-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-actions--split {
  justify-content: space-between;
}

.btn-ghost-status {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--line);
}

.btn-ghost-status:hover {
  border-color: var(--green);
  color: var(--green);
}

.payment-qris {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

.payment-qris-frame {
  width: 260px;
  height: 260px;
  padding: 0.65rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(10, 67, 43, 0.08);
}

.payment-qris-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.payment-box {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f4fbf7, #eef7f2);
  border: 1px solid var(--line);
}

.payment-hint {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.payment-payload {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.payment-payload summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green-deep);
}

.payment-payload code {
  display: block;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.65rem;
  background: #f0f4f2;
  border: 1px solid var(--line);
  word-break: break-all;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--ink);
}

.payment-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.92rem;
}

.payment-row span {
  color: var(--muted);
}

.payment-row strong {
  text-align: right;
  color: var(--green-deep);
}

.status-waiting {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.status-waiting-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 4px solid rgba(15, 92, 59, 0.15);
  border-top-color: var(--green);
  animation: spin 1s linear infinite;
}

.status-waiting-list {
  margin: 0 auto 0.25rem;
  padding: 0;
  list-style: none;
  max-width: 26rem;
  text-align: left;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.status-waiting-list li {
  padding-left: 1.25rem;
  position: relative;
}

.status-waiting-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--yellow);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .payment-qris {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .payment-box {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .status-steps::before {
    left: 12%;
    right: 12%;
  }

  .status-step-label {
    font-size: 0.72rem;
  }

  .payment-qris-frame {
    width: min(100%, 240px);
    height: auto;
    aspect-ratio: 1;
  }

  .payment-row {
    flex-direction: column;
    gap: 0.15rem;
  }

  .payment-row strong {
    text-align: left;
  }

  .status-actions--split {
    flex-direction: column-reverse;
  }

  .status-actions--split .btn {
    width: 100%;
  }
}

/* FAQ */
.faq {
  padding: 4.5rem 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.faq-visual img {
  width: min(100%, 22rem);
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 12px 24px rgba(26, 43, 74, 0.1));
}

.faq-content h2 {
  margin-bottom: 1.25rem;
  color: #0a1d37;
}

.faq details {
  margin-bottom: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e6ebe8;
  border-radius: 0.9rem;
  background: var(--bg);
  box-shadow: 0 4px 14px rgba(26, 43, 74, 0.04);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #0a1d37;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #6b7c86;
  border-bottom: 2px solid #6b7c86;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  max-width: 24ch;
  font-size: 0.9rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 0.95rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-shell,
  .about-grid,
  .cek-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }

  .hero-shell {
    padding: 3rem 0 4rem;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-panel {
    order: -1;
  }

  .hero-panel-card {
    width: min(100%, 24rem);
  }

  .faq-visual,
  .cek-visual,
  .about-visual {
    order: -1;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .cek-row .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }

  .footer-brand {
    display: grid;
    justify-items: center;
  }

  .footer-brand p {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
