:root {
  --navy: #0b2545; --navy2: #13315c; --green: #0e7c5a; --green2: #13a37a; --mint: #e6f5ef;
  --gold: #f2a93b; --gold-bg: #fff6e6; --red: #c2410c; --red-bg: #fdecea; --blue-bg: #e8f1fb;
  --bg: #f4f7f6; --card: #fff; --text: #17222d; --muted: #5d6b78; --line: #e2e8ec;
  --r: 14px; --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 6px 20px rgba(11, 37, 69, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; color: var(--navy); }
h2 { font-size: 1.4rem; } h3 { font-size: 1.1rem; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .tiny { font-size: .75rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3 { grid-template-columns: 1fr; } }

/* Demo banner & flow */
.demo-banner { background: var(--navy); color: #fff; font-size: .78rem; padding: 6px 0; }
.demo-banner .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.demo-banner b { color: var(--gold); letter-spacing: .06em; }
.demo-banner button { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 99px; padding: 2px 10px; cursor: pointer; font-size: .74rem; white-space: nowrap; }
.flow { background: #fff; border-bottom: 1px solid var(--line); }
.flow .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; align-items: center; }
.flow .wrap::-webkit-scrollbar { display: none; }
.flow-label { font-size: .7rem; font-weight: 800; color: var(--muted); letter-spacing: .08em; white-space: nowrap; margin-right: 4px; }
.flow a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px 4px 4px; }
.flow a span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .7rem; }
.flow a.team span { background: var(--gold); color: var(--navy); }
.flow a.on { background: var(--green); color: #fff; border-color: var(--green); }
.flow a.on span { background: #fff; color: var(--green); }

/* Header */
header.top { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; color: var(--navy); }
.brand img { width: 36px; height: 34px; object-fit: contain; }
.brand em { font-style: normal; color: var(--green); }
nav.main { display: flex; gap: 4px; flex: 1; }
nav.main a { color: var(--text); font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 10px; position: relative; }
nav.main a.on, nav.main a:hover { background: var(--mint); color: var(--green); }
.badge-count { background: var(--gold); color: var(--navy); border-radius: 99px; font-size: .7rem; padding: 0 6px; font-weight: 800; margin-left: 4px; }
.view-switch { display: flex; background: var(--bg); border-radius: 10px; padding: 3px; border: 1px solid var(--line); }
.view-switch a { font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; color: var(--muted); white-space: nowrap; }
.view-switch a.on { background: var(--navy); color: #fff; }
@media (max-width: 900px) { nav.main { display: none; } header.top .wrap { justify-content: space-between; } }

/* Bottom nav mobile */
nav.bottom { display: none; }
@media (max-width: 900px) {
  nav.bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 40; padding-bottom: env(safe-area-inset-bottom); }
  nav.bottom a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 600; color: var(--muted); padding: 8px 0 7px; position: relative; }
  nav.bottom a svg { width: 22px; height: 22px; }
  nav.bottom a.on { color: var(--green); }
  nav.bottom .badge-count { position: absolute; top: 3px; right: 22%; }
  body { padding-bottom: 70px; }
}

/* Generic UI */
main { min-height: 60vh; padding: 20px 0 40px; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; background: var(--green); color: #fff; font-size: .9rem; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn.navy { background: var(--navy); } .btn.gold { background: var(--gold); color: var(--navy); }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn.ghost.on { background: var(--mint); border-color: var(--green); color: var(--green); }
.btn.sm { padding: 6px 10px; font-size: .8rem; border-radius: 8px; }
.btn.red { background: var(--red); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.wa { background: #25d366; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 99px; padding: 2px 9px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; padding: 2px 7px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.tag.ok { background: var(--mint); color: var(--green); }
.tag.warn { background: var(--gold-bg); color: #9a5b00; }
.tag.no { background: var(--red-bg); color: var(--red); }
.tag.info { background: var(--blue-bg); color: var(--navy2); }
.tag.sp { background: var(--gold); color: var(--navy); }
.tag.new { background: #e11d48; color: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.trust { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); }
.trust .ring { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; background: conic-gradient(var(--green) calc(var(--v) * 1%), #e5ece9 0); position: relative; }
.trust .ring::before { content: ''; position: absolute; inset: 4px; background: #fff; border-radius: 50%; }
.trust .ring b { position: relative; }
.price { font-weight: 800; color: var(--navy); font-size: 1.3rem; }
.price small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; flex-shrink: 0; }
.section { margin-top: 32px; }
.section-h { display: flex; justify-content: space-between; align-items: end; margin-bottom: 12px; gap: 10px; }
.section-h h2 { margin: 0; }
label.f { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
label.f input, label.f select, label.f textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); font-size: .92rem; }
label.f textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green2); outline-offset: 0; }
table.t { width: 100%; border-collapse: collapse; font-size: .86rem; }
table.t th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr.hl td { background: #fff8ec; }
.tscroll { overflow-x: auto; }
.empty { text-align: center; color: var(--muted); padding: 30px; }
.notice { background: var(--blue-bg); border-radius: 10px; padding: 10px 14px; font-size: .85rem; color: var(--navy2); }
.notice.gold { background: var(--gold-bg); color: #7a4a00; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.tabs a { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Hero */
.hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy2) 45%, var(--green) 100%); color: #fff; border-radius: 20px; padding: 36px 32px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -40px; bottom: -30px; width: 300px; height: 300px; background: url(img/logo.png) center/contain no-repeat; opacity: .12; }
.hero h1 { color: #fff; font-size: 2.1rem; max-width: 640px; }
.hero p { color: #cfe3ea; max-width: 560px; margin: 0 0 20px; }
.hero .kicker { color: var(--gold); font-weight: 800; letter-spacing: .1em; font-size: .75rem; }
.searchbox { background: #fff; border-radius: 14px; padding: 10px; display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; max-width: 860px; position: relative; z-index: 1; }
.searchbox input, .searchbox select { border: 1px solid var(--line); border-radius: 9px; padding: 10px; width: 100%; color: var(--text); background: #fff; }
@media (max-width: 700px) { .hero { padding: 24px 18px; } .hero h1 { font-size: 1.55rem; } .searchbox { grid-template-columns: 1fr 1fr; } .searchbox input { grid-column: 1 / -1; } .searchbox .btn { grid-column: 1 / -1; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.stat { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 1.5rem; color: var(--navy); }
.stat span { font-size: .8rem; color: var(--muted); }
.stat.alert b { color: #e11d48; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.journey div { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); border-top: 4px solid var(--c); }
.journey i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: .8rem; margin-bottom: 6px; }
.journey b { display: block; color: var(--navy); }
.journey span { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .journey { grid-template-columns: repeat(2, 1fr); } }
.banner-ad { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(90deg, #fff6e6, #fff); border: 1px dashed var(--gold); border-radius: 14px; padding: 16px 18px; flex-wrap: wrap; }

/* Package card */
.pkg { display: grid; grid-template-columns: 1fr auto; gap: 14px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; border: 2px solid transparent; }
.pkg.sp { border-color: var(--gold); }
.pkg h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.pkg h3 a { color: var(--navy); }
.pkg .facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.pkg .side { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 8px; min-width: 150px; }
@media (max-width: 600px) { .pkg { grid-template-columns: 1fr; } .pkg .side { text-align: left; align-items: stretch; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; } }
.layout-search { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.filters { position: sticky; top: 80px; }
.filters h4 { font-size: .8rem; margin-top: 4px; }
@media (max-width: 900px) { .layout-search { grid-template-columns: 1fr; } .filters { position: static; display: none; } .filters.open { display: block; } }
.mobile-only { display: none; } @media (max-width: 900px) { .mobile-only { display: inline-flex; } }
.tray { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 50; background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 12px 10px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
@media (max-width: 900px) { .tray { bottom: 76px; } }
.tray .dots { display: flex; gap: 4px; }
.tray .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); }
.tray .dots i.f { background: var(--gold); }

/* Detail */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts-grid div { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.facts-grid small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.facts-grid b { color: var(--navy); font-size: .95rem; }
@media (max-width: 600px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
ul.check { list-style: none; padding: 0; margin: 0; columns: 2; }
ul.check li { padding: 3px 0 3px 24px; position: relative; font-size: .9rem; break-inside: avoid; }
ul.check li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
@media (max-width: 600px) { ul.check { columns: 1; } }
.sticky { position: sticky; top: 80px; }
.bar { height: 8px; background: #e7eeeb; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.review:first-child { border-top: 0; }

/* Compare */
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); min-width: 640px; }
table.cmp th, table.cmp td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .88rem; }
table.cmp th { width: 170px; background: #fafcfb; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
table.cmp td.best { background: var(--mint); font-weight: 700; }
table.cmp td.best::after { content: ' ★ Terbaik'; color: var(--green); font-size: .7rem; font-weight: 800; }

/* Modal & toast */
.modal-bg { position: fixed; inset: 0; background: rgba(11, 37, 69, .5); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 16px; padding: 22px; max-width: 480px; width: 100%; max-height: 90vh; overflow: auto; }
.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-weight: 600; max-width: calc(100% - 32px); }
.toast.ok { background: var(--green); }
.toast.err { background: var(--red); }

/* Star input */
.star-input { display: inline-flex; gap: 2px; }
.star-input button { background: none; border: 0; font-size: 1.6rem; color: #d3dbd8; cursor: pointer; padding: 0 2px; line-height: 1; }
.star-input button.on { color: var(--gold); }
.star-input.sm button { font-size: 1.15rem; }

/* Points */
.points-card { background: linear-gradient(120deg, var(--green), var(--navy)); color: #fff; border-radius: 18px; padding: 22px; }
.points-card b { font-size: 2.4rem; display: block; line-height: 1.1; }
.voucher { border: 1px dashed var(--line); border-radius: 14px; padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.voucher .cost { font-weight: 800; color: var(--green); }

/* Team panels */
.team-head { background: var(--navy); color: #fff; border-radius: 16px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.team-head h2 { color: #fff; margin: 0; }
.team-head .muted { color: #a9bdd0; }
.team-head select { padding: 8px 10px; border-radius: 9px; border: 0; font-weight: 600; }
.kpi { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.kpi small { color: var(--muted); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi b { display: block; font-size: 1.6rem; color: var(--navy); }
.kpi.hot b { color: #e11d48; }
.chart svg { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: middle; }
footer { background: var(--navy); color: #a9bdd0; padding: 26px 0; font-size: .82rem; }
footer b { color: #fff; }
.svc { display: flex; flex-direction: column; gap: 8px; }
.svc ul { margin: 0; padding-left: 18px; font-size: .85rem; color: var(--muted); }
.ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; }
.hint { border-left: 4px solid var(--gold); background: var(--gold-bg); padding: 10px 14px; border-radius: 8px; font-size: .85rem; margin-bottom: 16px; color: #6b4300; }
.hint b { color: var(--navy); }

@media (max-width: 480px) {
  header.top .wrap { gap: 8px; }
  .brand { font-size: 1.1rem; gap: 6px; } .brand img { width: 30px; height: 28px; }
  .view-switch a { padding: 5px 7px; font-size: .74rem; }
}
.tray .small { white-space: nowrap; }
