/* Halaman Add-on */
.ao-hero .split { grid-template-columns: 1.1fr 1fr; }
.ao-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; max-width: 680px; }
.ao-j { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.ao-j:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.ao-j .card-icon { width: 38px; height: 38px; border-radius: 11px; }
.ao-j .card-icon [data-lucide] { width: 19px; height: 19px; }
.ao-j b { display: block; font-size: 14px; line-height: 1.25; }
.ao-j small { color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* siklus pelanggan kembali */
.ao-loop { display: grid; place-items: center; }
.loop-ring { position: relative; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--teal-100); background: radial-gradient(circle, #fff 34%, transparent 35%), radial-gradient(circle, var(--teal-50), transparent 70%); }
.loop-c { position: absolute; inset: 33%; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; background: linear-gradient(150deg, var(--teal-700), var(--teal-900)); color: #fff; box-shadow: var(--shadow-lg); font-size: 15px; line-height: 1.25; }
.loop-c b { max-width: 96px; }
.loop-c [data-lucide] { width: 26px; height: 26px; color: var(--orange); }
.lp { position: absolute; width: 168px; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 12px 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.lp .card-icon { width: 38px; height: 38px; border-radius: 11px; }
.lp .card-icon [data-lucide] { width: 19px; height: 19px; }
.lp b { font-size: 14px; }
.lp small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.lp-1 { top: -6%; left: 50%; transform: translateX(-50%); }
.lp-2 { right: -10%; top: 50%; transform: translateY(-50%); }
.lp-3 { bottom: -6%; left: 50%; transform: translateX(-50%); }
.lp-4 { left: -10%; top: 50%; transform: translateY(-50%); }

/* detail add-on */
.ao-checks { margin-top: 26px; }
.section .eyebrow [data-lucide] { width: 16px; height: 16px; }
.ao-visual { position: relative; }
.ao-visual .float-note { line-height: 1.35; }
.fn-crm { left: -28px; bottom: -24px; }
.fn-chat { right: -20px; top: -30px; min-width: 220px; }
.fn-bc { right: -24px; top: -22px; }
.meter { height: 6px; border-radius: 99px; background: var(--line-2); margin: 6px 0 4px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--wa); }

/* CRM mock */
.crm-m { display: grid; gap: 14px; }
.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.segc { display: grid; gap: 1px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.segc [data-lucide] { width: 16px; height: 16px; color: var(--orange-600); margin-bottom: 4px; }
.segc b { font-size: 19px; letter-spacing: -.02em; line-height: 1.1; }
.segc span { font-weight: 700; font-size: 11.5px; }
.segc small { color: var(--muted); font-size: 10.5px; line-height: 1.3; }
.segc.on { border-color: var(--orange); background: var(--orange-50); }
.segc.warn [data-lucide] { color: var(--warn); }
.segc.bday [data-lucide] { color: var(--teal); }
.crm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.member { position: relative; overflow: hidden; display: grid; align-content: space-between; gap: 2px; padding: 14px; border-radius: 14px; color: #fff; background: radial-gradient(160px 120px at 100% 0%, rgba(255, 255, 255, .28), transparent 60%), linear-gradient(135deg, #b7791f, #8a5a14); min-height: 130px; }
.mb-k { font-size: 10.5px; letter-spacing: .12em; opacity: .85; font-weight: 700; }
.mb-n { font-size: 24px; letter-spacing: -.02em; }
.mb-name { font-weight: 700; }
.mb-s { font-size: 11px; opacity: .85; }
.crm-side { display: grid; align-content: start; font-size: 12.5px; }
.crm-side .mock-row span { color: var(--muted); }
.crm-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.crm-follow { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg-warm); border: 1px solid var(--orange-100); }
.crm-follow .card-icon { width: 34px; height: 34px; border-radius: 10px; }
.crm-follow .card-icon [data-lucide] { width: 17px; height: 17px; }
.crm-follow b { display: block; font-size: 12.5px; }
.crm-follow small { color: var(--muted); font-size: 11.5px; }

/* mock WA Otomatis */
.inbox-m .ib { display: grid; grid-template-columns: 190px 1fr; min-height: 360px; }
.ib-list { border-right: 1px solid var(--line-2); background: var(--bg-soft); }
.th { display: flex; gap: 9px; align-items: center; padding: 11px 12px; border-bottom: 1px solid var(--line-2); font-size: 12px; }
.th > div { flex: 1; min-width: 0; }
.th b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.th em { font-style: normal; min-width: 18px; height: 18px; border-radius: 99px; display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 10.5px; font-weight: 800; }
.th.on { background: #fff; box-shadow: inset 3px 0 0 var(--teal); }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; flex: none; }
.av [data-lucide] { width: 15px; height: 15px; }
.ib-chat { display: flex; flex-direction: column; min-width: 0; }
.ib-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.ib-msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #efe9e1; }
.ib-msgs .sys { align-self: center; font-size: 11px; color: var(--ink-2); background: rgba(255, 255, 255, .8); border-radius: 8px; padding: 3px 10px; }
.ib-msgs .in { align-self: flex-start; max-width: 86%; background: #fff; border-radius: 4px 12px 12px 12px; padding: 8px 10px; font-size: 12.5px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.ib-msgs .in span { display: block; text-align: right; color: var(--muted); font-size: 10px; margin-top: 2px; }
.ai-sug { margin-top: auto; background: #fff; border: 1.5px solid var(--teal-100); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; box-shadow: var(--shadow-sm); }
.ai-sug b { display: flex; align-items: center; gap: 6px; color: var(--teal-700); font-size: 11.5px; margin-bottom: 4px; }
.ai-sug b [data-lucide] { width: 14px; height: 14px; }
.ai-b { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* Broadcast mock */
.bc-m { display: grid; gap: 14px; }
.bc-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.bc-top b { display: block; font-size: 14px; }
.bc-top small { color: var(--muted); font-size: 12px; }
.bc-funnel { display: grid; gap: 8px; }
.fr { display: grid; grid-template-columns: 92px 1fr 40px; gap: 10px; align-items: center; font-size: 12.5px; }
.fr span { color: var(--ink-2); }
.fr > div { height: 12px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.fr i { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.fr.hot i { background: var(--orange); }
.fr b { text-align: right; }
.bc-kpis { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.bc-kpis .mock-kpi b { font-size: 16px; }
.bc-kpis .mock-kpi:last-child { background: var(--ok-50); border-color: transparent; }
.bc-kpis .mock-kpi:last-child b { color: var(--ok); }
.bc-prev { background: #efe9e1; border-radius: 12px; padding: 12px; }
.bc-prev .wa-bubble { max-width: 92%; background: #fff; border-radius: 4px 12px 12px 12px; }
.wa-btns { display: grid; gap: 4px; margin-top: 8px; border-top: 1px solid var(--line-2); padding-top: 6px; text-align: center; color: #0a7cff; font-weight: 600; }

/* Paket Tumbuh */
.tumbuh-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.tc-rows { display: grid; gap: 4px; }
.tc-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.tc-rows span { color: var(--ink-2); }
.tc-sub { border-bottom: 0 !important; color: var(--muted); }
.tc-sub s { color: var(--muted); font-weight: 700; }
.tc-total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 2px solid var(--ink); }
.tc-total span { font-weight: 800; font-size: 17px; }
.tc-total b { font-size: 38px; font-weight: 800; letter-spacing: -.035em; color: var(--teal-700); line-height: 1; }
.tc-total small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.tc-save { display: flex; gap: 8px; align-items: center; padding: 11px 14px; border-radius: 12px; background: var(--ok-50); color: var(--ok); font-weight: 700; font-size: 14.5px; }
.tc-note { font-size: 13px; color: var(--muted); }

/* ekosistem */
.eco h3 small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }


/* tambahan 18 Okt: WA, Tim & Gaji, Pesan Online */
.ao-more { display: inline-flex; margin-top: 22px; }
.ao-note { margin-top: 16px; max-width: 520px; }
.ib-msgs .out { align-self: flex-end; max-width: 86%; background: #d9fdd3; border-radius: 12px 4px 12px 12px; padding: 8px 10px; font-size: 12.5px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.ib-msgs .out span { display: block; text-align: right; color: var(--muted); font-size: 10px; margin-top: 2px; }
.ib-reply { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12.5px; color: var(--muted); }
.ib-reply [data-lucide] { width: 16px; height: 16px; color: var(--teal-700); }
.wa-stop { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 11.5px; }
.tm-m, .po-m { display: grid; gap: 10px; }
.tm-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.tm-tabs span { padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.tm-tabs span.on { background: var(--teal-50); color: var(--teal-700); }
.tm-row, .po-row, .po-book { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12.5px; }
.tm-row > div, .po-row > div, .po-book > div { flex: 1; min-width: 0; }
.tm-row b, .po-row b, .po-book b { display: block; font-size: 13px; }
.tm-row small, .po-row small, .po-book small { display: block; color: var(--muted); font-size: 11.5px; }
.po-row .po-p { flex: none; font-size: 13px; }
.po-book { background: var(--bg-soft); }
.po-book .card-icon { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.po-book .card-icon [data-lucide] { width: 17px; height: 17px; }
.tm-slip { margin-top: 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg-warm); border: 1px solid var(--orange-100); font-size: 12.5px; }
.tm-slip .mock-row span { color: var(--ink-2); }
.tm-sum { border-top: 1.5px solid var(--ink); border-bottom: 0; margin-top: 2px; padding-top: 8px; }
.tm-sum span { font-weight: 800; color: var(--ink) !important; }
.fn-tim { left: -28px; bottom: -24px; }
.fn-po { right: -24px; bottom: -24px; }
.tc-sub span:last-child { text-align: right; font-size: 13px; }

@media (max-width: 1140px) {
  .lp-2 { right: -4%; } .lp-4 { left: -4%; }
}
@media (max-width: 960px) {
  .ao-hero .split { grid-template-columns: 1fr; }
  .loop-ring { width: min(400px, 78%); margin: 40px auto 30px; }
  .fn-crm { left: 12px; } .fn-chat { right: 12px; } .fn-bc { right: 12px; } .fn-tim { left: 12px; } .fn-po { right: 12px; }
}
@media (max-width: 640px) {
  .ao-jump { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ao-jump .ao-j:last-child { grid-column: 1 / -1; }
  /* HP: ilustrasi lingkaran di hero dekoratif (mengulang nama add-on di atasnya) */
  .ao-hero .ao-loop { display: none; }
  .ao-more { align-items: center; min-height: 40px; }
  .po-row { flex-wrap: wrap; } .po-row > div { flex-basis: 100%; }
  .tc-sub { flex-direction: column; } .tc-sub span:last-child { text-align: left; }
  .loop-ring { width: 100%; max-width: 330px; margin: 28px auto 10px; border: 0; background: none; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .lp, .loop-c { position: static; transform: none; width: auto; }
  .loop-c { grid-column: 1 / -1; order: 5; border-radius: 16px; padding: 14px; grid-auto-flow: column; justify-content: center; gap: 10px; }
  .loop-c b { max-width: none; }
  .seg-grid { grid-template-columns: 1fr 1fr; }
  .crm-row { grid-template-columns: 1fr; }
  .inbox-m .ib { grid-template-columns: 1fr; }
  .ib-list { display: none; }
  .ib-h { flex-wrap: wrap; }
  .bc-kpis { grid-template-columns: 1fr 1fr; }
  .bc-kpis .mock-kpi:last-child { grid-column: 1 / -1; }
  .ao-visual .float-note { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: -16px 12px 0; }
  .tumbuh-card { padding: 22px 18px; }
  .tc-total b { font-size: 32px; }
}
