/* ==========================================================
   Sarang Cetak — Custom 3D Clicker
   Bold & playful, warm Indonesian palette
   ========================================================== */

:root {
  /* Palette */
  --cream: #FFF4E0;
  --cream-2: #FBE8C8;
  --paper: #FFFFFF;
  --ink: #1A1410;
  --ink-2: #4A3F36;
  --muted: #8A7F75;
  --line: #1A14101A;

  --orange: #FF5A1F;
  --orange-deep: #E04210;
  --yellow: #FFCD3C;
  --teal: #2EC4B6;
  --pink: #FF3D8E;
  --purple: #6E3FF3;
  --green: #4CB944;

  /* Type */
  --f-display: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 0 #1a141014, 0 2px 8px #1a14100f;
  --shadow-2: 0 2px 0 #1a141014, 0 12px 32px #1a141014;
  --shadow-3: 0 4px 0 var(--ink), 0 8px 24px #1a141022;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Honeycomb background pattern (subtle) */
.honeycomb-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url('assets/honeycomb-tile.svg');
  background-size: 220px;
  background-position: center;
  mix-blend-mode: multiply;
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 38px;
  height: 38px;
  background: var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 6px;
}
.brand__mark img { width: 100%; height: 100%; filter: invert(1); }
.brand__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__tag {
  font-size: 11px;
  font-family: var(--f-mono);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.steps {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
}
.step {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.step__num {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.step.is-active { color: var(--ink); }
.step.is-active .step__num { background: var(--orange); color: white; border-color: var(--orange); }
.step.is-done { color: var(--ink); }
.step.is-done .step__num { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.step__divider { width: 24px; height: 1.5px; background: currentColor; opacity: 0.4; }

/* ====== Screens ====== */
.screen { display: none; position: relative; z-index: 1; }
.screen.is-active { display: block; }

main { min-height: calc(100vh - 75px); position: relative; z-index: 1; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(40px, 10vw, 140px); }

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 4px 0 var(--ink);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn--primary { background: var(--orange); color: white; }
.btn--dark { background: var(--ink); color: white; }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); box-shadow: none; transform: none; }
.btn--lg { padding: 18px 36px; font-size: 18px; }
.btn--sm { padding: 8px 18px; font-size: 13px; box-shadow: 0 2px 0 var(--ink); }
.btn--sm:hover { box-shadow: 0 4px 0 var(--ink); }
.btn--sm:active { box-shadow: 0 1px 0 var(--ink); }

/* ====== Landing ====== */
.hero {
  padding: 60px 0 80px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px #ff5a1f33;
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero h1 .wavy {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.hero h1 .wavy::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'><path d='M0,6 Q15,0 30,6 T60,6' stroke='%23FFCD3C' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") repeat-x;
  background-size: 60px 12px;
  pointer-events: none;
}
.hero__lead {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 48ch;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__stage-wrap {
  position: relative;
}
.hero__stage {
  position: relative;
  aspect-ratio: 1.05;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 8px 0 var(--ink), 0 24px 48px #1a14102e;
}
.hero__stage canvas { display: block; width: 100%; height: 100%; }
.hero__stage-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 12px;
  background: rgba(255, 244, 224, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__stage-tag::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #4cb94433;
}

.hero__floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floater {
  position: absolute;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.floater__dot { width: 14px; height: 14px; border-radius: 4px; }
.floater--1 { top: 8%; right: -8px; transform: rotate(4deg); }
.floater--2 { top: 50%; right: -5px; transform: rotate(-3deg); }
.floater--3 { bottom: 12%; right: 12%; transform: rotate(2deg); }

/* Features strip */
.features {
  padding: 40px 0 80px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-3);
}
.feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  color: white;
}
.feature h3 {
  font-family: var(--f-display);
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* How it works */
.how {
  padding: 0 0 100px;
}
.how h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.how__step {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
}
.how__step-num {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--orange);
  margin-bottom: 8px;
}
.how__step h4 {
  font-family: var(--f-display);
  font-size: 18px;
  margin: 0 0 4px;
}
.how__step p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ====== Customizer ====== */
.customizer {
  padding: 30px 0 60px;
}
.customizer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}
.stage-card {
  background: var(--ink);
  border-radius: var(--r-xl);
  border: 2px solid var(--ink);
  overflow: hidden;
  position: relative;
  min-height: 600px;
  box-shadow: var(--shadow-3);
}
.stage-card canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.stage-card canvas:active { cursor: grabbing; }
.stage-card__hint {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(255, 244, 224, 0.92);
  backdrop-filter: blur(8px);
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.stage-card__chips,
.stage-card__view,
.stage-card__hint { -webkit-user-select: none; user-select: none; }
.stage-card__hint svg { width: 14px; height: 14px; }
.stage-card__chips {
  position: absolute;
  top: 18px; left: 18px;
  display: flex; gap: 8px;
  pointer-events: none;
  z-index: 2;
}
.chip {
  padding: 7px 12px;
  background: rgba(255, 244, 224, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}
.stage-card__view {
  position: absolute;
  top: 18px; right: 18px;
  display: flex; gap: 4px;
  background: rgba(255, 244, 224, 0.92);
  backdrop-filter: blur(8px);
  padding: 4px;
  border-radius: 999px;
  z-index: 2;
}
.view-btn {
  border: none;
  background: transparent;
  width: 28px; height: 28px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.view-btn.is-active { background: var(--ink); color: var(--cream); }

/* Controls panel */
.controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.panel {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-3);
}
.panel__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.panel__num {
  font-family: var(--f-mono);
  font-size: 11px;
  background: var(--ink);
  color: var(--cream);
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 700;
}
.panel__title {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.panel__hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}

/* Name input */
.name-input {
  width: 100%;
  font-family: "Chewy", var(--f-display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--ink);
  text-transform: uppercase;
  outline: none;
  transition: box-shadow 0.12s ease;
}
.name-input:focus { box-shadow: 0 0 0 3px var(--yellow); }
.name-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}

/* Swatches */
.swatches {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.swatch {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid var(--ink);
  cursor: pointer;
  position: relative;
  transition: transform 0.1s ease;
}
.swatch:hover { transform: scale(1.06); }
.swatch.is-active::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2.5px solid var(--ink);
  border-radius: 13px;
}
.swatch.is-active::before {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  color: white;
  text-shadow: 0 1px 2px #00000080;
}

/* Per-keycap colors */
.keycaps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.keycap-pick {
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  cursor: pointer;
}
.keycap-pick__top {
  height: 56px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: "Chewy", var(--f-display);
  font-weight: 400;
  font-size: 26px;
  position: relative;
  transition: transform 0.1s ease;
}
.keycap-pick:hover .keycap-pick__top { transform: translateY(-2px); }
.keycap-pick.is-active .keycap-pick__top {
  box-shadow: 0 0 0 3px var(--orange);
}
.keycap-pick__label {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.legend-color {
  display: flex; gap: 10px;
  align-items: center;
}
.legend-color__swatch {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  cursor: pointer;
}

/* Quick palette presets */
.presets {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
.preset {
  border: 2px solid var(--ink);
  background: var(--cream);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
}
.preset__dots {
  display: flex;
  gap: -4px;
}
.preset__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  margin-left: -4px;
}
.preset__dot:first-child { margin-left: 0; }
.preset:hover { background: var(--yellow); }

/* Summary bar */
.summary-bar {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.summary-bar__total {
  display: flex;
  flex-direction: column;
}
.summary-bar__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}
.summary-bar__amount {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.summary-bar .btn { margin-left: auto; }

/* ====== Summary screen ====== */
.summary {
  padding: 40px 0 80px;
}
.summary__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}
.summary h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.05;
}
.summary__lead {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 56ch;
}
.summary-preview {
  background: var(--ink);
  border-radius: var(--r-xl);
  border: 2px solid var(--ink);
  height: 480px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.summary-preview canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.spec-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-3);
}
.spec-card h3 {
  font-family: var(--f-display);
  font-size: 18px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.spec-row:first-of-type { border-top: none; }
.spec-row__k { color: var(--muted); font-family: var(--f-mono); font-size: 12px; }
.spec-row__v { font-weight: 600; }
.spec-keys-strip {
  display: flex;
  gap: 4px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.spec-keys-strip .mini-key {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  font-family: "Chewy", var(--f-display);
  font-weight: 400;
  font-size: 14px;
}

/* Payment box */
.pay-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-3);
  margin-top: 22px;
}
.pay-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pay-card__head h3 {
  font-family: var(--f-display);
  font-size: 20px;
  margin: 0;
}
.qris-badge {
  background: linear-gradient(135deg, #d80027 0%, #b8001f 100%);
  color: white;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.qris-frame {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 18px;
}
.qris-img {
  width: 160px; height: 160px;
  background: white;
  border-radius: 10px;
  padding: 8px;
}
.qris-img svg { width: 100%; height: 100%; }
.qris-info { font-size: 14px; }
.qris-info dl { margin: 0; }
.qris-info dt {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 10px;
}
.qris-info dt:first-of-type { margin-top: 0; }
.qris-info dd {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}
.qris-info dd.amount {
  font-size: 22px;
  color: var(--orange-deep);
}

.wa-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #25D366;
  color: white;
  border: 2px solid var(--ink);
  padding: 14px 18px;
  border-radius: var(--r-md);
  margin-top: 18px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.wa-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.wa-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.wa-cta svg { width: 22px; height: 22px; }

.steps-pay {
  margin-top: 18px;
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 13px;
}
.steps-pay ol { margin: 0; padding-left: 20px; }
.steps-pay li { padding: 3px 0; }
.steps-pay strong { color: var(--orange-deep); }

/* ====== Mission Card (game-style payment tutorial) ====== */
.mission-card {
  margin-top: 18px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
}

/* Progress bar */
.mc-progress {
  display: flex;
  align-items: flex-start;
  padding: 16px 20px 14px;
  background: var(--ink);
}
.mc-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: none;
  width: 60px;
}
.mc-progress__dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: transparent;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  transition: all 0.3s ease;
}
.mc-progress__label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  text-align: center;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.mc-progress__line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin-top: 14px;
  min-width: 12px;
  transition: background 0.35s ease;
}
.mc-progress__step.is-active .mc-progress__dot {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  box-shadow: 0 0 0 5px #ff5a1f33;
  animation: mc-pulse 2s ease-in-out infinite;
}
@keyframes mc-pulse {
  0%, 100% { box-shadow: 0 0 0 5px #ff5a1f33; }
  50%       { box-shadow: 0 0 0 9px #ff5a1f18; }
}
.mc-progress__step.is-active .mc-progress__label { color: white; }
.mc-progress__step.is-done .mc-progress__dot {
  background: var(--green);
  border-color: var(--green);
  color: white;
  font-size: 0;
}
.mc-progress__step.is-done .mc-progress__dot::before { content: "✓"; font-size: 14px; }
.mc-progress__step.is-done .mc-progress__label { color: rgba(255,255,255,0.6); }
.mc-progress__step.is-done + .mc-progress__line { background: var(--green); }

/* Step content */
.mc-step { padding: 22px 20px 20px; }
.mc-badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.mc-badge--done { background: var(--green); }
.mc-step__icon {
  font-size: 40px;
  margin: 12px 0 8px;
  line-height: 1;
  display: block;
}
.mc-step__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.mc-step__desc {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 16px;
  line-height: 1.55;
}

/* Info table inside steps */
.mc-info-table {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 2px 0 var(--ink);
}
.mc-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.mc-info-row:last-child { border-bottom: none; }
.mc-info-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.mc-info-val {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
}
.mc-info-val--big {
  font-size: 24px;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.mc-info-val--code {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  background: #fff4e0;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1.5px solid var(--orange);
  letter-spacing: 0.04em;
}

/* Copy button override inside mc-info-table (light background) */
.mc-info-table .copy-btn {
  background: var(--cream-2);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.mc-info-table .copy-btn:hover { background: var(--ink); color: var(--cream); }

/* Step navigation (back / next) */
.mc-step__nav { display: flex; gap: 10px; margin-top: 16px; }
.mc-step__nav .btn--primary { flex: 2; justify-content: center; }
.mc-step__nav .btn--ghost   { flex: 1; justify-content: center; }

/* ====== Admin Dashboard ====== */
.admin {
  padding: 32px 0 80px;
}
.admin__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.admin__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  background: var(--cream-2);
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 8px;
}
.admin__title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  line-height: 1;
}
.admin__lead {
  margin: 4px 0 0;
  color: var(--ink-2);
  max-width: 60ch;
}
.admin__head-actions {
  display: flex;
  gap: 8px;
}

.admin__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 16px 18px;
  position: relative;
  box-shadow: 0 3px 0 var(--ink);
}
.stat-card__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-card__label::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent, var(--orange));
}
.stat-card__value {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
  line-height: 1;
}
.stat-card__sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.admin__filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.filter-chip:hover { transform: translateY(-1px); }
.filter-chip.is-active { background: var(--ink); color: var(--cream); }
.filter-chip__count {
  font-family: var(--f-mono);
  font-size: 11px;
  background: var(--cream-2);
  color: var(--ink);
  padding: 1px 7px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
}
.filter-chip.is-active .filter-chip__count {
  background: var(--orange);
  color: white;
}
.admin__search {
  margin-left: auto;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 14px;
  outline: none;
  min-width: 220px;
}
.admin__search:focus { box-shadow: 0 0 0 3px var(--yellow); }

.orders {
  display: grid;
  gap: 14px;
}
.order-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: 0 3px 0 var(--ink);
}
.order-card__preview {
  display: flex;
  gap: 2px;
  padding: 8px 10px;
  background: var(--ink);
  border-radius: 10px;
  align-items: center;
}
.order-card__preview .mk {
  width: 22px; height: 22px;
  border-radius: 5px;
  display: grid; place-items: center;
  font-family: "Chewy", var(--f-display);
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
}
.order-card__main { min-width: 0; }
.order-card__row1 {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.order-card__code {
  font-family: var(--f-mono);
  font-size: 12px;
  background: var(--cream-2);
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
}
.order-card__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.order-card__total {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--orange-deep);
  font-size: 16px;
}
.order-card__row2 {
  display: flex; gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
}
.order-card__row2 b { font-weight: 600; color: var(--ink); }
.order-card__base-swatch {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  border: 1.5px solid var(--ink);
  vertical-align: -1px;
  margin-right: 4px;
}
.order-card__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 200px;
}
.status-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  text-align: center;
  border: 1.5px solid var(--ink);
}
.status-pill--pending { background: #FFCD3C; }
.status-pill--paid { background: #5BCEFA; }
.status-pill--printing { background: #FF5A1F; color: white; }
.status-pill--shipped { background: #4CB944; color: white; }
.status-pill--cancelled { background: #1a1410; color: var(--cream); opacity: 0.7; }
.order-card__action-btn {
  background: var(--ink);
  color: var(--cream);
  border: 1.5px solid var(--ink);
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.1s ease;
}
.order-card__action-btn:hover { transform: translateY(-1px); }
.order-card__action-btn--ghost {
  background: transparent;
  color: var(--ink);
}
.order-card__action-btn--ghost:hover { background: var(--cream-2); }
.order-card__row3 {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}

.orders-empty {
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: var(--r-lg);
  padding: 60px 24px;
  text-align: center;
}
.orders-empty__icon { font-size: 56px; margin-bottom: 12px; }
.orders-empty h3 {
  font-family: var(--f-display);
  font-size: 24px;
  margin: 0 0 6px;
}
.orders-empty p {
  color: var(--ink-2);
  margin: 0 auto;
  max-width: 44ch;
}

/* Bank account card (replaces QRIS) */
.bank-card {
  background: linear-gradient(135deg, #0060AF 0%, #003d72 100%);
  color: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.bank-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.bank-card::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.bank-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  position: relative;
  border-top: 1px dashed rgba(255,255,255,0.18);
  gap: 12px;
}
.bank-card__row:first-of-type { border-top: none; }
.bank-card__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}
.bank-card__value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.bank-card__rek {
  font-family: var(--f-mono);
  font-size: 20px;
  letter-spacing: 0.04em;
}
.bank-card__row--total {
  background: rgba(255,255,255,0.08);
  margin: 4px -20px;
  padding: 12px 20px;
}
.bank-card__amount {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  color: #FFCD3C;
}
.bank-logo {
  background: white;
  color: #0060AF;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.copy-btn {
  background: rgba(255,255,255,0.16);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.copy-btn:hover { background: rgba(255,255,255,0.28); }
.copy-btn.copied { background: var(--green); border-color: var(--green); }

.saved-pill {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #4CB94418;
  border: 2px dashed var(--green);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.4;
}
.saved-pill__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #4CB94433;
}
.saved-pill strong {
  font-family: var(--f-display);
  font-size: 15px;
  display: block;
  margin-bottom: 2px;
}
.saved-pill code {
  background: white;
  padding: 1px 5px;
  border-radius: 3px;
}

/* Footer */
footer {
  border-top: 2px solid var(--ink);
  padding: 28px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-mono);
  font-size: 12px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero__grid, .customizer__grid, .summary__grid { grid-template-columns: 1fr; gap: 32px; }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: 1fr; }
  .steps { display: none; }
  .stage-card { min-height: 420px; }
  .summary-preview { height: 360px; }
  .hero__stage { aspect-ratio: 1.15; }
  .hero__floaters { display: none; }
}

@media (max-width: 720px) {
  .admin__stats { grid-template-columns: repeat(2, 1fr); }
  .order-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .order-card__actions { min-width: 0; }
  .admin__search { margin-left: 0; flex: 1 1 100%; min-width: 0; }
  .admin__head { flex-direction: column; align-items: flex-start; }
  .admin__head-actions { width: 100%; flex-wrap: wrap; }
  .order-card__preview {
    align-self: flex-start;
    padding: 6px 8px;
  }
  .order-card__row1 { gap: 8px; }
  .order-card__name { font-size: 20px; }
}

@media (max-width: 600px) {
  .site-header__inner { padding: 14px 28px; gap: 12px; }
  .brand__name { font-size: 17px; }
  .brand__tag { font-size: 10px; }
  .brand__mark { width: 32px; height: 32px; padding: 5px; }

  .hero { padding: 36px 0 50px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn--lg { padding: 14px 20px; font-size: 15px; }
  .hero__stage { aspect-ratio: 1; border-radius: 24px; }
  .features { padding: 20px 0 50px; }
  .how { padding: 0 0 60px; }

  .customizer { padding: 22px 0 40px; }
  .customizer__grid { gap: 20px; }
  .stage-card { min-height: 320px; }
  .stage-card__chips, .stage-card__view, .stage-card__hint {
    transform: scale(0.92);
    transform-origin: top left;
  }
  .stage-card__view { transform-origin: top right; }
  .stage-card__hint { transform-origin: bottom left; }

  .panel { padding: 16px 18px; }
  .panel__title { font-size: 17px; }
  .name-input { font-size: 26px; padding: 12px 14px; }
  .swatches { grid-template-columns: repeat(6, 1fr); gap: 7px; }
  .keycap-pick { width: 48px; }
  .keycap-pick__top { height: 48px; font-size: 22px; }

  .summary-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 18px;
  }
  .summary-bar .btn { margin-left: 0; width: 100%; justify-content: center; }
  .summary-bar__amount { font-size: 24px; }

  .summary { padding: 28px 0 50px; }
  .summary h2 { font-size: 32px; }
  .summary__lead { font-size: 15px; }
  .summary-preview { height: 280px; }
  .summary__grid { gap: 22px; }

  .pay-card { padding: 18px; }
  .bank-card { padding: 16px; }
  .bank-card__row {
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 0;
  }
  .bank-card__row--total { margin: 4px -16px; padding: 12px 16px; }
  .bank-card__value { text-align: left; font-size: 14px; flex-wrap: wrap; }
  .bank-card__rek { font-size: 18px; }
  .bank-card__amount { font-size: 22px; }
  .copy-btn { padding: 4px 8px; font-size: 10px; }

  .wa-cta { padding: 12px 14px; font-size: 14px; }
  .wa-cta span div:last-child { font-size: 15px; }

  .spec-card { padding: 18px; }
  .spec-row { flex-wrap: wrap; gap: 6px; }
  .spec-row__k { min-width: 110px; }

  .admin { padding: 24px 0 50px; }
  .admin__title { font-size: 28px; }
  .admin__filters { gap: 6px; }
  .filter-chip { font-size: 12px; padding: 7px 11px; }
  .stat-card { padding: 14px; }
  .stat-card__value { font-size: 26px; }

  footer { padding: 22px 0; font-size: 11px; }
}

@media (max-width: 400px) {
  .swatches { grid-template-columns: repeat(5, 1fr); }
  .hero h1 { font-size: 32px; }
  .keycap-pick { width: 44px; }
  .keycap-pick__top { height: 44px; font-size: 20px; }
  .stage-card__chips { gap: 5px; }
  .chip { font-size: 10px; padding: 6px 10px; }
}
