/* ============================================================
   DAYANUSA APP BUILDER — NEURAL EDITION
   style.css

   DAFTAR ISI
   ----------
   1.  Token warna, font, radius, shadow
   2.  Reset dan dasar
   3.  Tata letak wizard
   4.  Komponen form
   5.  Tombol
   6.  Kartu dan panel
   7.  AI Review dan blok analisis
   8.  Hasil dan super prompt
   9.  Neural Brain: panel otak, strategi, decomposer, auditor
   10. Spec Bridge: impor diskusi, fitur terkunci, verifikasi
   11. Mockup Studio: rencana layar, pratinjau, editor
   12. Responsif dan penyesuaian layar kecil
   ============================================================ */

/* ============================================================
   AI JADI BABU — APP BUILDER V1
   style.css — Sistem desain premium, mobile first
   ============================================================ */

:root {
  --bg:        #f7f1e8;
  --bg-soft:   #efe6d8;
  --ink:       #16120d;
  --ink-soft:  #5f564b;
  --muted:     #9d927f;
  --line:      #d7cab7;
  --primary:   #d4ad6a;
  --primary-d: #bb8e42;
  --violet:    #8d6a35;
  --success:   #16a34a;
  --success-bg:#ecfdf5;
  --wa:        #25d366;
  --wa-d:      #1da851;
  --warn-bg:   #fff7ed;
  --warn:      #c2410c;
  --radius:    20px;
  --radius-sm: 14px;
  --shadow:    0 12px 32px rgba(22, 18, 13, .10);
  --shadow-sm: 0 6px 20px rgba(22, 18, 13, .07);
  --shadow-lg: 0 30px 80px rgba(22, 18, 13, .18);
  --dark:      #0f0c09;
  --dark-soft: #18130f;
  --gold-soft: rgba(212, 173, 106, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-text, .version-name { font-family: 'Poppins', system-ui, sans-serif; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px;
  border: none; border-radius: 16px; padding: 14px 22px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; line-height: 1.2;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, #e2c78f, var(--primary));
  color: #16110a;
  box-shadow: 0 10px 24px rgba(187,142,66,.28);
}
.btn-primary:hover { background: linear-gradient(135deg, #e7ce9a, var(--primary-d)); box-shadow: 0 12px 28px rgba(187,142,66,.34); }
.btn-ghost { background: rgba(255,255,255,.76); color: var(--ink); border: 1.5px solid rgba(215,202,183,.85); }
.btn-ghost:hover { border-color: rgba(187,142,66,.35); background: #fff7ea; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.btn-wa:hover { background: var(--wa-d); }
.btn-lg { padding: 17px 34px; font-size: 17px; border-radius: 18px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,12,9,.84); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,173,106,.16);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff8ef; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #f1d7a7, var(--primary-d));
  color: #16110a; font-family: 'Poppins'; font-weight: 800; font-size: 15px;
  display: grid; place-items: center; box-shadow: 0 4px 16px rgba(187,142,66,.34);
}
.brand-text { font-weight: 700; font-size: 16px; }
.brand-sub { font-weight: 600; color: #e6c786; }
.site-header .btn-ghost { background: rgba(255,255,255,.05); color: #f8efe0; border-color: rgba(212,173,106,.24); }
.site-header .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(212,173,106,.42); }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 42px;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(212,173,106,.18), transparent 72%),
    radial-gradient(720px 320px at 90% 12%, rgba(212,173,106,.14), transparent 70%),
    linear-gradient(180deg, #0d0b09 0%, #15110d 55%, #17120e 100%);
  color: #fff8ef;
}
.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.hero-metrics {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.metric {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,173,106,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.metric strong {
  display: block;
  color: #fff7eb;
  font-family: 'Poppins';
  font-size: 14.5px;
}
.metric span {
  display: block;
  margin-top: 4px;
  color: rgba(255,248,239,.70);
  font-size: 13px;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: #f0d29a;
  background: rgba(212,173,106,.10); padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(212,173,106,.16);
  margin-bottom: 18px; letter-spacing: .2px;
}
.hero-title { font-size: 36px; font-weight: 800; line-height: 1.08; letter-spacing: -.8px; max-width: 700px; }
.grad {
  background: linear-gradient(120deg, #f5deb0, var(--primary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: rgba(255,248,239,.74); font-size: 16px; margin: 18px 0 0; max-width: 620px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.benefit {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500;
  color: rgba(255,248,239,.80); background: rgba(255,255,255,.04); border: 1px solid rgba(212,173,106,.16);
  padding: 8px 14px; border-radius: 999px; box-shadow: none;
}
.benefit-ic { color: #e6c786; font-size: 12px; }
.hero-note { color: rgba(255,248,239,.56); font-size: 13px; margin-top: 16px; max-width: 620px; }
.hero-preview-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(212,173,106,.18);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.hero-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.preview-pill,
.preview-grade {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.preview-pill { background: rgba(212,173,106,.12); color: #f3d59f; border: 1px solid rgba(212,173,106,.16); }
.preview-grade { background: rgba(255,255,255,.05); color: rgba(255,248,239,.72); border: 1px solid rgba(255,255,255,.08); }
.hero-preview-card h3 {
  font-family: 'Poppins';
  font-size: 24px;
  line-height: 1.18;
  color: #fff8ef;
}
.hero-preview-card p {
  color: rgba(255,248,239,.68);
  font-size: 14.5px;
  margin-top: 10px;
}
.preview-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.preview-stack span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,173,106,.14);
  color: #f6ebd4;
  font-size: 12.5px;
  font-weight: 600;
}
.preview-flow {
  display: grid;
  gap: 10px;
}
.preview-step {
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.preview-step strong {
  display: block;
  color: #fff8ef;
  font-size: 14px;
}
.preview-step span {
  display: block;
  margin-top: 4px;
  color: rgba(255,248,239,.65);
  font-size: 13px;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  padding: 0 0 26px;
  background: linear-gradient(180deg, #17120e 0%, var(--bg) 100%);
}
.trust-strip-inner {
  display: grid;
  gap: 12px;
}
.trust-item {
  background: #fff9f0;
  border: 1px solid rgba(212,173,106,.18);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.trust-item strong {
  display: block;
  font-family: 'Poppins';
  font-size: 16px;
}
.trust-item span {
  display: block;
  color: var(--ink-soft);
  margin-top: 5px;
  font-size: 14px;
}

/* ---------- Preview Section ---------- */
.preview-section {
  padding: 28px 0 58px;
  background: var(--bg);
}
.preview-grid {
  display: grid;
  gap: 14px;
}
.preview-card {
  background: #fffaf2;
  border: 1px solid rgba(212,173,106,.16);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.preview-card.premium {
  background: linear-gradient(180deg, rgba(255,249,238,1), rgba(244,233,211,1));
}
.preview-card.dark {
  background: linear-gradient(180deg, #15110d, #1b1611);
  border-color: rgba(212,173,106,.18);
}
.preview-card-tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(212,173,106,.12);
  color: var(--primary-d);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 12px;
}
.preview-card.dark .preview-card-tag {
  background: rgba(212,173,106,.10);
  color: #f2d59b;
}
.preview-card h3 {
  font-family: 'Poppins';
  font-size: 22px;
  line-height: 1.15;
}
.preview-card.dark h3,
.preview-card.dark p,
.preview-card.dark li { color: #fff6e8; }
.preview-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin-top: 10px;
}
.preview-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.preview-card li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}
.preview-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-d);
  font-weight: 800;
}
.preview-card.dark li::before { color: #f3d59d; }

/* ---------- Section headings ---------- */
.section-title { font-size: 26px; font-weight: 700; text-align: center; letter-spacing: -.3px; }
.section-sub { color: var(--ink-soft); text-align: center; margin-top: 8px; margin-bottom: 28px; }

/* ---------- Wizard ---------- */
.wizard-section { padding: 18px 0 56px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }

.progress { margin-bottom: 18px; }
.progress-track { height: 6px; background: #e3e9f2; border-radius: 999px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 20%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  transition: width .4s cubic-bezier(.4,0,.2,1);
}
.progress-steps { display: flex; justify-content: space-between; margin-top: 10px; }
.pstep { font-size: 11.5px; font-weight: 600; color: var(--muted); transition: color .3s; }
.pstep.active { color: var(--primary); }
.pstep.done { color: var(--ink-soft); }

.card {
  background: #fffaf2; border: 1px solid rgba(212,173,106,.15);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px;
}
.wizard-panel { display: none; animation: fadeUp .35s ease; }
.wizard-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.step-tag { font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .6px; }
.step-title { font-size: 22px; font-weight: 700; margin: 8px 0 6px; letter-spacing: -.3px; }
.step-help { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }

.field {
  width: 100%; font-family: 'Inter', sans-serif; font-size: 16px; color: var(--ink);
  background: #fffdf8; border: 1.5px solid rgba(212,173,106,.18); border-radius: var(--radius-sm);
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--primary-d); box-shadow: 0 0 0 4px rgba(212,173,106,.14); }
.textarea { min-height: 110px; line-height: 1.55; }
.field-error { color: #dc2626; font-size: 13.5px; margin-top: 8px; display: none; }
.field-error.show { display: block; }

.input-mode-switch {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.input-mode-btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px solid rgba(212,173,106,.18);
  background: #fffdf8;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.input-mode-btn:hover {
  border-color: rgba(187,142,66,.34);
  box-shadow: var(--shadow-sm);
}
.input-mode-btn.active {
  background: linear-gradient(180deg, rgba(212,173,106,.14), #fff8eb);
  border-color: var(--primary-d);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(212,173,106,.10);
}
.inspire-btn { margin-top: 10px; }
.name-btn { margin-top: 10px; }

.ai-helper-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8, #fff7ea);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.ai-helper-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ai-helper-head strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.ai-helper-head p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.ai-helper-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(212,173,106,.12);
  color: var(--primary-d);
  font-size: 11.5px;
  font-weight: 700;
}
.textarea-sm { min-height: 88px; }
.ai-helper-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.ai-helper-actions.compact {
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
}
.ai-helper-status {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.ai-helper-status.is-error { color: #b91c1c; }
.ai-helper-status.is-success { color: #166534; }
.ai-helper-thread {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}
.ai-helper-empty {
  padding: 14px;
  border-radius: 16px;
  background: #fffdf9;
  border: 1px dashed rgba(212,173,106,.32);
  color: var(--ink-soft);
  font-size: 13.5px;
}
.ai-chat-bubble {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(212,173,106,.14);
  background: #fffdf9;
}
.ai-chat-bubble.is-user {
  background: linear-gradient(180deg, #fffaf1, #fff5e7);
}
.ai-chat-bubble.is-assistant {
  background: linear-gradient(180deg, rgba(212,173,106,.12), #fffdf8);
}
.ai-chat-role {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(22,18,13,.06);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ai-chat-bubble p {
  color: var(--ink-soft);
  font-size: 14px;
  white-space: pre-wrap;
}
.ai-recommendation-card {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(212,173,106,.32);
}
.ai-recommendation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ai-recommendation-head strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.ai-recommendation-head p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.ai-recommendation-grid {
  display: grid;
  gap: 10px;
}
.ai-recommendation-block {
  padding: 14px;
  border-radius: 16px;
  background: #fffdf9;
  border: 1px solid rgba(212,173,106,.16);
}
.ai-recommendation-block strong {
  display: block;
  font-family: 'Poppins';
  font-size: 14px;
  color: var(--ink);
}
.ai-recommendation-block p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13.5px;
  white-space: pre-wrap;
}
.ai-recommendation-list {
  list-style: none;
  display: grid;
  gap: 7px;
  margin-top: 8px;
}
.ai-recommendation-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.ai-recommendation-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--primary-d);
  font-weight: 800;
}
.ai-recommendation-actions {
  margin-top: 12px;
}
.system-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(212,173,106,.12);
  color: var(--primary-d);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.system-status-chip.is-soft {
  background: rgba(15,23,42,.06);
  color: var(--ink-soft);
}
.system-status-chip.is-success {
  background: rgba(22,163,74,.12);
  color: #15803d;
}
.system-status-chip.is-warning {
  background: rgba(217,119,6,.12);
  color: #b45309;
}
.system-status-chip.is-error {
  background: rgba(220,38,38,.10);
  color: #b91c1c;
}

.brief-form-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8, #fff8ee);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.brief-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.brief-form-head strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.brief-form-head p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.brief-form-grid {
  display: grid;
  gap: 12px;
}
.brief-field {
  display: grid;
  gap: 0;
}
.span-2 {
  grid-column: span 1;
}

.wizard-actions { margin-top: 22px; }
.wizard-actions.split { display: flex; gap: 12px; }
.wizard-actions.split .btn { flex: 1; }
.wizard-actions.split .btn-ghost { flex: 0 0 auto; min-width: 110px; }

.integration-picker {
  display: grid;
  gap: 12px;
}
.integration-picker-card {
  background: linear-gradient(180deg, #fffdf8, #fff8ee);
  border: 1px solid rgba(212,173,106,.16);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.picker-label {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.picker-help {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* ---------- Option grid (tujuan) ---------- */
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.goal-suggestion-card,
.input-summary-card {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8, #fff7eb);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.goal-suggestion-head,
.input-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.goal-suggestion-head strong,
.input-summary-head strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.goal-suggestion-head p,
.input-summary-head span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.goal-suggestion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.goal-suggestion-chip,
.goal-insight-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(212,173,106,.12);
  color: var(--primary-d);
  font-size: 12px;
  font-weight: 700;
}
.goal-suggestion-chip.is-soft {
  background: rgba(15,23,42,.06);
  color: var(--ink-soft);
}
.goal-suggestion-chip.is-low {
  background: rgba(220,38,38,.10);
  color: #b91c1c;
}
.goal-suggestion-chip.is-medium {
  background: rgba(217,119,6,.12);
  color: #b45309;
}
.goal-suggestion-chip.is-high {
  background: rgba(22,163,74,.12);
  color: #15803d;
}
.goal-suggestion-note {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.goal-insight-card {
  margin: 14px 0 0;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8, #fff8ed);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.goal-insight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.goal-insight-head strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.goal-insight-head p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.goal-insight-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(212,173,106,.08);
  border: 1px solid rgba(212,173,106,.14);
  color: var(--ink-soft);
  font-size: 13.5px;
}
.goal-insight-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.goal-insight-item {
  padding: 13px;
  border-radius: 15px;
  background: #fffdf9;
  border: 1px solid rgba(212,173,106,.14);
}
.goal-insight-item strong {
  display: block;
  font-size: 13px;
  font-family: 'Poppins';
  color: var(--ink);
}
.goal-insight-item span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13.5px;
  white-space: pre-wrap;
}
.input-summary-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.input-summary-item {
  padding: 13px;
  border-radius: 15px;
  background: #fffdf9;
  border: 1px solid rgba(212,173,106,.14);
}
.input-summary-item strong {
  display: block;
  font-size: 13px;
  font-family: 'Poppins';
  color: var(--ink);
}
.input-summary-item span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13.5px;
  white-space: pre-wrap;
}
.input-readiness-card,
.final-confirm-card {
  margin: 14px 0;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8, #fff7eb);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.input-readiness-head,
.final-confirm-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.input-readiness-head strong,
.final-confirm-head strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.input-readiness-head p,
.final-confirm-head p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.readiness-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(148,163,184,.15);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 800;
}
.readiness-badge.is-low {
  background: rgba(220,38,38,.10);
  color: #b91c1c;
}
.readiness-badge.is-medium {
  background: rgba(217,119,6,.12);
  color: #b45309;
}
.readiness-badge.is-high {
  background: rgba(22,163,74,.12);
  color: #15803d;
}
.readiness-meter {
  width: 100%;
  height: 10px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(15,23,42,.07);
  overflow: hidden;
}
.readiness-meter-fill {
  display: block;
  height: 100%;
  width: 18%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #d4ad6a);
  transition: width .2s ease;
}
.readiness-meter-fill.is-low {
  background: linear-gradient(90deg, #ef4444, #f59e0b);
}
.readiness-meter-fill.is-medium {
  background: linear-gradient(90deg, #f59e0b, #d4ad6a);
}
.readiness-meter-fill.is-high {
  background: linear-gradient(90deg, #16a34a, #84cc16);
}
.readiness-dashboard-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.readiness-stat-card {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffefb, #fffaf2);
  border: 1px solid rgba(212,173,106,.16);
  box-shadow: var(--shadow-sm);
}
.readiness-stat-label {
  display: block;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
}
.readiness-stat-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: 'Poppins';
  font-size: 15px;
}
.input-readiness-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.readiness-box {
  padding: 14px;
  border-radius: 15px;
  background: #fffdf9;
  border: 1px solid rgba(212,173,106,.14);
}
.readiness-box strong {
  display: block;
  font-family: 'Poppins';
  font-size: 14px;
  color: var(--ink);
}
.readiness-box ul {
  margin: 8px 0 0 18px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.readiness-box li + li {
  margin-top: 6px;
}
.confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.confirm-check input {
  margin-top: 3px;
}
.option {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fffcf7; border: 1.5px solid rgba(212,173,106,.18); border-radius: var(--radius-sm);
  padding: 18px 12px; cursor: pointer; transition: all .18s ease; font-family: 'Inter';
  position: relative; overflow: hidden;
}
.option:hover { border-color: rgba(187,142,66,.34); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.option.selected { border-color: var(--primary-d); background: rgba(212,173,106,.09); box-shadow: 0 0 0 3px rgba(212,173,106,.10); }
.option.is-recommended {
  border-color: rgba(187,142,66,.55);
  background: linear-gradient(180deg, rgba(212,173,106,.12), #fffaf0);
  box-shadow: 0 0 0 2px rgba(212,173,106,.12);
}
.option.is-recommended::before {
  content: "Pilihan AI Helper";
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(212,173,106,.14);
  color: var(--primary-d);
  font-size: 10.5px;
  font-weight: 800;
}
.option-ic { font-size: 26px; }
.option-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.option-note {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
  text-align: center;
}
.goal-grid-help {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
  text-align: center;
}

/* ---------- AI Thinking ---------- */
.ai-thinking { display: flex; align-items: center; gap: 16px; padding: 24px 4px; }
.ai-avatar {
  width: 52px; height: 52px; border-radius: 16px; flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(212,173,106,.18), rgba(141,106,53,.16));
  display: grid; place-items: center; font-size: 26px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.ai-thinking-text p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }
.dot-typing { display: inline-flex; gap: 5px; }
.dot-typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-d); display: block; animation: blink 1.2s infinite both; }
.dot-typing i:nth-child(2) { animation-delay: .2s; }
.dot-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- AI Review ---------- */
.ai-review { animation: fadeUp .4s ease; }
.ai-review-head { margin-bottom: 16px; }
.ai-cat-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--primary-d); background: rgba(212,173,106,.10); padding: 7px 14px; border-radius: 999px;
}
.review-block {
  border: 1px solid rgba(212,173,106,.14); border-radius: var(--radius-sm);
  padding: 16px 16px; margin-bottom: 12px; background: #fffdf9;
  opacity: 0; transform: translateY(8px); animation: revealIn .45s ease forwards;
}
@keyframes revealIn { to { opacity: 1; transform: none; } }
.review-block h4 { font-family: 'Poppins'; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.review-block .rb-ic {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  background: rgba(212,173,106,.10); display: grid; place-items: center; font-size: 16px;
}
.review-block p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.review-block p strong { color: var(--ink); }
.review-list { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.review-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); }
.review-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ---------- Opportunity Score ---------- */
.review-block.is-score { background: linear-gradient(135deg, rgba(212,173,106,.10), rgba(255,250,242,1)); border-color: rgba(212,173,106,.2); }
.score-row { display: flex; align-items: center; gap: 16px; margin: 6px 0 10px; }
.score-num { font-family: 'Poppins'; font-weight: 800; font-size: 34px; line-height: 1; color: var(--primary-d); }
.score-num small { font-size: 17px; color: var(--muted); font-weight: 600; }
.score-bar { flex: 1; height: 10px; background: #e3e9f2; border-radius: 999px; overflow: hidden; }
.score-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ebd4a6, var(--primary-d)); }
.score-reasons { list-style: none; display: grid; gap: 6px; }
.score-reasons li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-soft); }
.score-reasons li::before { content: "→"; position: absolute; left: 0; color: var(--primary-d); font-weight: 700; }

/* ---------- Difficulty Meter ---------- */
.meter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.meter-label { font-family: 'Poppins'; font-weight: 600; font-size: 13.5px; width: 66px; flex: 0 0 auto; }
.meter-bars { display: flex; gap: 5px; }
.meter-bars i { width: 26px; height: 11px; border-radius: 4px; background: #e3e9f2; display: block; }
.meter-bars i.on-1 { background: #22c55e; }
.meter-bars i.on-2 { background: #84cc16; }
.meter-bars i.on-3 { background: #eab308; }
.meter-bars i.on-4 { background: #f97316; }
.meter-bars i.on-5 { background: #ef4444; }
.meter-cap { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ---------- Why QUICK ---------- */
.review-block.is-whyquick { background: var(--success-bg); border-color: #bbf7d0; }
.whyquick-list { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.whyquick-list li { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 500; color: #065f46; }
.whyquick-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 18px; height: 18px; background: var(--success); color: #fff; border-radius: 50%; font-size: 11px; display: grid; place-items: center; font-weight: 700; }

/* ---------- Hybrid badge ---------- */
.dna-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600;
  color: var(--primary-d); background: rgba(212,173,106,.10); padding: 6px 13px; border-radius: 999px; margin-left: 8px;
}

/* ---------- Guide box (panduan versi) ---------- */
.guide-box { margin-top: 18px; }
.guide-card { border: 1.5px solid rgba(212,173,106,.25); border-radius: var(--radius-sm); padding: 16px 16px; background: rgba(212,173,106,.06); animation: fadeUp .3s ease; }
.guide-card.is-result-guide {
  background: linear-gradient(180deg, rgba(212,173,106,.10), #fffaf1);
  box-shadow: var(--shadow-sm);
}
.guide-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.guide-head strong { font-family: 'Poppins'; font-size: 16px; }
.guide-cocok { font-size: 13px; font-weight: 600; color: var(--primary-d); background: rgba(212,173,106,.1); padding: 5px 11px; border-radius: 999px; }
.guide-facts { display: grid; gap: 8px; margin-bottom: 12px; }
.guide-fact { display: flex; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.guide-fact b { color: var(--ink); font-weight: 600; }
.guide-steps { list-style: none; counter-reset: g; display: grid; gap: 7px; }
.guide-steps li { position: relative; padding-left: 30px; font-size: 14px; color: var(--ink-soft); counter-increment: g; }
.guide-steps li::before { content: counter(g); position: absolute; left: 0; top: 0; width: 21px; height: 21px; background: linear-gradient(135deg, #ebd3a1, var(--primary-d)); color: #16110a; border-radius: 50%; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.guide-meter { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.guide-meter span { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }

/* ---------- PRO mode card ---------- */
.pro-mode-card {
  border: 1.5px solid rgba(212,173,106,.22);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(212,173,106,.08), #fffdf8);
  box-shadow: var(--shadow-sm);
}
.pro-mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pro-mode-head strong {
  font-family: 'Poppins';
  font-size: 17px;
  line-height: 1.3;
}
.pro-mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(212,173,106,.12);
  color: var(--primary-d);
  font-size: 12.5px;
  font-weight: 700;
}
.pro-mode-list {
  list-style: none;
  display: grid;
  gap: 9px;
}
.pro-mode-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 14px;
}
.pro-mode-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-d);
  font-weight: 800;
}

/* ---------- Version cards ---------- */
.version-grid { display: grid; gap: 12px; }
.version-card {
  position: relative; text-align: left; background: #fff; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 4px; transition: all .18s ease; font-family: 'Inter';
}
.version-card:hover { border-color: #c4d2ea; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.version-card.selected { border-color: var(--primary); background: rgba(37,99,235,.04); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.version-badge {
  position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700;
  color: #fff; background: var(--primary); padding: 4px 10px; border-radius: 999px;
}
.version-badge.is-paid { background: var(--warn); }
.version-name { font-size: 19px; font-weight: 700; }
.version-tag { font-size: 13.5px; font-weight: 600; color: var(--primary); }
.version-desc { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Upgrade box ---------- */
.upgrade-box { margin-top: 16px; }
.upgrade-card {
  border: 1.5px solid rgba(194, 65, 12, .22);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(255,247,237,.95), #fff);
  box-shadow: var(--shadow-sm);
}
.upgrade-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.upgrade-head strong {
  font-family: 'Poppins';
  font-size: 17px;
  line-height: 1.3;
}
.upgrade-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(194, 65, 12, .12);
  color: var(--warn);
  font-size: 12.5px;
  font-weight: 700;
}
.upgrade-desc {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 12px;
}
.upgrade-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 14px;
}
.upgrade-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}
.upgrade-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--warn);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.upgrade-actions { display: grid; gap: 10px; }
.upgrade-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Result ---------- */
.result-section { padding: 36px 0 56px; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); scroll-margin-top: 70px; }
.success-banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--success-bg); border: 1px solid #bbf7d0; border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 18px;
}
.success-ic { font-size: 28px; }
.success-copy { display: grid; gap: 5px; }
.success-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22,163,74,.10);
  color: #166534;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(34,197,94,.20);
}
.success-banner strong { display: block; color: #065f46; font-size: 15.5px; font-family: 'Poppins'; }
.success-banner span { color: #047857; font-size: 14px; }
.result-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.meta-chip {
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  background: #fffdf8; border: 1px solid rgba(212,173,106,.16); padding: 6px 12px; border-radius: 999px;
}
.meta-chip b { color: var(--ink); font-weight: 600; }

.result-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), #fff8ea);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.result-deliverables {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.result-deliverable-card {
  background: linear-gradient(180deg, #fffdf8, #fff8ed);
  border: 1px solid rgba(212,173,106,.18);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.result-deliverable-card strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.result-deliverable-card span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.architecture-summary {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #fff8ec);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.architecture-summary-head {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}
.architecture-summary-head strong {
  font-family: 'Poppins';
  font-size: 16px;
  color: var(--ink);
}
.architecture-summary-head span {
  color: var(--ink-soft);
  font-size: 13.5px;
}
.architecture-summary-grid {
  display: grid;
  gap: 12px;
}
.architecture-card {
  background: linear-gradient(180deg, #fffefb, #fffaf2);
  border: 1px solid rgba(212,173,106,.16);
  border-radius: 18px;
  padding: 15px;
  box-shadow: var(--shadow-sm);
}
.architecture-card strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.architecture-card span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.architecture-line {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}
.architecture-line b {
  color: var(--ink);
  font-weight: 700;
}
.integration-summary {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #fff8ec);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.integration-summary-head {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}
.integration-summary-head strong {
  font-family: 'Poppins';
  font-size: 16px;
  color: var(--ink);
}
.integration-summary-head span {
  color: var(--ink-soft);
  font-size: 13.5px;
}
.integration-summary-grid {
  display: grid;
  gap: 12px;
}
.integration-card {
  background: linear-gradient(180deg, #fffefb, #fffaf2);
  border: 1px solid rgba(212,173,106,.16);
  border-radius: 18px;
  padding: 15px;
  box-shadow: var(--shadow-sm);
}
.integration-card strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.integration-card span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.integration-line {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}
.integration-line b {
  color: var(--ink);
  font-weight: 700;
}
.result-next-steps {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #fff8ec);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.result-next-head {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}
.result-next-head strong {
  font-family: 'Poppins';
  font-size: 16px;
  color: var(--ink);
}
.result-next-head span {
  color: var(--ink-soft);
  font-size: 13.5px;
}
.result-next-list {
  list-style: none;
  counter-reset: result-next;
  display: grid;
  gap: 10px;
}
.result-next-list li {
  position: relative;
  min-height: 26px;
  padding-left: 36px;
  color: var(--ink-soft);
  font-size: 14px;
  counter-increment: result-next;
}
.result-next-list li::before {
  content: counter(result-next);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ebd3a1, var(--primary-d));
  color: #16110a;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.result-next-list b { color: var(--ink); }

.output-preview-section {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf8, #fff7ea);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.output-preview-head {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}
.output-preview-head strong {
  font-family: 'Poppins';
  font-size: 16px;
  color: var(--ink);
}
.output-preview-head span {
  color: var(--ink-soft);
  font-size: 13.5px;
}
.output-preview-grid {
  display: grid;
  gap: 12px;
}
.output-file-card {
  background: linear-gradient(180deg, #fffefb, #fffaf2);
  border: 1px solid rgba(212,173,106,.16);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.output-file-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.output-file-top strong {
  font-family: 'Poppins';
  font-size: 14.5px;
  color: var(--ink);
}
.output-file-type {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(212,173,106,.10);
  color: var(--primary-d);
  font-size: 11.5px;
  font-weight: 700;
}
.output-file-body {
  margin: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  color: #334155;
  background: #fffaf1;
  border: 1px solid rgba(212,173,106,.14);
  border-radius: 14px;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 118px;
}

.prompt-card { background: #fffdf8; border: 1px solid rgba(212,173,106,.14); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; margin-bottom: 14px; }
.prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prompt-head > div { display: flex; align-items: center; gap: 11px; }
.prompt-num {
  width: 28px; height: 28px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(135deg, #ebd3a1, var(--primary-d)); color: #16110a;
  font-family: 'Poppins'; font-weight: 700; font-size: 14px; display: grid; place-items: center;
}
.prompt-head h3 { font-size: 16.5px; font-weight: 600; }
.btn-copy { background: var(--bg-soft); color: var(--primary-d); border: 1px solid rgba(212,173,106,.16); padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.btn-copy:hover { background: rgba(212,173,106,.10); border-color: rgba(187,142,66,.3); }
.btn-copy.done { background: var(--success-bg); color: var(--success); border-color: #bbf7d0; }
.prompt-desc { color: var(--ink-soft); font-size: 13.5px; margin: 10px 0 12px; }
.prompt-body {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.6; color: #334155;
  background: #fffaf1; border: 1px solid rgba(212,173,106,.14); border-radius: var(--radius-sm);
  padding: 14px; max-height: 240px; overflow: auto; white-space: pre-wrap; word-break: break-word;
}
.result-cta { margin-top: 22px; display: grid; gap: 10px; }

/* ---------- How to ---------- */
.howto-section { padding: 52px 0; background: var(--bg); }
.howto-list { list-style: none; display: grid; gap: 12px; margin-top: 6px; }
.howto-list li { display: flex; gap: 14px; align-items: flex-start; background: #fffaf2; border: 1px solid rgba(212,173,106,.15); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow-sm); }
.howto-n {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(212,173,106,.12); color: var(--primary-d); font-weight: 700; font-family: 'Poppins';
  display: grid; place-items: center; font-size: 15px;
}
.howto-list strong { font-weight: 600; }
.howto-list div { font-size: 14.5px; color: var(--ink-soft); }
.howto-list strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-section { padding: 16px 0 60px; background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.faq-list { display: grid; gap: 10px; margin-top: 6px; }
.faq-item { background: #fffaf2; border: 1px solid rgba(212,173,106,.15); border-radius: var(--radius-sm); padding: 4px 18px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; color: var(--primary-d); font-size: 22px; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); font-size: 14.5px; padding: 0 0 16px; }

/* ---------- Footer ---------- */
.site-footer { padding: 34px 0; text-align: center; border-top: 1px solid rgba(212,173,106,.14); background: #120f0c; }
.footer-brand { font-family: 'Poppins'; font-weight: 700; font-size: 16px; color: #fff7ec; }
.footer-tag { color: rgba(255,248,239,.56); font-size: 13px; margin-top: 4px; letter-spacing: .3px; }

body.modal-open { overflow: hidden; }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: end center; padding: 14px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .42); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative; width: 100%; max-width: 760px;
  background: #fffaf2; border: 1px solid rgba(212,173,106,.18);
  border-radius: 26px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 18px 18px 12px; border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 240px at 50% -40px, rgba(212,173,106,.14), transparent 70%), #fffaf2;
}
.modal-title { font-family: 'Poppins'; font-weight: 700; font-size: 16.5px; letter-spacing: -.2px; }
.modal-sub { color: var(--ink-soft); font-size: 13.5px; margin-top: 4px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer; display: grid; place-items: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: #fff3df; border-color: rgba(187,142,66,.32); box-shadow: var(--shadow-sm); }
.icon-btn:active { transform: translateY(1px); }

.modal-body { padding: 14px 14px 16px; max-height: min(74vh, 720px); overflow: auto; }

.ideas-controls { display: grid; gap: 10px; margin-bottom: 12px; }
.ideas-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ideas-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ideas-actions .btn { width: 100%; }

.ideas-list { display: grid; gap: 10px; }
.idea-item {
  border: 1px solid rgba(212,173,106,.15); border-radius: 18px; padding: 14px 14px;
  background: #fffdf8; box-shadow: var(--shadow-sm);
  display: grid; gap: 10px;
}
.idea-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.idea-title { font-weight: 700; letter-spacing: -.1px; }
.idea-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.idea-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--primary-d);
  background: rgba(212,173,106,.08); border: 1px solid rgba(212,173,106,.16);
  padding: 5px 10px; border-radius: 999px;
}
.idea-badge.soft { color: var(--ink-soft); background: var(--bg-soft); border-color: var(--line); }
.idea-actions { display: flex; gap: 10px; }
.idea-actions .btn { padding: 10px 14px; font-size: 14px; border-radius: 14px; }

.ideas-empty {
  border: 1px dashed #cdd6e3; border-radius: 18px; padding: 16px;
  background: rgba(246, 248, 252, .7); color: var(--ink-soft);
}
.ideas-empty strong { color: var(--ink); font-family: 'Poppins'; font-weight: 700; }
.ideas-empty div { margin-top: 6px; }

.name-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.name-idea-preview {
  flex: 1;
  font-size: 13.5px; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 12px; max-width: calc(100% - 120px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.name-topbar .btn { padding: 10px 14px; font-size: 14px; border-radius: 14px; }

.name-groups { display: grid; gap: 12px; }
.name-group { border: 1px solid rgba(212,173,106,.15); border-radius: 22px; background: #fffdf8; box-shadow: var(--shadow-sm); overflow: hidden; }
.name-group-head {
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(212,173,106,.08), transparent);
}
.name-group-title { font-family: 'Poppins'; font-weight: 700; font-size: 15px; }
.name-group-sub { font-size: 12.5px; color: var(--muted); }
.name-grid { display: grid; gap: 10px; padding: 14px; }
.name-item { border: 1px solid rgba(212,173,106,.15); border-radius: 18px; padding: 12px; background: #fffefb; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.name-text { display: grid; gap: 6px; min-width: 0; }
.name-value { font-weight: 800; letter-spacing: -.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.name-note { font-size: 12.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.name-use-btn { padding: 10px 12px; font-size: 14px; border-radius: 14px; white-space: nowrap; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: #120f0c; color: #fff5e6; font-size: 14px; font-weight: 500;
  padding: 13px 20px; border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 100; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid rgba(212,173,106,.45); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Desktop ---------- */
@media (min-width: 640px) {
  .hero { padding: 88px 0 60px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 26px; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); }
  .trust-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 56px; }
  .hero-sub { font-size: 18px; }
  .card { padding: 34px 32px; }
  .step-title { font-size: 26px; }
  .option-grid { grid-template-columns: repeat(5, 1fr); }
  .goal-insight-grid { grid-template-columns: repeat(3, 1fr); }
  .input-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .readiness-dashboard-grid { grid-template-columns: repeat(4, 1fr); }
  .input-readiness-grid { grid-template-columns: repeat(2, 1fr); }
  .system-readiness-grid { grid-template-columns: repeat(4, 1fr); }
  .option { padding: 20px 8px; }
  .input-mode-switch { grid-template-columns: 1fr 1fr; }
  .integration-picker { grid-template-columns: repeat(3, 1fr); }
  .ai-helper-actions { grid-template-columns: repeat(3, 1fr); }
  .ai-recommendation-grid { grid-template-columns: repeat(2, 1fr); }
  .brief-form-grid { grid-template-columns: repeat(2, 1fr); }
  .span-2 { grid-column: span 2; }
  .section-title { font-size: 32px; }
  .result-deliverables { grid-template-columns: 1fr 1fr; }
.system-readiness-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8, #fff8ed);
  border: 1px solid rgba(212,173,106,.18);
  box-shadow: var(--shadow-sm);
}
.system-readiness-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.system-readiness-head strong {
  display: block;
  font-family: 'Poppins';
  font-size: 15px;
  color: var(--ink);
}
.system-readiness-head p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.system-readiness-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.system-readiness-item {
  padding: 13px;
  border-radius: 15px;
  background: #fffdf9;
  border: 1px solid rgba(212,173,106,.14);
}
.system-readiness-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 12.5px;
}
.system-readiness-item strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-family: 'Poppins';
  font-size: 14px;
}
  .section-title { font-size: 32px; }
  .result-deliverables { grid-template-columns: 1fr 1fr; }
  .architecture-summary-grid { grid-template-columns: repeat(3, 1fr); }
  .integration-summary-grid { grid-template-columns: repeat(3, 1fr); }
  .output-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .result-cta { grid-template-columns: repeat(3, 1fr); }
  .modal { place-items: center; padding: 22px; }
  .modal-head { padding: 22px 22px 14px; }
  .modal-body { padding: 16px 22px 22px; max-height: min(78vh, 760px); }
  .name-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   NEURAL EDITION — Panel otak, decomposer, dan auditor
   ============================================================ */

.neural-panel {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf9 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-sm);
}

.neural-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.neural-head-copy strong { font-family: 'Poppins', sans-serif; font-size: 17px; display: block; }
.neural-head-copy p { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }

.neural-chip {
  flex-shrink: 0; font-size: 12px; font-weight: 600; padding: 6px 12px;
  border-radius: 999px; white-space: nowrap;
}
.neural-chip.is-idle,
.neural-chip.is-offline { background: #ece5da; color: var(--ink-soft); }
.neural-chip.is-checking { background: var(--gold-soft); color: var(--primary-d); }
.neural-chip.is-ready { background: var(--success-bg); color: var(--success); }
.neural-chip.is-warn { background: var(--warn-bg); color: var(--warn); }
.neural-chip.is-error { background: #fee2e2; color: #b91c1c; }

.neural-modes { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
@media (min-width: 560px) { .neural-modes { grid-template-columns: repeat(3, 1fr); } }

.neural-mode-btn {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--ink); text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.neural-mode-btn small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.neural-mode-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.neural-mode-btn.active {
  border-color: var(--primary); background: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(212, 173, 106, .18);
}

.neural-field { margin-top: 16px; }
.neural-field > label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink-soft); margin-bottom: 6px;
}
.neural-model-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .neural-model-row { grid-template-columns: 1fr 1fr; } }
.neural-model-row label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }

.neural-hint { font-size: 12.5px; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.neural-warn {
  font-size: 12.5px; color: var(--warn); background: var(--warn-bg);
  padding: 11px 13px; border-radius: 12px; margin-top: 10px; line-height: 1.55;
}

.neural-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.neural-status { font-size: 13px; color: var(--ink-soft); margin-top: 12px; line-height: 1.55; }

.neural-thinking {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--gold-soft); color: var(--primary-d);
  font-size: 14px; font-weight: 500; margin-bottom: 16px;
}
.neural-spinner {
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(187, 142, 66, .28); border-top-color: var(--primary-d);
  animation: neuralSpin .75s linear infinite;
}
@keyframes neuralSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .neural-spinner { animation-duration: 2.4s; } }

.neural-stamp { font-size: 12.5px; color: var(--muted); margin-top: 14px; font-style: italic; }

/* ---------- Wild Idea Decomposer ---------- */

.neural-decompose { border-left: 3px solid var(--primary); }
.decompose-verdict {
  padding: 13px 15px; border-radius: 12px;
  background: var(--gold-soft); margin: 14px 0;
}
.decompose-verdict strong { font-family: 'Poppins', sans-serif; font-size: 15px; }
.decompose-verdict p { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.decompose-essence { font-size: 14px; margin: 12px 0; }

.decompose-phases { display: grid; gap: 10px; margin: 14px 0; }
.decompose-phase {
  padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff;
}
.decompose-phase-num {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  color: var(--primary-d); background: var(--gold-soft);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 7px;
}
.decompose-phase strong { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; }
.decompose-phase p { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 7px; }
.decompose-meta { display: block; font-size: 12.5px; color: var(--muted); }

.decompose-blockers {
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--warn-bg); margin: 14px 0;
}
.decompose-blockers strong { font-size: 14px; color: var(--warn); }
.decompose-blockers ul { margin: 9px 0 0 18px; }
.decompose-blockers li { font-size: 13.5px; margin-bottom: 9px; line-height: 1.55; }
.decompose-blockers em { color: var(--ink-soft); }

.decompose-launch {
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--success-bg); margin: 14px 0;
}
.decompose-launch strong { font-size: 14px; color: var(--success); }
.decompose-launch p { font-size: 13.5px; margin-top: 5px; line-height: 1.55; }
.decompose-encourage { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin-top: 12px; }

/* ---------- Prompt Auditor ---------- */

.neural-audit-box { margin-top: 16px; }
.audit-head { display: flex; align-items: center; gap: 13px; margin: 14px 0 10px; }
.audit-score {
  font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 800;
  color: var(--primary-d); line-height: 1;
}
.audit-score small { font-size: 14px; color: var(--muted); font-weight: 600; }
.audit-head strong { font-size: 14px; }
.audit-list { margin: 8px 0 0 18px; }
.audit-list li { font-size: 13.5px; margin-bottom: 7px; line-height: 1.55; }
.audit-sub { font-size: 13.5px; margin-top: 12px; }
.audit-ok {
  font-size: 13.5px; color: var(--success); background: var(--success-bg);
  padding: 11px 13px; border-radius: 12px; margin: 12px 0;
}

/* ============================================================
   SPEC BRIDGE — jembatan dari diskusi panjang ke wizard
   ============================================================ */

.spec-bridge {
  margin-top: 16px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fffdf9; box-shadow: var(--shadow-sm);
}
.spec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.spec-head-copy strong { font-family: 'Poppins', sans-serif; font-size: 16px; display: block; }
.spec-head-copy p { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; line-height: 1.55; }

.spec-toggle {
  flex-shrink: 0; padding: 7px 15px; border: 1.5px solid var(--primary);
  border-radius: 999px; background: transparent; color: var(--primary-d);
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .18s ease;
}
.spec-toggle:hover { background: var(--gold-soft); }

.spec-body { margin-top: 18px; }
.spec-step { display: flex; gap: 14px; margin-bottom: 22px; }
.spec-step > div { flex: 1; min-width: 0; }
.spec-step strong { display: block; font-size: 14.5px; font-family: 'Poppins', sans-serif; }
.spec-step p { font-size: 13px; color: var(--ink-soft); margin: 4px 0 10px; line-height: 1.55; }

.spec-step-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-soft); color: var(--primary-d);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.spec-bridge-prompt {
  margin-top: 10px; padding: 14px; max-height: 190px; overflow-y: auto;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11.5px; line-height: 1.6; color: var(--ink-soft);
  white-space: pre-wrap; word-break: break-word;
}

.spec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.spec-count { font-size: 12.5px; color: var(--muted); }

.spec-status { font-size: 13px; color: var(--ink-soft); margin-top: 10px; line-height: 1.55; }
.spec-status.is-ok { color: var(--success); }
.spec-status.is-warn { color: var(--warn); }

.spec-card {
  margin-top: 8px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
}
.spec-section { margin-bottom: 20px; }
.spec-section > strong { display: block; font-family: 'Poppins', sans-serif; font-size: 14.5px; margin-bottom: 6px; }
.spec-section > p { font-size: 13.5px; line-height: 1.6; }
.spec-note { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.spec-section ul { margin: 8px 0 0 18px; }
.spec-section li { font-size: 13.5px; margin-bottom: 6px; line-height: 1.55; }

.spec-conf {
  display: flex; align-items: center; gap: 15px;
  padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; background: #fff;
}
.spec-conf.is-ok { background: var(--success-bg); }
.spec-conf.is-warn { background: var(--warn-bg); }
.spec-conf.is-low { background: #fee2e2; }
.spec-conf-num {
  font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 800;
  line-height: 1; flex-shrink: 0; color: var(--ink);
}
.spec-conf-num small { font-size: 15px; font-weight: 600; color: var(--muted); }
.spec-conf strong { display: block; font-size: 14px; }
.spec-conf p { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; line-height: 1.5; }

.spec-features { list-style: none; margin: 0 !important; padding: 0; }
.spec-feature { margin-bottom: 8px !important; }
.spec-feature label {
  display: flex; gap: 11px; align-items: flex-start; cursor: pointer;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s ease;
}
.spec-feature label:hover { border-color: var(--primary); }
.spec-feature input[type="checkbox"] { margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--primary-d); cursor: pointer; }
.spec-feature-body { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
.spec-feature-name { font-size: 14px; font-weight: 600; }
.spec-feature-detail { flex-basis: 100%; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

.spec-pri {
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.spec-pri-wajib, .spec-pri-kritis { background: #fee2e2; color: #b91c1c; }
.spec-pri-penting, .spec-pri-sedang { background: var(--warn-bg); color: var(--warn); }
.spec-pri-opsional, .spec-pri-ringan { background: #ece5da; color: var(--ink-soft); }
.spec-pri-tersirat { background: var(--gold-soft); color: var(--primary-d); }

.spec-questions { padding: 15px; border-radius: 14px; background: var(--warn-bg); }
.spec-question { margin-top: 12px; }
.spec-question p { font-size: 13.5px; margin-bottom: 5px; line-height: 1.5; }
.spec-question .field { margin-top: 5px; }

.spec-contra { padding: 15px; border-radius: 14px; background: #fee2e2; }
.spec-contra > strong { color: #b91c1c; }
.spec-rejected li { color: var(--muted); text-decoration: line-through; }

.spec-verify-box { margin-top: 14px; }
.spec-missing { list-style: none; margin: 0 !important; padding: 0; }
.spec-missing li { display: flex; align-items: center; gap: 9px; margin-bottom: 7px !important; }

/* ============================================================
   MOCKUP STUDIO — gambaran visual sebelum kode dibangun
   ============================================================ */

.mockup-studio {
  margin-top: 24px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf9 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-sm);
}
.mockup-head strong { display: block; font-family: 'Poppins', sans-serif; font-size: 17px; }
.mockup-head p { font-size: 13.5px; color: var(--ink-soft); margin: 6px 0 16px; line-height: 1.6; }

.mockup-status { font-size: 13px; color: var(--ink-soft); margin-top: 12px; line-height: 1.55; }
.mockup-status.is-ok { color: var(--success); }
.mockup-status.is-warn { color: var(--warn); }

.mockup-tokens {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 18px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.mockup-swatch {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  border: 1px solid rgba(0,0,0,.08);
}
.mockup-token-note { font-size: 12.5px; color: var(--ink-soft); flex: 1; min-width: 180px; line-height: 1.5; }

.mockup-screens { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
@media (min-width: 560px) { .mockup-screens { grid-template-columns: 1fr 1fr; } }

.mockup-screen-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 15px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; text-align: left;
  font-family: 'Inter', sans-serif;
  transition: border-color .18s ease, transform .12s ease;
}
.mockup-screen-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.mockup-screen-card.is-done { border-color: var(--success); }
.mockup-screen-card.is-loading { opacity: .55; pointer-events: none; }
.mockup-screen-card strong { font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--ink); }
.mockup-purpose { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.mockup-cta { font-size: 12.5px; font-weight: 600; color: var(--primary-d); margin-top: 3px; }

.mockup-role {
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
  padding: 3px 9px; border-radius: 999px;
}
.mockup-role-publik { background: var(--gold-soft); color: var(--primary-d); }
.mockup-role-pengguna { background: #e0f2fe; color: #0369a1; }
.mockup-role-admin { background: #ede9fe; color: #6d28d9; }

.mockup-viewer { margin-top: 20px; }
.mockup-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 12px;
}
.mockup-toolbar strong { font-family: 'Poppins', sans-serif; font-size: 15px; }

.mockup-device { display: flex; gap: 4px; padding: 3px; background: var(--bg-soft); border-radius: 999px; }
.mockup-device-btn {
  padding: 6px 15px; border: none; border-radius: 999px; background: transparent;
  font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; transition: background .18s ease;
}
.mockup-device-btn.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.mockup-frame {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); margin: 0 auto;
}
.mockup-frame iframe { width: 100%; border: none; display: block; background: #fff; }
.mockup-frame.is-mobile { max-width: 400px; }
.mockup-frame.is-mobile iframe { height: 680px; }
.mockup-frame.is-desktop { max-width: 100%; }
.mockup-frame.is-desktop iframe { height: 560px; }

.mockup-viewer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mockup-notes { margin: 14px 0 0 18px; }
.mockup-notes li { font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; line-height: 1.55; }
.mockup-lock {
  font-size: 12.5px; color: var(--success); background: var(--success-bg);
  padding: 11px 14px; border-radius: 12px; margin-top: 14px; line-height: 1.55;
}

/* ---------- Mockup Editor ---------- */

.mockup-edit-block {
  margin-top: 16px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.mockup-edit-head { margin-bottom: 12px; }
.mockup-edit-head strong { display: block; font-family: 'Poppins', sans-serif; font-size: 14.5px; }
.mockup-edit-head span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

.mockup-colors { display: flex; flex-wrap: wrap; gap: 14px; }
.mockup-color { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.mockup-color input[type="color"] {
  width: 42px; height: 42px; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: none;
}
.mockup-color input[type="color"]::-webkit-color-swatch-wrapper { padding: 3px; }
.mockup-color input[type="color"]::-webkit-color-swatch { border: none; border-radius: 9px; }
.mockup-color span { font-size: 11.5px; color: var(--ink-soft); text-align: center; max-width: 74px; line-height: 1.35; }

.mockup-link-btn {
  margin-top: 12px; padding: 0; border: none; background: none;
  font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600;
  color: var(--primary-d); cursor: pointer; text-decoration: underline;
}

.mockup-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.mockup-chip {
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-soft); font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 500; color: var(--ink-soft); cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
}
.mockup-chip:hover { border-color: var(--primary); color: var(--primary-d); }

.mockup-versions { display: flex; flex-direction: column; gap: 7px; }
.mockup-version {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); cursor: pointer; text-align: left;
  font-family: 'Inter', sans-serif; font-size: 13px; color: var(--ink);
  transition: border-color .16s ease;
}
.mockup-version:hover { border-color: var(--primary); }
.mockup-version span:first-child {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mockup-version span:last-child { flex-shrink: 0; font-weight: 600; color: var(--primary-d); font-size: 12.5px; }

.mockup-changes, .mockup-notdone { margin-top: 13px; padding: 12px 14px; border-radius: 12px; }
.mockup-changes { background: var(--success-bg); }
.mockup-changes strong { font-size: 13.5px; color: var(--success); }
.mockup-notdone { background: var(--warn-bg); }
.mockup-notdone strong { font-size: 13.5px; color: var(--warn); }
.mockup-changes ul, .mockup-notdone ul { margin: 7px 0 0 17px; }
.mockup-changes li, .mockup-notdone li { font-size: 13px; margin-bottom: 5px; line-height: 1.55; }

/* ---------- Strategi otak ---------- */

.neural-strategy { margin-top: 16px; }
.neural-strategy > label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.neural-strategy-btns { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .neural-strategy-btns { grid-template-columns: repeat(3, 1fr); } }

.neural-strat-btn {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; font-family: 'Inter', sans-serif;
  font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: left;
  transition: border-color .18s ease, transform .12s ease;
}
.neural-strat-btn small { font-weight: 500; font-size: 11px; color: var(--muted); }
.neural-strat-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.neural-strat-btn.active { border-color: var(--primary); background: var(--gold-soft); }

.neural-threshold { margin-top: 12px; }
.neural-threshold label { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 7px; }
.neural-threshold b { color: var(--primary-d); }
.neural-threshold input[type="range"] { width: 100%; accent-color: var(--primary-d); cursor: pointer; }

.neural-chip.is-local { background: #ede9fe; color: #6d28d9; }
.neural-gaps { font-size: 12px; color: var(--muted); font-style: normal; }

/* ---------- Pintu masuk Spec Bridge ---------- */

.spec-entry-btn {
  position: relative;
  border-color: var(--primary) !important;
}
.spec-entry-btn::after {
  content: ""; position: absolute; top: 7px; right: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary-d);
}
.spec-entry-btn.active::after { display: none; }

.spec-badge {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 7px;
  background: var(--gold-soft); color: var(--primary-d);
}

/* ---------- Tingkat model ---------- */

.neural-tiers { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
@media (min-width: 560px) { .neural-tiers { grid-template-columns: repeat(3, 1fr); } }

.neural-tier {
  padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff;
}
.neural-tier span {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
  color: var(--primary-d); margin-bottom: 4px;
}
.neural-tier b {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink);
  word-break: break-all; line-height: 1.4;
}
.neural-tier small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* ---------- Target hosting ---------- */
#neuralDeploy { margin-top: 16px; }
#neuralDeployNote { min-height: 34px; }

/* ---------- Mode audiens ---------- */
.neural-check {
  display: flex; align-items: center; gap: 9px; margin-top: 13px;
  font-size: 13px; color: var(--ink); cursor: pointer;
}
.neural-check input { width: 17px; height: 17px; accent-color: var(--primary-d); cursor: pointer; }
