/* ProduksiParfum.com — tema "pabrik parfum": kuningan, tembaga, kaca, cahaya amber */
:root {
  --bg: #0e0b09;
  --bg-2: #15100c;
  --panel: #1a140f;
  --panel-2: #221a13;
  --line: #3a2d20;
  --line-2: #54412c;
  --text: #f3eadb;
  --muted: #a7978a;
  --brass: #c9a45c;
  --brass-2: #e9d096;
  --brass-3: #7d6232;
  --copper: #c07542;
  --glass: #8fdcd6;
  --ok: #7bd389;
  --hot: #ff7a4d;
  --paper: #f4ecdd;
  --ink: #2a1e14;
  --radius: 16px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 164, 92, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(192, 117, 66, .10), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brass-2); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--brass-2); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--brass); color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-brass {
  color: #1b130a;
  background: linear-gradient(180deg, var(--brass-2), var(--brass) 55%, #a8843f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 30px -10px rgba(201, 164, 92, .7);
}
.btn-brass:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 40px -10px rgba(201, 164, 92, .9); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:hover { border-color: var(--brass); }
.btn-wa { background: #1faa59; color: #fff; box-shadow: 0 10px 30px -12px rgba(31, 170, 89, .8); }
.btn-wa:hover { background: #22bd63; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 12px var(--hot); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(14, 11, 9, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brass); }
.logo svg { width: 30px; height: 30px; }
.logo span { color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: -.01em; display: flex; flex-direction: column; line-height: 1; }
.logo b { color: var(--brass-2); font-weight: 800; }
.logo .wm { font-style: normal; }
.nw { white-space: nowrap; }
.logo small { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 48px) 40px; max-width: 1320px; margin: 0 auto;
}
.hero h1 { font-size: clamp(38px, 5.6vw, 74px); font-weight: 800; letter-spacing: -.035em; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: #d9ccbb; max-width: 560px; margin: 22px 0 30px; }
.lead b { color: var(--brass-2); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.plates { display: flex; gap: 12px; flex-wrap: wrap; margin: 36px 0 0; }
.plate {
  position: relative; padding: 12px 18px 12px 22px; border-radius: 10px;
  background: linear-gradient(180deg, #2a2017, #1a140f); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.plate::before, .plate::after { content: ""; position: absolute; left: 8px; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--brass-2), var(--brass-3)); }
.plate::before { top: 8px; } .plate::after { bottom: 8px; }
.plate dt { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.plate dd { margin: 2px 0 0; font-size: 22px; font-weight: 800; }
.plate dd small { font-size: 12px; font-weight: 600; color: var(--muted); }
.plate-hot { border-color: rgba(255, 122, 77, .5); background: linear-gradient(180deg, #3a1f14, #1f130d); }
.plate-hot dd { color: #ffb08f; }

.hero-art { position: relative; }
.apparatus { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.hero-tag {
  position: absolute; font-family: var(--mono); font-size: 12px; padding: 8px 12px; border-radius: 8px;
  background: rgba(26, 20, 15, .9); border: 1px solid var(--line-2); color: var(--muted);
}
.hero-tag b { color: var(--brass-2); }
.tag-1 { left: 0; top: 18%; animation: float 5s ease-in-out infinite; }
.tag-2 { right: 0; top: 4%; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-8px); } }

.bub { animation: bubble 2.6s infinite ease-in; }
.b2 { animation-delay: .7s; } .b3 { animation-delay: 1.3s; } .b4 { animation-delay: 1.9s; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .7; } 100% { transform: translateY(-110px); opacity: 0; } }
.wave { animation: wave 3s linear infinite; }
@keyframes wave { to { transform: translateX(-100px); } }
.flame { transform-origin: 170px 400px; animation: flame .18s infinite alternate; }
@keyframes flame { to { transform: scaleY(1.12) scaleX(.94); } }
.needle { transform-origin: 0 0; animation: needle 4s ease-in-out infinite; }
@keyframes needle { 0%, 100% { transform: rotate(-50deg); } 50% { transform: rotate(40deg); } 70% { transform: rotate(25deg); } }
.drop { animation: drop 1.4s infinite ease-in; }
@keyframes drop { 0% { transform: translateY(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(58px); opacity: 0; } }
.fill-rise { animation: rise 8s ease-in-out infinite; }
@keyframes rise { 0% { transform: translateY(40px); } 60%, 100% { transform: translateY(-8px); } }
.steam path { animation: steam 3s infinite; opacity: 0; }
.steam .s2 { animation-delay: 1.5s; }
@keyframes steam { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: .8; } 100% { transform: translateY(-30px); opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: #120e0b; overflow: hidden; }
.ticker-track { display: flex; gap: 28px; padding: 14px 0; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-family: var(--mono); font-size: 13px; letter-spacing: .18em; color: var(--muted); }
.ticker span:nth-child(even) { color: var(--brass); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Factory ---------- */
.factory { max-width: 1320px; margin: 0 auto; padding: 80px clamp(16px, 4vw, 48px) 40px; }
.factory-head h2, .custom h2, .how h2, .faq h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.03em; font-weight: 800; }
.factory-head p.muted { max-width: 640px; margin-top: 14px; }

.rail {
  list-style: none; padding: 0; margin: 36px 0 28px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  position: sticky; top: 64px; z-index: 30; background: rgba(14, 11, 9, .9); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.rail li {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px;
  font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; position: relative;
  border-right: 1px solid var(--line); transition: color .2s, background .2s;
}
.rail li:last-child { border-right: 0; }
.rail li b { font-family: var(--mono); font-weight: 400; color: var(--line-2); }
.rail .lamp { width: 9px; height: 9px; border-radius: 50%; background: #3b2f24; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5); transition: .3s; }
.rail li.done { color: var(--text); }
.rail li.done .lamp { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.rail li.active { color: var(--brass-2); background: rgba(201, 164, 92, .08); }
.rail li.active .lamp { background: var(--brass-2); box-shadow: 0 0 12px var(--brass); animation: blink 1.2s infinite; }

.factory-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.stations { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.station {
  position: relative; padding: clamp(18px, 3vw, 30px); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34, 26, 19, .92), rgba(22, 17, 12, .92));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.station.locked { opacity: .55; }
.station-head { margin-bottom: 20px; }
.st-no { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--brass); }
.station-head h3 { font-size: clamp(24px, 2.6vw, 32px); font-family: var(--serif); font-weight: 600; margin: 6px 0 6px; }
.station-head p { color: var(--muted); margin: 0; max-width: 620px; }
.hint { color: var(--muted); font-size: 14px; margin: 14px 0 0; font-style: italic; }

/* Types */
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.type-card {
  text-align: left; cursor: pointer; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02); display: flex; flex-direction: column; gap: 10px; transition: .2s; position: relative;
}
.type-card:hover { border-color: var(--brass); transform: translateY(-2px); }
.type-card[aria-pressed="true"] { border-color: var(--brass-2); background: rgba(201, 164, 92, .10); box-shadow: 0 0 0 1px var(--brass-2) inset, 0 12px 30px -12px rgba(201, 164, 92, .5); }
.beaker { height: 96px; display: flex; align-items: flex-end; justify-content: center; }
.beaker svg { height: 96px; width: auto; }
.beaker .liq { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.type-card .t-short { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; color: var(--brass); }
.type-card h4 { font-size: 17px; }
.type-card .t-tag { color: var(--muted); font-size: 13px; line-height: 1.4; }
.type-card .t-specs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.pill { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.pill-brass { color: #1b130a; background: var(--brass); border-color: var(--brass); font-weight: 600; }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--muted); transition: .15s;
}
.chip:hover { color: var(--text); border-color: var(--brass-3); }
.chip[aria-pressed="true"] { color: #1b130a; background: var(--brass-2); border-color: var(--brass-2); }
.chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* Bottles / conveyor */
.conveyor {
  position: relative; padding: 16px 16px 30px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .1));
  border: 1px solid var(--line);
}
.conveyor::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; border-radius: 0 0 14px 14px;
  background: repeating-linear-gradient(90deg, #2c241c 0 18px, #1d1712 18px 36px);
  border-top: 2px solid #4a3a2a; animation: belt 1.2s linear infinite;
}
@keyframes belt { to { background-position: 36px 0; } }
.bottle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.bottle-card {
  cursor: pointer; border-radius: 14px; padding: 12px 10px 14px; border: 1px solid var(--line-2);
  background: radial-gradient(120px 90px at 50% 35%, rgba(255, 230, 190, .09), transparent 70%), rgba(255, 255, 255, .02);
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .2s; text-align: center;
}
.bottle-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.bottle-card[aria-pressed="true"] { border-color: var(--brass-2); background-color: rgba(201, 164, 92, .10); box-shadow: 0 0 0 1px var(--brass-2) inset; }
.bottle-card .bsvg { height: 130px; display: flex; align-items: flex-end; }
.bottle-card .bsvg svg, .bottle-card .bsvg img { height: 130px; width: auto; object-fit: contain; }
.bottle-card b { font-size: 14px; }
.bottle-card small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.bottle-card .pill { margin-top: 2px; }

/* Organ */
.organ-tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25);
}
.search svg { width: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; background: none; border: 0; color: var(--text); padding: 11px 0; font: inherit; outline: none; min-width: 0; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.seg button { background: none; border: 0; padding: 9px 14px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--brass-2); color: #1b130a; }

.organ {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px;
  max-height: 620px; overflow-y: auto; padding: 4px 6px 4px 2px;
  scrollbar-color: var(--line-2) transparent;
}
.vial-card {
  position: relative; text-align: left; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 12px;
  padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: .15s;
}
.vial-card:hover { border-color: var(--brass-3); background: rgba(255, 255, 255, .04); }
.vial-card[aria-pressed="true"] { border-color: var(--brass-2); background: rgba(201, 164, 92, .10); }
.vial-card[aria-pressed="true"]::after {
  content: "✓"; position: absolute; top: 8px; right: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brass-2); color: #1b130a; font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.vial { width: 34px; height: 64px; }
.vial-card .code { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.vial-card b { display: block; font-size: 15px; line-height: 1.2; margin: 2px 22px 4px 0; }
.vial-card .fam { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.vial-card .notes { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.vial-card .insp { font-size: 11px; color: var(--brass); margin-top: 4px; font-style: italic; }
.best { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: #1b130a; background: var(--hot); padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }

.dosing { margin-top: 22px; border-radius: 14px; border: 1px dashed var(--brass-3); padding: 16px; background: rgba(201, 164, 92, .04); }
.dosing-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.dosing ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dose { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.dose i { width: 12px; height: 12px; border-radius: 50%; }
.dose .nm { font-weight: 700; font-size: 14px; }
.dose .nm small { display: block; font-family: var(--mono); font-weight: 400; color: var(--muted); font-size: 10px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.stepper button { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; font-size: 18px; color: var(--brass-2); }
.stepper button:hover { background: rgba(255, 255, 255, .06); }
.stepper input { width: 64px; text-align: center; background: none; border: 0; color: var(--text); font: 600 14px var(--mono); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; padding: 4px 6px; }
.rm:hover { color: var(--hot); }
.dosing-actions { display: flex; justify-content: flex-end; margin-top: 12px; }

/* Label studio */
.label-studio { display: grid; grid-template-columns: 1fr 240px; gap: 24px; align-items: center; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3);
  color: var(--text); font: 500 16px var(--sans); outline: none; transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--brass); }
#brandInput { font-size: 22px; font-family: var(--serif); font-weight: 600; }
.field-label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin: 18px 0 8px; }
.label-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.label-styles button {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); font-size: 13px; font-weight: 600;
}
.label-styles button[aria-pressed="true"] { border-color: var(--brass-2); background: rgba(201, 164, 92, .10); }
.ls { font-style: normal; width: 54px; height: 38px; display: grid; place-items: center; border-radius: 4px; font-size: 17px; }
.ls-minimal { background: #fff; color: #111; font-family: var(--sans); font-weight: 500; letter-spacing: .08em; }
.ls-klasik { background: #f1e6cf; color: #3b2a1a; font-family: var(--serif); font-style: italic; box-shadow: inset 0 0 0 2px #f1e6cf, inset 0 0 0 3px #8a6d45; }
.ls-mewah { background: #111; color: var(--brass-2); font-family: var(--serif); box-shadow: inset 0 0 0 2px #111, inset 0 0 0 3px var(--brass); }
.ls-bold { background: var(--hot); color: #fff; font-weight: 800; font-family: var(--sans); }
.label-stage {
  height: 280px; border-radius: 14px; display: grid; place-items: end center; padding-bottom: 18px;
  background: radial-gradient(160px 120px at 50% 55%, rgba(255, 220, 160, .18), transparent 70%), linear-gradient(180deg, #1a140f, #0f0b08);
  border: 1px solid var(--line);
}
.label-stage svg { height: 240px; width: auto; }

/* Legal */
.promo {
  display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(255, 122, 77, .16), rgba(201, 164, 92, .08)); border: 1px solid rgba(255, 122, 77, .45);
}
.promo-badge { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; background: var(--hot); color: #1b130a; font-weight: 700; padding: 6px 10px; border-radius: 6px; transform: rotate(-4deg); }
.quota { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.quota-bar { width: 180px; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .4); overflow: hidden; }
.quota-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--hot), var(--brass-2)); }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.legal-card {
  display: grid; grid-template-columns: 76px 1fr 26px; gap: 14px; align-items: start; text-align: left; cursor: pointer;
  padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); transition: .2s;
}
.legal-card:hover { border-color: var(--brass); }
.legal-card[aria-pressed="true"] { border-color: var(--ok); background: rgba(123, 211, 137, .07); }
.stamp {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .08em; color: #6ab0ff;
  border: 3px double #6ab0ff; transform: rotate(-12deg); opacity: .55; transition: .3s;
}
.stamp-halal { color: var(--ok); border-color: var(--ok); }
.legal-card[aria-pressed="true"] .stamp { opacity: 1; transform: rotate(-12deg) scale(1.06); }
.legal-body b { display: block; font-size: 16px; }
.legal-body small { display: block; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.fee { display: block; font-family: var(--mono); font-size: 13px; color: var(--brass-2); margin-top: 4px; }
.fee s { color: var(--muted); margin-right: 6px; }
.fee .free { color: #1b130a; background: var(--hot); padding: 1px 6px; border-radius: 4px; font-weight: 700; }
.check { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2); }
.legal-card[aria-pressed="true"] .check { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 5px #1a2a1d; }
.legal-total { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.legal-total b { color: var(--brass-2); }

/* Work order */
.station-paper { background: linear-gradient(180deg, rgba(34, 26, 19, .96), rgba(22, 17, 12, .96)); }
.work-order {
  position: relative; background: var(--paper); color: var(--ink); border-radius: 6px; padding: 26px 26px 22px;
  font-family: var(--mono); font-size: 13px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); padding-bottom: 70px;
  background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(42, 30, 20, .07) 27px 28px);
}
.work-order::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 8px -2px, transparent 8px, var(--paper) 8.5px) 0 0 / 16px 10px repeat-x; }
.wo-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.wo-head h4 { font-family: var(--serif); font-size: 24px; font-style: italic; }
.wo-head span { font-size: 11px; letter-spacing: .1em; }
.wo-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dotted rgba(42, 30, 20, .3); }
.wo-row span:first-child { color: #6b5a45; }
.wo-batch { margin: 12px 0 6px; font-weight: 600; }
.wo-batch small { display: block; font-weight: 400; color: #6b5a45; }
.wo-item { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0 3px 14px; }
.wo-empty { color: #8a7560; font-style: italic; }
.wo-stamp {
  position: absolute; right: 18px; bottom: 16px; transform: rotate(-10deg); border: 3px solid #b8452c; color: #b8452c;
  padding: 4px 10px; font-weight: 700; letter-spacing: .12em; border-radius: 6px; opacity: .8; font-size: 12px;
}
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.field-wide { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.form-error { grid-column: 1 / -1; color: #ffb3a1; background: rgba(255, 122, 77, .1); border: 1px solid rgba(255, 122, 77, .4); padding: 10px 14px; border-radius: 10px; margin: 0; }
.lever {
  grid-column: 1 / -1; position: relative; display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 18px 24px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 800; font-size: 17px; color: #fff;
  background: linear-gradient(180deg, #25c26a, #178a4a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 40px -14px rgba(31, 170, 89, .9);
}
.lever:disabled { filter: grayscale(.6); cursor: not-allowed; opacity: .7; }
.lever-handle { width: 12px; height: 34px; border-radius: 6px; background: linear-gradient(180deg, var(--brass-2), var(--brass-3)); position: relative; transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.lever-handle::before { content: ""; position: absolute; top: -8px; left: -4px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9c7a, #b8452c); }
.lever.pulled .lever-handle { transform: rotate(50deg); }
.fine { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- Panel ---------- */
.panel { position: sticky; top: 124px; }
.panel-inner {
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #221a13, #15100c); box-shadow: var(--shadow);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.live { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: blink 1.4s infinite; }
.preview {
  height: 260px; margin: 14px 0; border-radius: 12px; display: grid; place-items: end center; padding-bottom: 14px; position: relative; overflow: hidden;
  background: radial-gradient(150px 120px at 50% 60%, rgba(255, 220, 160, .20), transparent 70%), linear-gradient(180deg, #120d0a, #0b0806);
  border: 1px solid var(--line);
}
.preview::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 10px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
.preview svg { height: 230px; width: auto; position: relative; z-index: 1; }
.preview .empty { align-self: center; color: var(--muted); font-size: 13px; text-align: center; padding: 20px; font-family: var(--mono); }
.liquid { transition: y .9s cubic-bezier(.2, .8, .2, 1), height .9s cubic-bezier(.2, .8, .2, 1), fill .6s; }
.readouts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.readouts div { padding: 8px 10px; border-radius: 8px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); min-width: 0; }
.readouts dt { font-family: var(--mono); font-size: 9px; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.readouts dd { margin: 2px 0 0; font-family: var(--mono); font-size: 13px; color: var(--glass); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { margin: 12px 0; }
.meter-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.meter-top b { color: var(--brass-2); font-size: 15px; letter-spacing: 0; }
.meter-bar { height: 10px; margin-top: 6px; border-radius: 99px; background: rgba(0, 0, 0, .4); overflow: hidden; border: 1px solid var(--line); }
.meter-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(45deg, var(--brass) 0 8px, var(--brass-2) 8px 16px); transition: width .6s; }
.batches { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; max-height: 190px; overflow-y: auto; }
.batch {
  font-size: 12px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  display: flex; justify-content: space-between; gap: 10px; align-items: start;
}
.batch b { display: block; font-size: 13px; }
.batch span { color: var(--muted); }
.batch.current { border-color: var(--brass-3); }
.batch button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0 2px; font-size: 16px; }
.batch button:hover { color: var(--hot); }
.panel-toggle { display: none; }

/* ---------- Custom ---------- */
.custom { max-width: 1320px; margin: 0 auto; padding: 60px clamp(16px, 4vw, 48px); }
.custom-card {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
  padding: clamp(24px, 5vw, 56px); border-radius: 24px; overflow: hidden; position: relative;
  background: radial-gradient(500px 300px at 90% 20%, rgba(143, 220, 214, .12), transparent 70%), linear-gradient(135deg, #1d2422, #151110 60%);
  border: 1px solid #2f3b38;
}
.custom-card p { color: #cfc3b3; max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--glass); }
.custom-art { height: 260px; display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.custom-art .vial {
  width: 38px; border-radius: 6px 6px 19px 19px; position: relative;
  background: linear-gradient(90deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .15));
  border: 2px solid rgba(255, 255, 255, .45); overflow: hidden; animation: float 5s ease-in-out infinite;
}
.custom-art .vial::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: var(--c); opacity: .85; }
.custom-art .v1 { height: 150px; --h: 60%; --c: #e98fb0; }
.custom-art .v2 { height: 200px; --h: 45%; --c: #c8902e; animation-delay: .5s; }
.custom-art .v3 { height: 240px; --h: 70%; --c: #5bc0de; animation-delay: 1s; }
.custom-art .v4 { height: 190px; --h: 50%; --c: #86b36b; animation-delay: 1.5s; }
.custom-art .v5 { height: 140px; --h: 65%; --c: #a0643c; animation-delay: 2s; }

/* ---------- How / FAQ ---------- */
.how, .faq { max-width: 1320px; margin: 0 auto; padding: 50px clamp(16px, 4vw, 48px); }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); position: relative; }
.steps li b { font-family: var(--mono); color: var(--brass); font-size: 13px; }
.steps h4 { font-size: 18px; margin: 10px 0 6px; }
.steps p { color: var(--muted); margin: 0; font-size: 14px; }
.faq { max-width: 880px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brass); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.footer { border-top: 1px solid var(--line); padding: 30px clamp(16px, 4vw, 48px) 100px; text-align: center; font-size: 14px; }
.footer p { margin: 4px 0; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1faa59; color: #fff; box-shadow: 0 12px 30px -8px rgba(31, 170, 89, .8);
}
.wa-float svg { width: 30px; height: 30px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%); visibility: hidden; z-index: 60;
  background: #231b14; border: 1px solid var(--brass-3); color: var(--text); padding: 12px 18px; border-radius: 12px;
  font-size: 14px; box-shadow: var(--shadow); transition: transform .3s, visibility .3s; max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factory-grid { grid-template-columns: minmax(0, 1fr) 310px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .topbar .btn-wa { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .factory-grid { grid-template-columns: 1fr; }
  .rail { top: 58px; border-radius: 12px; }
  .rail li { font-size: 0; gap: 4px; flex-direction: column; padding: 10px 2px; }
  .rail li b { font-size: 11px; }
  .panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 45; }
  .panel-inner { display: none; border-radius: 18px 18px 0 0; max-height: 75vh; overflow-y: auto; border-bottom: 0; }
  .panel.open .panel-inner { display: block; }
  .panel-toggle {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; border: 0; cursor: pointer; text-align: left;
    background: rgba(26, 20, 15, .97); border-top: 1px solid var(--brass-3); backdrop-filter: blur(10px);
  }
  .mini-bottle { width: 30px; height: 44px; flex: none; }
  .mini-bottle svg { height: 44px; width: auto; }
  .mini-text { flex: 1; min-width: 0; }
  .mini-text b { display: block; font-family: var(--mono); color: var(--brass-2); }
  .mini-text small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mini-arrow { color: var(--brass); transition: transform .2s; }
  .panel.open .mini-arrow { transform: rotate(180deg); }
  .wa-float { bottom: 80px; }
  .label-studio { grid-template-columns: 1fr; }
  .custom-card { grid-template-columns: 1fr; }
  .custom-art { height: 180px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 600px) {
  .type-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .type-card { padding: 12px; }
  .bottle-grid { grid-template-columns: repeat(2, 1fr); }
  .organ { grid-template-columns: 1fr; max-height: 520px; }
  .legal-grid { grid-template-columns: 1fr; }
  .label-styles { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dose { grid-template-columns: 12px 1fr auto; }
  .dose .rm { grid-column: 3; grid-row: 1; }
  .dose .stepper { grid-column: 2 / 4; justify-self: start; }
  .hero-tag { display: none; }
  .plates .plate { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.organ-count { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0 0 10px; letter-spacing: .04em; }

.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0; max-width: 100%; }
.sw { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); background: var(--c); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); transition: transform .12s; }
.sw[aria-pressed="true"] { border-color: var(--brass-2); box-shadow: 0 0 0 2px rgba(233, 208, 150, .35); }
.sw:hover { transform: scale(1.12); }
.bottle-grid { max-height: 760px; overflow-y: auto; padding-right: 4px; scrollbar-color: var(--line-2) transparent; }

.cap-pick { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); max-width: 100%; }
.cap-pick select { max-width: 130px; background: rgba(0, 0, 0, .35); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 6px; font: 600 12px var(--sans); }
.cap-one { font-size: 11px; }
.bottle-card { cursor: pointer; }

.illus-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .02); }
.preview-note { margin: -6px 0 10px; text-align: center; font: 10px var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* ---------- Tombol suara ---------- */
.snd-ico { width: 18px; height: 18px; }
.snd-ico .wave1, .snd-ico .wave2 { display: none; }
[data-sound-toggle].is-on .snd-ico .wave1, [data-sound-toggle].is-on .snd-ico .wave2 { display: inline; }
[data-sound-toggle].is-on .snd-ico .mute { display: none; }
.snd-btn { margin-left: auto; }
.nav + .snd-btn { margin-left: 0; }
.snd-btn.is-on { border-color: var(--brass); color: var(--brass-2); box-shadow: 0 0 0 1px rgba(201, 164, 92, .3) inset; }
.snd-btn.is-on .snd-ico .wave2 { animation: blink 1.2s infinite; }
.snd-hint {
  display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 13px; text-align: left;
}
.snd-hint:hover { border-color: var(--brass); color: var(--text); }
.snd-hint .snd-label { color: var(--brass-2); }
.snd-hint.is-on { border-style: solid; border-color: var(--brass-3); }
@media (max-width: 900px) { .snd-btn .snd-label { display: none; } .nav + .snd-btn { margin-left: auto; padding: 8px 10px; } .topbar .btn-wa { margin-left: 0; } }

/* Tangki dosis: header per batch */
.dose-batch { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 4px 2px; margin-top: 6px; border-top: 1px dashed var(--line-2); }
.dose-batch:first-child { border-top: 0; margin-top: 0; }
.dose-batch b { display: block; font-size: 13px; color: var(--text); }
.dose-batch small { display: block; font-size: 12px; color: var(--muted); }
.dose-batch.current b { color: var(--brass-2); }
.dose-batch-act { display: flex; align-items: center; gap: 6px; flex: none; }
.dose.in-batch { margin-left: 10px; }
.dose-empty { font-size: 13px; color: var(--muted); font-style: italic; padding: 6px 10px 6px 20px; }
@media (max-width: 600px) { .dose.in-batch { margin-left: 0; } }

/* ---------- Perbaikan tampilan HP (30 Sep 2026) ---------- */
/* ikon di tombol tidak boleh tergencet teks */
.btn svg, .snd-ico { flex: none; max-width: none; }
/* anak grid/flex boleh menyusut (mencegah konten panjang mendorong lebar keluar layar) */
.hero > *, .factory-grid > *, .stations > *, .custom-card > *, .bottle-grid > *, .organ > *, .type-grid > * { min-width: 0; }
.bottle-card select { max-width: 100%; }
.bottle-card .pill { white-space: normal; text-align: center; line-height: 1.4; }
.bottle-card .bsvg svg, .bottle-card .bsvg img { max-width: 100%; }
@media (max-width: 900px) {
  .custom { padding: 40px 16px; }
  .custom-card { gap: 8px; }
  .custom-art { height: 150px; margin-top: 8px; }
}
@media (max-width: 600px) {
  .btn-lg { white-space: normal; text-align: center; line-height: 1.3; padding: 14px 20px; }
  .hero-cta .btn, .custom-card .btn { width: 100%; }
  .custom-card { padding: 26px 20px 20px; border-radius: 20px; }
  .custom-card h2 { font-size: 30px; }
  .custom-card p { font-size: 16px; }
  .ticks { gap: 12px; margin: 18px 0 24px; }
  .ticks li { font-size: 15px; line-height: 1.45; padding-left: 26px; }
  .custom-art { height: 110px; gap: 12px; }
  .custom-art .vial { width: 26px; border-radius: 5px 5px 13px 13px; }
  .custom-art .v1 { height: 64px; } .custom-art .v2 { height: 86px; } .custom-art .v3 { height: 104px; }
  .custom-art .v4 { height: 82px; } .custom-art .v5 { height: 60px; }
  .cap-pick { flex-wrap: wrap; justify-content: center; }
  .station { padding: 18px 14px; }
  .conveyor { padding: 12px 10px 26px; }
  .bottle-grid { gap: 10px; }
  .bottle-card { padding: 10px 8px 12px; }
  .how, .faq { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 380px) {
  .topbar { gap: 10px; }
  .topbar .btn-wa span { display: none; }
  .topbar .btn-wa { padding: 8px 10px; }
  .logo span { font-size: 17px; }
  .bottle-grid { grid-template-columns: 1fr 1fr; }
  .sw { width: 18px; height: 18px; }
}

@media (max-width: 440px) {
  .topbar { gap: 10px; padding: 10px 14px; }
  .logo { gap: 8px; }
  .logo svg { width: 26px; height: 26px; }
  .logo span { font-size: 17px; }
  .topbar .btn-wa { padding: 8px 12px; gap: 6px; }
}
@media (max-width: 600px) {
  .legal-card { grid-template-columns: 56px minmax(0, 1fr) 22px; gap: 10px; padding: 14px 12px; }
  .legal-card > * { min-width: 0; }
  .stamp { width: 56px; height: 56px; font-size: 11px; border-width: 2px; }
  .check { width: 22px; height: 22px; }
  .fee { overflow-wrap: anywhere; }
  .promo { flex-wrap: wrap; gap: 10px; }
  .quota-bar { width: 140px; }
  .panel-toggle { box-sizing: border-box; }
}
