/* ============ Pandu Jurnal — style.css ============
   Bahasa visual terinspirasi Apple: lapang, tipografi tegas, material lembut. */

*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
img{ max-width:100%; }
.nav-logo, .foot-logo{ max-height:34px; }

:root{
  --bg:#f5f5f7; --surface:#ffffff;
  --ink:#1d1d1f; --ink2:#6e6e73; --ink3:#86868b;
  --line:#d2d2d7; --line2:#ebebef;
  --blue:#0071e3; --blue-d:#0066cc;
  --spd:#ff9500; --spd-t:#b15e00; --spd-soft:#fff3e0;
  --opp:#2aa84a; --opp-t:#1d7a37; --opp-soft:#e4f7ea;
  --red:#ff3b30; --red-d:#c81e14; --red-soft:#fdeceb; --red-line:#f6c3bf;
  --gold:#d4a72c; --gold-d:#b98a15; --gold-soft:#f7efd9;
  --brand:#0d9488; --brand-d:#0a6f66; --brand-soft:#d6f2ef;
  --head:linear-gradient(118deg,#1b3a63 0%,#15294c 42%,#102038 72%,#0b1830 100%);
  --foot:linear-gradient(135deg,#0f7d72 0%,#0a564f 55%,#063c37 100%);
  --wa:#1faf54;
  --r-lg:22px; --r:16px; --r-sm:12px; --r-pill:980px;
  --sh:0 2px 6px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
  --sh-sm:0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.05);
  --font:-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ font-family:var(--font); color:var(--ink); background:var(--bg); line-height:1.47;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; letter-spacing:-.01em; }
b, strong{ font-weight:600; }
.t-spd{ color:var(--spd-t); font-weight:600; }
.t-opp{ color:var(--opp-t); font-weight:600; }

/* ---------- frosted nav ---------- */
.nav{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(16px); -webkit-backdrop-filter:saturate(180%) blur(16px);
  box-shadow:0 1px 0 rgba(0,0,0,.06), 0 6px 22px rgba(0,0,0,.04); }
.nav-inner{ max-width:1200px; margin:0 auto; padding:0 22px; height:66px;
  display:flex; align-items:center; gap:20px; }
.nav-brand{ display:flex; align-items:center; }
.nav-logo{ height:38px; width:auto; display:block; }
.nav-menu{ display:flex; align-items:center; gap:24px; }
.nav-menu a{ font-size:14.5px; font-weight:500; color:var(--ink2); text-decoration:none; transition:color .15s; }
.nav-menu a:hover{ color:var(--brand-d); }
.nav-cta{ margin-left:auto; }

/* buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:7px; font-weight:600;
  font-family:inherit; text-decoration:none; border-radius:var(--r-pill); cursor:pointer;
  border:none; transition:transform .1s, box-shadow .15s, background .15s; white-space:nowrap; }
.btn:active{ transform:scale(.97); }
.btn-brand{ background:linear-gradient(180deg,#13a99b,var(--brand)); color:#fff; padding:11px 22px; font-size:14.5px;
  box-shadow:0 4px 14px rgba(13,148,136,.3); }
.btn-brand:hover{ background:linear-gradient(180deg,#15b8a8,#0c8377); }
.btn-wa{ background:var(--wa); color:#fff; padding:11px 22px; font-size:14.5px; box-shadow:0 4px 14px rgba(31,175,84,.3); }
.btn-wa:hover{ background:#1c9d4b; }
.btn-sm{ padding:9px 17px; font-size:13.5px; box-shadow:0 2px 8px rgba(13,148,136,.28); }

/* ---------- hero (asimetris, semu teal) ---------- */
.hero{ background:linear-gradient(180deg,#e9f7f4 0%,#f3faf8 55%,var(--bg) 100%); padding:46px 24px 30px; border-bottom:1px solid #e3efec; }
.hero-grid{ max-width:1140px; margin:0 auto; display:grid; grid-template-columns:1.25fr .9fr; gap:38px; align-items:center; }
.hero-copy{ min-width:0; }
.hero-eyebrow{ font-size:13px; font-weight:600; color:var(--brand-d); letter-spacing:.04em; text-transform:uppercase; margin-bottom:10px; }
.hero-meta{ margin-top:16px; font-family:var(--mono); font-size:11.5px; color:var(--ink3); }
.brand-text{ color:var(--brand-d); }
.gold-text{ color:var(--gold-d); }
.hero-chips{ display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
.hc{ font-size:13px; color:var(--ink2); background:#fff; border:1px solid #d7e9e5; padding:7px 13px; border-radius:var(--r-pill); box-shadow:0 1px 2px rgba(0,0,0,.04); }
.hc strong{ color:var(--brand-d); font-weight:700; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:11px; margin-top:22px; }
.hero-reviews{ background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh); border:1px solid rgba(0,0,0,.05); padding:20px 22px; }
.hr-head{ display:flex; align-items:center; gap:11px; padding-bottom:13px; border-bottom:1px solid var(--line2); margin-bottom:12px; }
.hr-rate{ font-size:13px; color:var(--ink2); }
.hr-rate strong{ font-size:18px; color:var(--ink); font-weight:800; margin-right:3px; }

/* services strip */
.services{ background:#fff; border-bottom:1px solid var(--line2); box-shadow:0 1px 3px rgba(0,0,0,.03); }
.services-inner{ max-width:1140px; margin:0 auto; padding:15px 24px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.services-lead{ font-size:13.5px; color:var(--ink2); flex:1 1 300px; }
.services-lead strong{ color:var(--ink); }
.services-list{ display:flex; flex-wrap:wrap; gap:8px; }
.svc{ font-size:12.5px; font-weight:600; color:var(--brand-d); background:var(--brand-soft); padding:6px 12px; border-radius:var(--r-pill); }
.services .btn{ margin-left:auto; }
.hero-title{ font-size:clamp(30px,3.6vw,44px); font-weight:800; line-height:1.1; letter-spacing:-.03em; color:var(--ink); }
.hero-title .grad{ background:linear-gradient(96deg, var(--spd), var(--opp));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero-sub{ margin:16px 0 0; max-width:52ch; font-size:clamp(15px,1.7vw,18px);
  color:var(--ink2); font-weight:450; letter-spacing:-.01em; }

/* ---------- promo + reviews ---------- */
.promo{ max-width:1100px; margin:6px auto 8px; padding:0 24px; }
.promo-card{ background:var(--surface); border-radius:var(--r-lg); box-shadow:var(--sh);
  border:1px solid rgba(0,0,0,.05); overflow:hidden; display:grid; grid-template-columns:1.25fr 1fr;
  border-top:3px solid var(--brand); }
.promo-main{ padding:26px 28px; }
.promo-kicker{ font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--brand-d); margin-bottom:8px; }
.promo-title{ font-size:clamp(20px,2.6vw,26px); font-weight:800; line-height:1.18; letter-spacing:-.02em; color:var(--ink); }
.promo-desc{ margin-top:12px; font-size:14px; color:var(--ink2); line-height:1.6; }
.promo-desc strong{ color:var(--ink); }
.promo-services{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.promo-services span{ font-size:12.5px; font-weight:600; color:var(--brand-d); background:var(--brand-soft); padding:6px 12px; border-radius:var(--r-pill); }
.promo-cta{ display:flex; flex-wrap:wrap; gap:11px; margin-top:20px; }

.promo-reviews{ background:linear-gradient(180deg,#f6fbfa,#eef7f5); padding:24px 26px; border-left:1px solid var(--line2); }
.reviews-head{ font-size:14px; font-weight:700; color:var(--ink); margin-bottom:14px; }
.stars{ color:var(--gold); letter-spacing:1px; }
.review{ background:#fff; border-radius:12px; padding:12px 14px; margin-bottom:10px; box-shadow:0 1px 3px rgba(0,0,0,.05); }
.review .stars{ font-size:12px; }
.review-text{ font-size:12.5px; color:var(--ink2); line-height:1.5; margin:5px 0 6px; }
.review-name{ font-size:11.5px; font-weight:600; color:var(--ink); }
.review-all{ display:inline-block; margin-top:4px; font-size:12.5px; font-weight:600; color:var(--brand-d); text-decoration:none; }
.review-all:hover{ text-decoration:underline; }

/* ---------- layout (kontrol di atas) ---------- */
.tool{ max-width:1120px; margin:0 auto; padding:8px 24px 12px; }
.controls{ background:var(--surface); border-radius:var(--r-lg); border:.5px solid rgba(0,0,0,.05);
  box-shadow:var(--sh-sm); padding:18px 20px; margin-bottom:6px; }
.ctrl-label{ display:block; font-size:12px; font-weight:600; color:var(--ink2); margin-bottom:7px; }
.ctrl-abstract{ margin-bottom:14px; }
.ctrl-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.ctrl-grid2{ display:grid; grid-template-columns:1.1fr 1fr; gap:20px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line2); }
.ctrl-weights .slider:first-of-type{ margin-top:2px; }
.ctrl-info{ margin-top:14px; padding-top:13px; border-top:1px solid var(--line2); }
.ctrl-info summary{ font-size:13px; font-weight:600; color:var(--brand-d); cursor:pointer; list-style:none; }
.ctrl-info summary::-webkit-details-marker{ display:none; }
.ctrl-info summary::before{ content:"＋ "; font-weight:700; }
.ctrl-info[open] summary::before{ content:"－ "; }
.ctrl-info .info-row{ margin-top:11px; }

/* panels lama (tak dipakai lagi, disisakan aman) */
.panel{ background:var(--surface); border-radius:var(--r); padding:18px; box-shadow:var(--sh-sm); border:.5px solid rgba(0,0,0,.045); }
.panel-h{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:600; color:var(--ink); letter-spacing:-.01em; margin-bottom:14px; }
.panel-hint{ font-size:12px; color:var(--ink3); margin-top:11px; line-height:1.5; }

.ph-ico{ flex:none; width:24px; height:24px; border-radius:7px; display:grid; place-items:center;
  box-shadow:0 1px 2px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.25); }
.ph-ico svg{ width:14px; height:14px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ico-blue{ background:linear-gradient(150deg,#3a93ff,#0a66dd); }
.ico-indigo{ background:linear-gradient(150deg,#8a7cff,#5b3fe6); }
.ico-orange{ background:linear-gradient(150deg,#ffb145,var(--spd)); }
.ico-grad{ background:linear-gradient(150deg,var(--spd),var(--opp)); }
.ico-gray{ background:linear-gradient(150deg,#aeb2bd,#7c8290); }
.ico-teal{ background:linear-gradient(150deg,#33c8aa,#0e9c85); }

.area, .text{ width:100%; font-family:inherit; font-size:14px; color:var(--ink);
  background:#f7f8fa; border:1px solid #e3e5ea; border-radius:var(--r-sm); padding:12px 13px; transition:border-color .15s, box-shadow .15s, background .15s; }
.area{ min-height:108px; resize:vertical; line-height:1.55; }
.area::placeholder, .text::placeholder{ color:#aeaeb4; }
.area:focus, .text:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(0,113,227,.14); background:#fff; }

/* select */
.select-wrap{ position:relative; }
.select-wrap::after{ content:""; position:absolute; right:14px; top:50%; width:9px; height:9px;
  border-right:2px solid var(--ink3); border-bottom:2px solid var(--ink3);
  transform:translateY(-65%) rotate(45deg); pointer-events:none; }
.select{ width:100%; appearance:none; -webkit-appearance:none; font-family:inherit; font-size:14px; font-weight:500;
  color:var(--ink); background:#f7f8fa; border:1px solid #e3e5ea; border-radius:var(--r-sm);
  padding:12px 38px 12px 13px; cursor:pointer; transition:border-color .15s, box-shadow .15s, background .15s; }
.select:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(0,113,227,.14); }

/* chips */
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ font-size:13px; font-weight:500; padding:7px 13px; border-radius:var(--r-pill); cursor:pointer; user-select:none;
  background:#f0f0f3; color:var(--ink); border:1px solid transparent; transition:background .15s, color .15s, box-shadow .15s; }
.chip:hover{ background:#e7e7ec; }
.chip.on{ background:var(--ink); color:#fff; }
.chip[data-q="Q1"].on{ background:#178a4c; }
.chip[data-q="Q2"].on{ background:#1f6fd6; }
.chip[data-q="Q3"].on{ background:#e89200; color:#fff; }
.chip[data-q="Q4"].on{ background:#e0463a; }
.chip[data-oa].on{ background:#0a6bb8; }
.chip[data-dia].on{ background:#0e9c85; }
.chip.danger.on{ background:var(--red); }

/* sliders */
.slider + .slider{ margin-top:17px; }
.slider-lab{ display:flex; justify-content:space-between; font-size:13.5px; font-weight:500; margin-bottom:10px; }
.slider-lab b{ font-family:var(--mono); font-weight:700; color:var(--ink); }
.rng{ -webkit-appearance:none; appearance:none; width:100%; height:5px; border-radius:var(--r-pill); cursor:pointer; }
.rng-spd{ background:linear-gradient(90deg,#ffe2bb,var(--spd)); }
.rng-opp{ background:linear-gradient(90deg,#bfe9cb,var(--opp)); }
.rng::-webkit-slider-thumb{ -webkit-appearance:none; width:24px; height:24px; border-radius:50%;
  background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.18), 0 3px 8px rgba(0,0,0,.12); border:.5px solid rgba(0,0,0,.04);
  transition:transform .1s; }
.rng::-webkit-slider-thumb:active{ transform:scale(1.1); }
.rng::-moz-range-thumb{ width:24px; height:24px; border:none; border-radius:50%; background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.18), 0 3px 8px rgba(0,0,0,.12); }
.rng:focus-visible{ outline:none; box-shadow:0 0 0 4px rgba(0,113,227,.18); }

/* ---------- results ---------- */
.results-bar{ display:flex; justify-content:space-between; align-items:baseline; padding:14px 4px; }
.results-count{ font-size:15px; color:var(--ink2); }
.results-count b{ color:var(--brand-d); font-weight:700; font-size:17px; }

#results{ display:grid; grid-template-columns:repeat(auto-fill, minmax(330px,1fr)); gap:14px; }

/* kartu cincin skor */
.rcard{ background:var(--surface); border-radius:var(--r-lg); border:.5px solid rgba(0,0,0,.05);
  padding:16px 18px; box-shadow:var(--sh-sm); transition:box-shadow .2s, transform .2s; }
.rcard:hover{ box-shadow:0 8px 26px rgba(13,148,136,.16), 0 2px 8px rgba(0,0,0,.05); transform:translateY(-2px); }
.rc-top{ display:flex; gap:15px; align-items:center; }
.ring{ position:relative; width:64px; height:64px; flex:none; }
.ring svg{ display:block; }
.ring-v{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.ring-v b{ font-size:18px; font-weight:800; line-height:1; color:var(--ink); }
.ring-v small{ font-size:9px; color:var(--ink3); letter-spacing:.03em; }
.rc-main{ flex:1; min-width:0; }
.rc-title-row{ display:flex; align-items:flex-start; gap:8px; }
.rc-title{ flex:1; min-width:0; font-size:16px; font-weight:700; line-height:1.25; letter-spacing:-.02em; }
.rc-meta{ font-size:12.5px; color:var(--ink2); margin-top:4px; }
.rc-metrics{ display:flex; flex-wrap:wrap; gap:4px 14px; margin-top:9px; }
.rc-metrics span{ font-size:12px; color:var(--ink2); }
.rc-metrics b{ font-family:var(--mono); color:var(--ink); font-weight:700; }

.rc-bars{ display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; margin-top:14px; padding-top:13px; border-top:1px solid var(--line2); }
.rcb-lab{ display:flex; justify-content:space-between; font-size:12px; font-weight:600; margin-bottom:6px; }
.rcb-lab.spd{ color:var(--spd-t); }
.rcb-lab.opp{ color:var(--opp-t); }
.rcb-lab b{ font-family:var(--mono); }
.rc-bars .fill.spd{ background:var(--spd); }
.rc-bars .fill.opp{ background:var(--opp); }
.rc-badges{ display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }

.qpill{ flex:none; font-family:var(--mono); font-weight:700; font-size:11.5px; padding:4px 9px;
  border-radius:8px; color:#fff; letter-spacing:.02em; }
.qpill.qpQ1{ background:#178a4c; }
.qpill.qpQ2{ background:#1f6fd6; }
.qpill.qpQ3{ background:#e89200; color:#3a2600; }
.qpill.qpQ4{ background:#e0463a; }

.badge{ font-size:11px; font-weight:600; padding:3px 9px; border-radius:var(--r-pill); line-height:1.5; }
.badge.vol{ background:var(--gold-soft); color:var(--gold); }
.badge.low{ background:var(--opp-soft); color:var(--opp-t); }
.badge.dia{ background:#e4f3ff; color:#0a6bb8; }
.badge.oa{ background:#eef0f5; color:#4a5365; }
.matchchip{ display:inline-block; font-size:12px; color:var(--opp-t); background:var(--opp-soft);
  padding:4px 11px; border-radius:var(--r-pill); }
.matchchip b{ font-weight:700; }

/* info panel */
.info-row{ font-size:12.5px; color:var(--ink2); line-height:1.55; margin-bottom:11px; padding-left:18px; position:relative; }
.info-row b{ color:var(--ink); }
.info-dot{ position:absolute; left:0; top:6px; width:9px; height:9px; border-radius:50%; }
.dot-spd{ background:var(--spd); }
.dot-opp{ background:var(--opp); }
.info-note{ font-size:11.5px; color:var(--ink3); line-height:1.5; border-top:1px solid var(--line2); padding-top:11px; }

/* twin bars */
.bars{ display:grid; grid-template-columns:1fr 1fr; gap:12px 26px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line2); }
.bar-lab{ display:flex; justify-content:space-between; font-size:12px; font-weight:600; margin-bottom:6px; }
.bar-lab .v{ font-family:var(--mono); }
.bar.spd .bar-lab{ color:var(--spd-t); }
.bar.opp .bar-lab{ color:var(--opp-t); }
.track{ height:6px; background:#ececf0; border-radius:var(--r-pill); overflow:hidden; }
.fill{ height:100%; border-radius:var(--r-pill); transition:width .45s cubic-bezier(.22,.7,.28,1); }
.bar.spd .fill{ background:var(--spd); }
.bar.opp .fill{ background:var(--opp); }

/* predator block */
.rcard.predator{ background:var(--red-soft); box-shadow:0 0 0 1.5px var(--red-line), var(--sh-sm); }
.predwarn{ background:var(--red); color:#fff; font-size:12px; line-height:1.5; padding:10px 14px;
  border-radius:13px; margin-bottom:14px; }
.predwarn b{ font-weight:800; letter-spacing:.02em; }

/* more / states */
.more{ display:block; margin:8px auto 4px; padding:12px 26px; font:600 14px/1 var(--font); color:#fff;
  background:var(--brand); border:none; border-radius:var(--r-pill); cursor:pointer; transition:background .15s, transform .1s; }
.more:hover{ background:var(--brand-d); }
.more:active{ transform:scale(.98); }
.state{ background:var(--surface); border-radius:var(--r-lg); padding:48px 26px; text-align:center;
  color:var(--ink2); font-size:14.5px; box-shadow:var(--sh-sm); }
.state.err{ box-shadow:0 0 0 1.5px var(--red-line); background:var(--red-soft); color:var(--red-d); line-height:1.6; }
.state code{ font-family:var(--mono); font-size:12.5px; background:#fff; padding:1px 7px; border-radius:6px; }

/* footer (band teal GoodLingua) */
.foot{ background:var(--foot); margin-top:22px; padding:40px 24px 46px; }
.foot-inner{ max-width:680px; margin:0 auto; text-align:center; }
.foot-brand{ display:inline-flex; background:#fff; border-radius:11px; padding:9px 16px; box-shadow:0 3px 12px rgba(0,0,0,.18); }
.foot-logo{ height:34px; width:auto; display:block; }
.foot-tag{ margin-top:16px; font-size:14px; color:rgba(255,255,255,.85); }
.foot-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 22px; margin-top:16px; }
.foot-links a{ font-size:13.5px; color:#a9ece3; text-decoration:none; font-weight:500; }
.foot-links a:hover{ color:#fff; text-decoration:underline; }
.foot-copy{ margin-top:18px; font-size:12px; color:rgba(255,255,255,.55); }

/* responsive */
@media (max-width:880px){
  .tool{ padding:8px 16px 8px; }
  .ctrl-grid{ grid-template-columns:1fr; }
  .ctrl-grid2{ grid-template-columns:1fr; gap:16px; }
  .hero{ padding:34px 18px 24px; }
  .hero-grid{ grid-template-columns:1fr; gap:24px; }
  .promo-card{ grid-template-columns:1fr; }
  .promo-reviews{ border-left:none; border-top:1px solid var(--line2); }
  .services-inner{ flex-direction:column; align-items:flex-start; gap:12px; }
  .services .btn{ margin-left:0; }
  .nav-menu{ display:none; }
  .nav-inner{ height:58px; gap:12px; }
}
@media (max-width:520px){ .rc-bars{ grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce){ *{ transition:none !important; scroll-behavior:auto; } }
