:root {
  --navy-950: #0c1424;
  --navy-900: #101a30;
  --navy-800: #16213a;
  --navy-700: #1e2c4a;
  --navy-100: #dbe2ee;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --gold-dim: rgba(201, 162, 39, 0.35);
  --paper: #f7f5f0;
  --card: #ffffff;
  --ink: #23293a;
  --muted: #6b7280;
  --line: #e5e2d9;
  --ok: #2e7d4f;
  --warn: #a15c00;
  --bad: #b3372e;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(16, 26, 48, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

.serif { font-family: var(--serif); }

/* ---------- layout shell ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; background: var(--navy-900); color: #fff;
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.brand-mark {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.3px; }
.brand-tag { font-size: 8.5px; letter-spacing: 2.4px; color: #8fa0be; margin-top: -2px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex; border: 1px solid rgba(255,255,255,0.22); border-radius: 8px; overflow: hidden;
}
.lang-switch button {
  background: transparent; color: #9fb0cc; border: 0; padding: 5px 10px; font-size: 11.5px;
  letter-spacing: 0.5px;
}
.lang-switch button.active { background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; }
.lang-switch button + button { border-left: 1px solid rgba(255,255,255,0.14); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border-radius: 10px; padding: 10px 20px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; transition: all 0.16s ease; text-decoration: none;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-950); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-outline-dark { background: transparent; border-color: #cfc9ba; color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--navy-800); }
.btn-danger { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn-sm { padding: 6px 13px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- landing ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% 20%, rgba(201,162,39,0.16), transparent 60%),
    radial-gradient(700px 420px at 15% 85%, rgba(50,72,120,0.5), transparent 65%),
    linear-gradient(150deg, var(--navy-900) 20%, var(--navy-800) 60%, #24355c 100%);
  color: #fff; padding: 84px 28px 72px; position: relative; overflow: hidden;
}
.hero-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 54px); line-height: 1.12; font-weight: 700; }
.hero h1 .gold { color: var(--gold-light); font-style: italic; }
.hero p.sub { margin: 22px 0 30px; color: #c2cde0; max-width: 480px; font-size: 16px; }
.hero-badges { display: flex; gap: 22px; margin-top: 44px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #aab8d2; }
.hero-badge .bicon {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.25); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; color: var(--gold-light);
}
.hero-visual { position: relative; text-align: center; }
.hero-sig {
  font-family: var(--serif); font-style: italic; font-size: 60px; color: #e8ecf5;
  transform: rotate(-6deg); text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-sig-name { font-family: var(--serif); font-style: italic; font-size: 22px; color: #9fb0cc; margin-top: 6px; transform: rotate(-6deg); }
.hero-circle {
  position: absolute; right: -8px; bottom: -46px; width: 168px; height: 168px; border-radius: 50%;
  border: 1.5px solid var(--gold); background: rgba(12,20,36,0.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--gold-light); font-family: var(--serif); font-size: 14px; padding: 22px; line-height: 1.45;
}

.section { max-width: 1120px; margin: 0 auto; padding: 72px 28px; }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark-inner { max-width: 1120px; margin: 0 auto; padding: 72px 28px; }
.section h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); text-align: center; color: var(--navy-800); text-wrap: balance; }
.section-dark-inner h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); text-align: center; color: #fff; text-wrap: balance; }
.section-sub { text-align: center; color: #5a6272; margin: 10px 0 42px; text-wrap: pretty; }
.section-dark-inner .section-sub { color: #9fb0cc; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 860px; margin: 0 auto; }
.cards1 { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 460px; margin: 0 auto; }
.mcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; position: relative; box-shadow: var(--shadow);
}
.mcard.recommended { border: 1.5px solid var(--gold); }
.mcard .ribbon {
  position: absolute; top: -13px; left: 22px; background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-950); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 7px;
}
.micon {
  width: 74px; height: 74px; margin: 6px auto 16px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-light); display: flex; align-items: center;
  justify-content: center;
}
.micon svg { width: 32px; height: 32px; }
.mcard h3 { font-family: var(--serif); font-size: 21px; color: var(--navy-800); margin-bottom: 10px; }
.mcard p.desc { font-size: 13px; color: var(--muted); min-height: 58px; }
.mcard ul { list-style: none; text-align: left; margin: 16px 0 20px; }
.mcard ul li { font-size: 12.5px; padding: 4px 0 4px 24px; position: relative; color: var(--ink); }
.mcard ul li::before {
  content: ''; position: absolute; left: 2px; top: 9px; width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--gold); background: transparent;
}
.qwrap { max-width: 620px; margin: 0 auto; }
.qprogress { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.qtitle { font-family: var(--serif); font-size: clamp(21px, 3vw, 27px); color: var(--navy-800); margin: 0 0 6px; }
.qhint { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.qgrid.qgrid-1 { grid-template-columns: 1fr; }
.qgrid.qgrid-3 { grid-template-columns: repeat(3, 1fr); }
.qcard {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; text-align: left; transition: border-color .15s, background .15s;
  background: var(--card); color: var(--ink);
}
.qcard:hover { border-color: var(--gold); }
.qcard.selected { border-color: var(--gold); background: #fdf6e8; }
.qback { font-size: 12.5px; color: var(--muted); cursor: pointer; margin-bottom: 14px; display: inline-block; }
.qback:hover { color: var(--navy-800); }
@media (max-width: 640px) {
  .qgrid, .qgrid.qgrid-3 { grid-template-columns: 1fr; }
}
.mcard ul li::after {
  content: ''; position: absolute; left: 5.5px; top: 11.5px; width: 5px; height: 3.5px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg);
}
.note-bar {
  max-width: 860px; margin: 34px auto 0; background: #fdf6e4; border: 1px solid #ecd9a0;
  border-radius: 10px; padding: 13px 18px; font-size: 13px; color: #7a5c10;
  display: flex; gap: 10px; align-items: center;
}

.price { font-family: var(--serif); font-size: 30px; color: var(--navy-800); margin: 6px 0 2px; }
.price .unit { font-size: 14px; color: var(--muted); font-family: var(--sans); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 14px; max-width: 900px; margin-left: auto; margin-right: auto; }
.step { text-align: center; position: relative; padding: 0 8px; }
.step .sicon {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.03);
}
.step .snum {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy-950);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin: -18px auto 10px; position: relative; left: 26px;
}
.step h4 { font-family: var(--serif); font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 12px; color: #9fb0cc; }
.privacy-bar {
  margin-top: 44px; border: 1px solid rgba(255,255,255,0.15); border-radius: 12px;
  padding: 18px 22px; display: flex; gap: 15px; align-items: center; background: rgba(255,255,255,0.04);
}
.privacy-bar h5 { font-size: 14px; margin-bottom: 3px; }
.privacy-bar p { font-size: 12.5px; color: #9fb0cc; }

.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 30px; max-width: 860px; margin: 0 auto; }
.req-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.req-item .ricon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.req-item h5 { font-size: 14px; color: var(--navy-800); }
.req-item p { font-size: 12.5px; color: var(--muted); }

.footer { background: var(--navy-950); color: #7788a5; padding: 34px 28px; text-align: center; font-size: 12px; }
.footer .max { max-width: 760px; margin: 0 auto; }

/* ---------- app pages ---------- */
.page { max-width: 1120px; margin: 0 auto; padding: 34px 28px 80px; }
.page-narrow { max-width: 640px; }
.page h1 { font-family: var(--serif); font-size: 28px; color: var(--navy-800); margin-bottom: 6px; }
.page .lead { color: var(--muted); font-size: 14px; margin-bottom: 26px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.card h3 { font-family: var(--serif); font-size: 18px; color: var(--navy-800); margin-bottom: 12px; }
.card h4 { font-size: 14px; color: var(--navy-800); margin: 14px 0 6px; }

.form-row { margin-bottom: 15px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 10px 13px; border: 1px solid #d8d3c6; border-radius: 9px; background: #fff;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim);
}
.form-row textarea { min-height: 90px; resize: vertical; }

.alert { border-radius: 10px; padding: 12px 16px; font-size: 13px; margin-bottom: 15px; }
.alert-error { background: #fbeae8; border: 1px solid #eec7c2; color: var(--bad); }
.alert-ok { background: #e9f5ee; border: 1px solid #bfe0cc; color: var(--ok); }
.alert-warn { background: #fdf6e4; border: 1px solid #ecd9a0; color: #7a5c10; }
.alert-info { background: #eaf0fa; border: 1px solid #c7d5ee; color: #2c4a7c; }

.badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  letter-spacing: 0.3px;
}
.badge-gold { background: #f6ecce; color: #7a5c10; }
.badge-navy { background: #e3e9f4; color: var(--navy-800); }
.badge-ok { background: #e2f2e9; color: var(--ok); }
.badge-warn { background: #fbeedd; color: var(--warn); }
.badge-bad { background: #fbe7e5; color: var(--bad); }
.badge-muted { background: #eeeae0; color: var(--muted); }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.7px; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #faf8f2; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat {
  background: var(--navy-900); border-radius: 12px; padding: 18px 20px; color: #fff;
  border: 1px solid rgba(255,255,255,0.05);
}
.stat .val { font-family: var(--serif); font-size: 30px; color: var(--gold-light); }
.stat .lbl { font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: #8fa0be; margin-top: 2px; }

.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button {
  background: none; border: 0; padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted);
  border-bottom: 2.5px solid transparent; margin-bottom: -2px;
}
.tabs button.active { color: var(--navy-800); border-bottom-color: var(--gold); }

.score-bar { height: 8px; background: #ece8dc; border-radius: 6px; overflow: hidden; margin-top: 4px; }
.score-bar > div { height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); }

.ev-list { list-style: none; margin: 6px 0; }
.ev-list li { font-size: 12.5px; padding: 3px 0 3px 20px; position: relative; }
.ev-list.sup li::before { content: '+'; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.ev-list.con li::before { content: '−'; position: absolute; left: 4px; color: var(--bad); font-weight: 700; }

.kv { display: grid; grid-template-columns: 180px 1fr; gap: 4px 14px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; }

/* ---------- canvas ---------- */
.canvas-wrap { position: relative; border: 1.5px solid #cfc9ba; border-radius: 12px; overflow: hidden; background: #fff; touch-action: none; }
.canvas-wrap canvas { display: block; width: 100%; touch-action: none; }
/* frame zona aman: overlay CSS (tidak ikut terekam sebagai tinta di PNG) */
.safe-frame { position: absolute; inset: 7%; border: 1.5px dashed rgba(185,58,50,.45);
  border-radius: 8px; pointer-events: none; }
.safe-frame::after { content: attr(data-label); position: absolute; right: 8px; bottom: 4px;
  font-size: 10px; letter-spacing: .5px; color: rgba(185,58,50,.55); }
.canvas-guide {
  position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--gold-dim); pointer-events: none;
  display: flex; justify-content: center;
}
.canvas-guide span {
  font-size: 10.5px; color: #b09a4d; background: #fffdf5; padding: 1px 10px; transform: translateY(-55%);
  border-radius: 8px; border: 1px solid var(--gold-dim);
}
.canvas-zone-label { position: absolute; left: 12px; font-size: 10.5px; color: #b6b0a0; pointer-events: none; }

.rotate-overlay {
  position: fixed; inset: 0; background: var(--navy-950); color: #fff; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px;
}
.rotate-overlay .phone {
  width: 56px; height: 92px; border: 3px solid var(--gold); border-radius: 10px; margin-bottom: 26px;
  animation: rot 1.6s ease-in-out infinite alternate;
}
@keyframes rot { from { transform: rotate(0); } to { transform: rotate(90deg); } }
.rotate-overlay h2 { font-family: var(--serif); margin-bottom: 8px; }
.rotate-overlay p { color: #9fb0cc; font-size: 14px; }

.modal-back {
  position: fixed; inset: 0; background: rgba(12,20,36,0.65); z-index: 150;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: #fff; border-radius: 16px; max-width: 560px; width: 100%; padding: 30px;
  max-height: 88vh; overflow: auto;
}
.modal h3 { font-family: var(--serif); font-size: 20px; color: var(--navy-800); margin-bottom: 12px; }

.spinner {
  width: 34px; height: 34px; border: 3px solid var(--gold-dim); border-top-color: var(--gold);
  border-radius: 50%; animation: spin 0.9s linear infinite; margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.wizard-steps { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.wstep { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.wstep .dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #cfc9ba; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.wstep.active { color: var(--navy-800); font-weight: 600; }
.wstep.active .dot { border-color: var(--gold); background: var(--gold); color: var(--navy-950); }
.wstep.done .dot { border-color: var(--gold); color: var(--gold); }
.wstep + .wstep::before { content: ''; width: 22px; height: 1px; background: #cfc9ba; margin-right: 4px; }

.prompt-quote {
  border-left: 3px solid var(--gold); background: #fdfbf4; padding: 14px 18px; font-family: var(--serif);
  font-style: italic; font-size: 15px; color: var(--navy-800); border-radius: 0 10px 10px 0; margin: 12px 0;
}

.report-cover {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); color: #fff;
  border-radius: var(--radius); padding: 40px; margin-bottom: 20px;
}
.report-cover h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 4px; }
.report-cover .gold-line { width: 90px; height: 2px; background: var(--gold); margin: 14px 0; }
.report-cover .meta { display: flex; gap: 30px; flex-wrap: wrap; font-size: 12.5px; color: #9fb0cc; }
.report-cover .meta b { display: block; color: #fff; font-size: 13.5px; }

.dim-block { border-bottom: 1px solid var(--line); padding: 18px 0; }
.dim-block:last-child { border-bottom: 0; }
.dim-block h4 { font-family: var(--serif); font-size: 17px; color: var(--navy-800); margin-bottom: 8px; }
.dim-block .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; margin-top: 10px; }
.dim-block p { font-size: 13.5px; }
.dim-block .plain { font-size: 12px; color: var(--muted); margin-top: 8px; }

.copy-box {
  display: flex; gap: 8px; align-items: center; background: #f4f1e8; border: 1px dashed #cfc9ba;
  border-radius: 9px; padding: 9px 12px; font-size: 12px; font-family: monospace; word-break: break-all;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cards3 { grid-template-columns: 1fr; }
  .cards2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .req-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .kv { grid-template-columns: 130px 1fr; }
}

/* ---- color scoring ---- */
.clr-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.clr-row { display: grid; grid-template-columns: 120px 1fr 52px; gap: 12px; align-items: center; }
.clr-name { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px; color: #fff; }
.modal .clr-name, .card .clr-name { color: var(--ink); }
.clr-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.clr-track { height: 14px; background: rgba(255,255,255,0.15); border-radius: 7px; overflow: hidden; }
.modal .clr-track, .card .clr-track { background: #eee7d8; }
.clr-fill { height: 100%; border-radius: 7px; transition: width .6s ease; }
.clr-pct { font-weight: 800; font-size: 14px; text-align: right; color: #fff; }
.modal .clr-pct, .card .clr-pct { color: var(--ink); }
.profile-card h3 { margin-top: 4px; }

/* ---- tuning ---- */
.tune-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 18px; }
.tune-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.tune-row input { width: 88px; padding: 6px 8px; border: 1px solid #d8d3c6; border-radius: 7px; font-size: 13px; }
.tune-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; max-width: 420px; }
.tune-w { font-size: 10.5px; color: var(--gold); font-weight: 700; letter-spacing: .5px; }

/* ---- paywall teaser ---- */
.locked-blur { filter: blur(5px); user-select: none; pointer-events: none; opacity: .8; }
.lock-panel { border: 1.5px solid var(--gold); background: linear-gradient(135deg, #fffdf6, #faf4e3); }

/* ---- panduan foto & kamera ---- */
.guide-grid { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: #fbf9f2; }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-img { max-width: 100%; max-height: 240px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cam-wrap { position: relative; width: 100%; aspect-ratio: 3/4; max-height: 60vh;
  background: #111; border-radius: 12px; overflow: hidden; }
.cam-wrap video { width: 100%; height: 100%; object-fit: cover; }
.cam-guide { position: absolute; inset: 0; display: flex; flex-direction: column;
  gap: 10px; padding: 8%; pointer-events: none; }
.cam-box { flex: 1; border: 2.5px dashed rgba(255, 255, 255, 0.85); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.cam-page { flex: 1; border: 2.5px dashed rgba(255, 255, 255, 0.85); border-radius: 10px;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 14px;
  color: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  background-image: repeating-linear-gradient(to bottom, transparent 0 44px, rgba(255,255,255,0.25) 44px 46px); }

/* ================= liquid glass (spec) ================= */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ================= cinematic hero ================= */
.cine-hero { position: relative; min-height: 100vh; min-height: 100svh; background: #000;
  overflow: hidden; display: flex; flex-direction: column; }
.cine-hero video { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; }
.cine-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.3) 45%, rgba(0,0,0,.6)); }
.cine-nav { position: relative; z-index: 20; padding: 24px; }
.cine-nav-inner { border-radius: 999px; padding: 10px 22px; display: flex; align-items: center;
  justify-content: space-between; max-width: 1024px; margin: 0 auto; gap: 10px; }
.cine-links { display: none; gap: 28px; }
.cine-link { color: rgba(255,255,255,.8); font-size: 13.5px; font-weight: 500;
  text-decoration: none; transition: color .2s; }
.cine-link:hover { color: #fff; }
.cine-langs { display: flex; gap: 2px; }
.cine-langs button { background: transparent; border: none; color: rgba(255,255,255,.55);
  font-size: 11.5px; font-weight: 600; padding: 4px 7px; cursor: pointer; border-radius: 6px; }
.cine-langs button.on { color: #fff; background: rgba(255,255,255,.12); }
.cine-ghost { background: transparent; border: none; color: #fff; font-size: 13.5px;
  font-weight: 500; cursor: pointer; }
.cine-pill { border-radius: 999px; padding: 9px 24px; color: #fff; font-size: 13.5px;
  font-weight: 500; cursor: pointer; background: transparent; transition: background .2s; white-space: nowrap; }
.cine-pill:hover { background: rgba(255,255,255,.05); }
.cine-content { position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 48px 24px; text-align: center;
  transform: translateY(-8%); }
.cine-title { font-family: 'Instrument Serif', serif; font-weight: 400; color: #fff;
  font-size: clamp(42px, 8vw, 76px); letter-spacing: -0.02em; line-height: 1.08;
  margin-bottom: 32px; text-wrap: balance; }
.cine-title em { font-style: italic; }
.cine-input { border-radius: 999px; padding: 8px 8px 8px 24px; display: flex;
  align-items: center; gap: 12px; width: 100%; }
.cine-input input { flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: #fff; font-size: 16px; }
.cine-input input::placeholder { color: rgba(255,255,255,.4); }
.cine-arrow { background: #fff; border: none; border-radius: 999px; padding: 12px;
  color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .15s; flex: 0 0 auto; }
.cine-arrow:hover { transform: scale(1.05); }
.cine-sub { color: #fff; font-size: 13.5px; line-height: 1.65; padding: 0 16px; opacity: .92; }
.cine-btn { border-radius: 999px; padding: 12px 32px; color: #fff; font-size: 13.5px;
  font-weight: 500; cursor: pointer; background: transparent; transition: background .2s; }
.cine-btn:hover { background: rgba(255,255,255,.05); }
.cine-social { position: relative; z-index: 10; display: flex; justify-content: center;
  gap: 16px; padding-bottom: 48px; }
.cine-social a { border-radius: 999px; padding: 15px; color: rgba(255,255,255,.8);
  display: flex; transition: color .2s, background .2s; }
.cine-social a:hover { color: #fff; background: rgba(255,255,255,.05); }
@media (min-width: 768px) { .cine-links { display: flex; } }
@media (max-width: 767px) {
  .cine-nav { padding: 14px; }
  .cine-nav-inner { padding: 8px 14px; }
  .cine-ghost { display: none; }
  .cine-langs button { padding: 3px 5px; }
  .cine-pill { padding: 8px 16px; font-size: 12.5px; }
}

/* ================= report blueprint blocks ================= */
.rgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.rblock { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fbf9f2; }
.rblock .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 6px; }
.rblock p { font-size: 13px; line-height: 1.65; margin: 0; }
.reflect-quote { margin-top: 14px; border-left: 3px solid var(--gold); padding: 10px 14px;
  font-style: italic; font-size: 13.5px; color: var(--navy-800); background: #fdfbf4; border-radius: 0 8px 8px 0; }

/* ================= mobile-first pass ================= */
@media (max-width: 640px) {
  .page { padding: 18px 14px 40px; }
  .topbar { padding: 10px 14px; gap: 8px; }
  .brand-tag { display: none; }
  .topbar-right { gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
  .btn { padding: 11px 16px; font-size: 13px; }
  .btn-sm { padding: 8px 12px; font-size: 12px; }
  h1 { font-size: 24px; }
  .wizard-steps { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; scrollbar-width: none; }
  .wizard-steps::-webkit-scrollbar { display: none; }
  .wstep { white-space: nowrap; flex: 0 0 auto; font-size: 11.5px; }
  .card { padding: 16px 14px; }
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat .val { font-size: 22px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { white-space: nowrap; flex: 0 0 auto; }
  .modal { width: 94vw; max-width: 94vw; padding: 18px 14px; max-height: 88vh; overflow: auto; }
  .clr-row { grid-template-columns: 86px 1fr 42px; gap: 8px; }
  .clr-name { font-size: 12px; }
  .report-cover { padding: 26px 18px; }
  .report-cover h2 { font-size: 21px; }
  .tune-grid { grid-template-columns: 1fr; }
  .lock-panel .btn { width: 100%; }
  .dim-block { padding: 14px 12px; }
  .price { font-size: 26px; }
  .mcard { padding: 20px 16px; }
}

/* ================= paper report (SignaCharacter) ================= */
.paper-report { background: #fdfbf5; border: 1px solid #e4dcc8; border-radius: 14px;
  box-shadow: 0 14px 40px rgba(16, 24, 52, 0.14); overflow: hidden; margin-bottom: 22px; }
.pr-head { background: linear-gradient(180deg, var(--navy-950), var(--navy-800));
  text-align: center; padding: 22px 20px 18px; border-bottom: 3px solid var(--gold); }
.pr-quill { color: var(--gold-light); font-size: 22px; line-height: 1; }
.pr-title { font-family: var(--serif); color: var(--gold-light); font-size: 19px;
  letter-spacing: 3px; margin-top: 6px; }
.pr-subtitle { color: rgba(255,255,255,0.65); font-size: 10px; letter-spacing: 4px; margin-top: 4px; }
.pr-body { padding: 22px 26px 26px; }
.pr-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  flex-wrap: wrap; font-size: 13.5px; border-bottom: 1px solid #eee5d0; padding-bottom: 12px; }
.pr-meta span { color: var(--muted); font-size: 12px; }
.pr-sec { font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--navy-800); margin: 20px 0 12px; display: flex; align-items: center; gap: 7px; }
.pr-diamond { color: var(--gold); font-size: 10px; }
.pr-comp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pr-col { text-align: center; border: 1px solid #eee5d0; border-radius: 10px; padding: 12px 8px; background: #fff; }
.pr-cname { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.pr-cbar { height: 8px; background: #f0ead9; border-radius: 4px; overflow: hidden; margin: 8px 6px; }
.pr-cbar i { display: block; height: 100%; border-radius: 4px; }
.pr-cpct { font-size: 17px; font-weight: 800; color: var(--ink); }
.pr-profile { font-family: var(--serif); font-size: 21px; color: var(--navy-800); margin: 2px 0 8px; }
@media (max-width: 640px) { .pr-comp { grid-template-columns: repeat(2, 1fr); } .pr-body { padding: 16px 14px 20px; } }

/* ================= consent & data diri ================= */
.consent-list { display: flex; flex-direction: column; gap: 8px; }
.consent-item { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.6; cursor: pointer;
  background: #fbf9f2; }
.consent-item input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: 0 0 auto; }
.form-row select { width: 100%; padding: 10px; border: 1px solid #d8d3c6; border-radius: 8px;
  font-size: 13.5px; background: #fff; }
@media (max-width: 640px) { .pf-grid { grid-template-columns: 1fr !important; } }

/* ================= landing sections ================= */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; max-width: 840px; margin: 34px auto 0; }
.feat-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 4px;
  border-bottom: 1px solid var(--line); }
.feat-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--gold);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.feat-item span { font-size: 14.5px; line-height: 1.5; padding-top: 8px; }

.more-single { max-width: 640px; margin: 0 auto; text-align: center; }
.more-single .gold-rule { width: 46px; height: 2px; background: var(--gold); margin: 22px auto; }
.more-single blockquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 25px);
  color: var(--navy-800); line-height: 1.55; margin: 0;
}

@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---- anomali & simulasi ---- */
.anomaly-box { border: 1px solid #e2b6b0; background: #fdf6f5; border-radius: 10px;
  padding: 10px 14px; font-size: 12.5px; margin: 12px 0 4px; color: #7a3b33; }
.anomaly-box ul { margin: 6px 0 0; padding-left: 18px; }
.anomaly-box li { margin: 3px 0; }
.badge-bad { background: #b93a32; color: #fff; }
.badge-warn { background: #d4a017; color: #fff; }

/* ---- infografik 8-trait (hasil utama, share-first) ---- */
.ig-wrap { background: #f7f8fc; border: 1.5px solid rgba(22,33,58,0.25); border-radius: 14px;
  padding: 26px 20px 22px; text-align: center; }
.ig-brand { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 5vw, 40px); }
.ig-signa { color: #b8860b; }
.ig-char { color: #16213a; }
.ig-tagline { font-family: var(--serif); font-style: italic; font-size: 14px; color: #2a3145;
  margin: 4px auto 14px; border-top: 2px solid #c9a227; display: block; width: fit-content; padding-top: 8px; }
.ig-banner { background: #16213a; color: #fff; font-weight: 800; letter-spacing: 1.5px;
  font-size: clamp(13px, 2.6vw, 17px); padding: 10px 26px; display: block; width: fit-content; margin: 0 auto 18px;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  border: 2px solid #c9a227; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ig-card { background: #fff; border: 1.5px solid rgba(22,33,58,0.3); border-radius: 14px;
  padding: 14px 10px 12px; display: flex; flex-direction: column; align-items: center; }
.ig-icon { width: 46px; height: 46px; border-radius: 50%; background: #16213a;
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ig-label { color: #b8860b; font-weight: 800; letter-spacing: 0.5px; font-size: 15px;
  border-bottom: 2px solid #c9a227; padding-bottom: 4px; margin-bottom: 6px; }
.ig-desc { font-size: 12px; line-height: 1.55; color: #2a3145; }
.ig-center { background: #fff; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; padding: 10px; position: relative; min-height: 120px;
  background-image:
    linear-gradient(to right, #c9a227 24px, transparent 24px), linear-gradient(to bottom, #c9a227 24px, transparent 24px),
    linear-gradient(to left, #c9a227 24px, transparent 24px), linear-gradient(to bottom, #c9a227 24px, transparent 24px),
    linear-gradient(to right, #c9a227 24px, transparent 24px), linear-gradient(to top, #c9a227 24px, transparent 24px),
    linear-gradient(to left, #c9a227 24px, transparent 24px), linear-gradient(to top, #c9a227 24px, transparent 24px);
  background-position: 6px 6px, 6px 6px, calc(100% - 6px) 6px, calc(100% - 6px) 6px,
    6px calc(100% - 6px), 6px calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) calc(100% - 6px);
  background-size: 24px 3px, 3px 24px, 24px 3px, 3px 24px, 24px 3px, 3px 24px, 24px 3px, 3px 24px;
  background-repeat: no-repeat; }
.ig-center img { max-width: 100%; max-height: 170px; object-fit: contain; }
.ig-conclusion { margin-top: 16px; border: 1.5px solid #c9a227; border-radius: 12px; overflow: hidden; }
.ig-conc-head { background: #16213a; color: #fff; font-weight: 800; letter-spacing: 2px;
  font-size: 15px; padding: 9px; }
.ig-conclusion p { font-size: 13.5px; line-height: 1.8; color: #2a3145; padding: 12px 18px 14px; margin: 0; }
@media (max-width: 640px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-center { grid-column: 1 / -1; order: -1; min-height: 140px; }
}

/* Penanda BETA: layanan masih disempurnakan, dipasang di merek agar terlihat di
   setiap halaman — bukan hanya landing — supaya harapan pengguna terkalibrasi. */
.beta-badge {
  display: inline-block; margin-left: 7px; padding: 1px 6px;
  font-family: var(--sans); font-size: 9px; font-weight: 800; letter-spacing: 1px;
  line-height: 1.5; vertical-align: middle; border-radius: 4px;
  background: var(--gold); color: #1a1a2e;
}
.beta-note {
  margin: 10px auto 0; max-width: 560px; text-align: center;
  font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .72);
}
@media (max-width: 640px) { .beta-note { font-size: 11.5px; } }
