/* Beranda */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; background: radial-gradient(900px 480px at 92% 0%, var(--orange-50), transparent 60%), radial-gradient(800px 500px at 0% 20%, var(--teal-50), transparent 62%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-top: 18px; }
.hero-copy .lead { margin-top: 20px; max-width: 560px; }
.hero-copy .btns { margin-top: 30px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust [data-lucide] { width: 18px; height: 18px; color: var(--teal); }
.hero-stage { position: relative; padding: 10px 0 90px 80px; }

/* kasir gelap */
.pos { font-size: 12px; }
.pos-body { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 330px; }
.pos-left { padding: 14px; border-right: 1px solid #223135; }
.pos-search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #1a2629; color: #8ba3a8; }
.pos-search [data-lucide] { width: 15px; height: 15px; }
.pos-cats { display: flex; gap: 6px; margin: 12px 0; flex-wrap: wrap; }
.pos-cats > * { padding: 4px 10px; border-radius: 999px; background: #1a2629; color: #a9bfc3; font-weight: 600; }
.pos-cats b { background: var(--orange); color: #1a1006; }
.pos-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pos-tiles .mock-tile { font-size: 11.5px; min-height: 64px; }
.pos-cart { padding: 14px; display: flex; flex-direction: column; }
.pos-cart .mock-row { border-color: #2a3a3e; color: #d5e2e4; }
.pos-cart .mock-row.cust { color: #f8b46a; }
.pos-cart .mock-row [data-lucide] { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.pos-cart-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pos-cart-h b { color: #fff; font-size: 13px; }
.pos-total { display: flex; justify-content: space-between; margin-top: auto; padding-top: 10px; font-size: 13px; }
.pos-total b { font-size: 18px; color: #fff; }
.pos-pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.pos-pay span { text-align: center; padding: 6px 0; border-radius: 8px; background: #1a2629; color: #a9bfc3; font-weight: 600; font-size: 11px; }
.pos-pay span.on { background: var(--teal); color: #fff; }
.pos-btn { margin-top: 10px; text-align: center; padding: 11px; border-radius: 10px; background: var(--orange-600); color: #fff; font-weight: 800; }
.pos-btn.light { margin-top: 14px; }

/* HP WhatsApp */
.hero-phone { position: absolute; left: 0; bottom: 0; width: 220px; background: #ece5dd; }
.wa-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #075e54; color: #fff; font-size: 12px; }
.wa-head small { display: block; opacity: .8; font-size: 10px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #1a1006; font-weight: 800; font-size: 12px; flex: none; }
.wa-chat { padding: 12px 10px 18px; display: grid; gap: 8px; }
.wa-chat .wa-bubble { font-size: 11.5px; line-height: 1.45; }
.wa-chat small { display: block; text-align: right; font-size: 9.5px; color: #6b7c80; margin-top: 3px; }
.wa-link { color: #0b7bbd; font-weight: 600; word-break: break-all; }
.fn-1 { right: -12px; bottom: 40px; }
.fn-2 { right: 24px; top: -18px; }

/* strip jenis usaha */
.biz-strip { padding: 34px 0 10px; }
.biz-strip-h { text-align: center; color: var(--muted); font-size: 15px; }
.biz-strip-h b { color: var(--ink); }
.biz-groups { display: grid; gap: 12px; margin: 20px auto 0; max-width: 1080px; }
.biz-g { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: start; }
.biz-gh { padding-top: 9px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; text-align: right; }
.biz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) {
  .biz-g { grid-template-columns: 1fr; gap: 8px; }
  .biz-gh { text-align: left; padding-top: 0; }
}
.biz-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .15s, color .15s, transform .15s; }
.biz-chips a:hover { border-color: var(--teal); color: var(--teal-900); transform: translateY(-1px); }
.biz-chips [data-lucide] { width: 17px; height: 17px; color: var(--teal); }

/* mode usaha */
.split.mode { gap: 48px; }
.split.mode h3 { font-size: 24px; }
.tbl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tbl-grid .t { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; min-height: 64px; }
.tbl-grid .t b { display: block; font-size: 14px; }
.tbl-grid .t small { color: var(--muted); font-size: 11px; }
.tbl-grid .t.busy { background: var(--teal-50); border-color: var(--teal-100); }
.tbl-grid .t.bill { background: var(--orange-50); border-color: var(--orange-100); }
.tbl-grid .t.res { border-style: dashed; border-color: var(--teal); }
.tbl-grid .t.wide { grid-column: span 2; }
.kds { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-size: 12.5px; }
.kds .mock-pill { margin-right: 6px; }
.opt { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.opt span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; }
.opt span.on { border-color: var(--teal); background: var(--teal-50); color: var(--teal-900); }
.opt span.off { color: #b4c0c3; text-decoration: line-through; }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); display: inline-block; }
.q-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: var(--bg-soft); }
.q-cols h6 { margin: 0 0 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.q { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px; margin-bottom: 8px; }
.q b { display: block; font-size: 12.5px; }
.q small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.q.on { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); }
.q.done { opacity: .85; }

/* nota */
.nota-stage { display: flex; justify-content: center; padding: 20px; border-radius: 28px; background: linear-gradient(160deg, var(--teal-50), var(--orange-50)); }
.nota { width: 100%; max-width: 360px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; font-size: 13.5px; }
.nota-h { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.nota-h small { display: block; color: var(--muted); font-size: 12px; }
.nota-tot { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 2px solid var(--ink); margin-top: 6px; }
.nota-tot b { font-size: 20px; }
.nota-pts { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--teal-50); color: var(--teal-900); }
.nota-pts [data-lucide] { width: 18px; height: 18px; }
.nota-rate { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 16px; }
.nota-vc { margin-top: 10px; padding: 12px; border-radius: 12px; border: 1.5px dashed var(--orange); background: var(--orange-50); }
.nota-vc b, .nota-vc span { display: block; }
.nota-vc span { color: var(--orange-700); font-weight: 600; font-size: 13px; }
.nota-ft { display: block; text-align: center; color: var(--muted); font-size: 11px; margin-top: 12px; }

/* dashboard */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpi .up { display: block; color: var(--ok); font-size: 11px; font-weight: 700; }
.dash-chart { margin: 14px 0 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.dash-chart .mock-bars { margin-top: 8px; }

/* pohon akun */
.tree { position: relative; padding: 24px; border-radius: 28px; background: var(--bg-soft); border: 1px solid var(--line); }
.tree-root { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--teal-900); color: #fff; width: fit-content; max-width: 100%; }
.tree-root [data-lucide] { width: 28px; height: 28px; color: var(--orange); }
.tree-root small { display: block; color: #a9c6cb; font-size: 12px; }
.tree-biz { margin: 0 0 0 28px; padding: 18px 0 0 22px; border-left: 2px dashed var(--teal-100); display: grid; gap: 14px; }
.tb { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.tb::before { content: ''; position: absolute; left: -24px; top: 30px; width: 22px; border-top: 2px dashed var(--teal-100); }
.tb-h { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.tb-h .card-icon { width: 38px; height: 38px; border-radius: 11px; }
.tb-h .card-icon [data-lucide] { width: 19px; height: 19px; }
.tb-h small { display: block; color: var(--muted); font-size: 12.5px; }
.tb-o { display: inline-flex; align-items: center; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

/* add-on gelap */
.addons .addon { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: 28px; }
.addons h3 { margin-top: 16px; }
.addons .price { margin: 6px 0 16px; font-size: 22px; font-weight: 800; color: #fff; }
.addons .price small { font-size: 14px; font-weight: 500; color: #a9c6cb; }
.addons .checks { font-size: 15px; }
.eco { margin-top: 40px; padding: 24px 28px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; }
.eco p { color: #d7e8eb; }
.eco b { color: #fff; }
.eco-list { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.eco-list span { display: inline-flex; align-items: center; gap: 8px; }
.eco-list [data-lucide] { width: 18px; height: 18px; color: var(--orange); }
.eco .btn { grid-column: 2; grid-row: 1 / span 2; }

/* paket */
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.plan h3 { font-size: 22px; }
.plan-price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 8px; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .checks { font-size: 15px; margin-bottom: 18px; }
.plan .btn { margin-top: auto; }
.plan.hot { border-color: var(--orange-600); box-shadow: var(--shadow); }
.flag { position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--orange-600); color: #fff; font-size: 12px; font-weight: 800; }

/* testimoni */
.testi figure { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.testi blockquote { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.testi figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.testi .av { width: 40px; height: 40px; font-size: 15px; background: var(--teal-50); color: var(--teal-700); }
.testi figcaption small { display: block; color: var(--muted); font-size: 13px; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stage { max-width: 680px; margin: 0 auto; width: 100%; }
}
@media (max-width: 960px) {
  .eco { grid-template-columns: 1fr; }
  .eco .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero-stage { padding: 0; }
  .pos-body { grid-template-columns: 1fr; min-height: 0; }
  .pos-left { border-right: 0; border-bottom: 1px solid #223135; }
  .pos-tiles .mock-tile:nth-child(n+4) { display: none; }
  .hero-phone, .fn-1 { display: none; }
  .fn-2 { display: none; }
  .tbl-grid { grid-template-columns: repeat(2, 1fr); }
  .tbl-grid .t.wide { grid-column: span 2; }
  .q-cols { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .tree { padding: 16px; }
  .tree-biz { margin-left: 12px; padding-left: 16px; }
  .tb::before { left: -18px; width: 16px; }
  .plan { padding: 24px; }
  /* HP: chip jenis usaha & tab mode usaha jadi satu baris geser per kelompok (tidak memanjang ke bawah) */
  .biz-g { min-width: 0; }
  .biz-chips, #usaha .tabs-nav { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; scroll-padding-inline: var(--gutter); }
  .biz-chips::-webkit-scrollbar, #usaha .tabs-nav::-webkit-scrollbar { display: none; }
  .biz-chips a, #usaha .tabs-nav button { flex: none; min-height: 40px; }
  #usaha .tabs-nav { justify-content: flex-start; margin-bottom: 24px; }
}

/* mode usaha: panel pesanan, sewa, member */
.split.mode .mock-row { align-items: center; gap: 12px; }
.split.mode .mock-row .mock-pill { align-self: center; white-space: nowrap; flex: none; }
