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

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

: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;
  --head:linear-gradient(118deg,#1b3a63 0%,#15294c 42%,#102038 72%,#0b1830 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:var(--head);
  box-shadow:0 2px 14px rgba(12,20,46,.22); border-bottom:1px solid rgba(255,255,255,.07); }
.nav-inner{ max-width:1200px; margin:0 auto; padding:0 22px; height:60px;
  display:flex; align-items:center; justify-content:space-between; gap:14px; }
.nav-brand{ display:flex; align-items:center; background:#fff; border-radius:10px; padding:7px 13px;
  box-shadow:0 2px 8px rgba(0,0,0,.18); }
.nav-logo{ height:30px; width:auto; display:block; }
.nav-right{ display:flex; align-items:center; gap:14px; }
.nav-tagline{ font-size:13px; color:rgba(255,255,255,.82); font-weight:500; }

/* 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-gold{ background:linear-gradient(180deg,#e3b53b,var(--gold)); color:#231a05; padding:11px 22px; font-size:14.5px;
  box-shadow:0 4px 14px rgba(184,138,21,.35); }
.btn-gold:hover{ background:linear-gradient(180deg,#edc04a,#caa024); }
.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:8px 16px; font-size:13px; box-shadow:0 2px 8px rgba(184,138,21,.3); }

/* ---------- hero (terang) ---------- */
.hero{ text-align:center; padding:46px 24px 30px; }
.hero-inner{ max-width:760px; margin:0 auto; }
.globe{ margin:0 auto 20px; width:78px; height:78px; }
.globe svg{ width:78px; height:78px; display:block; filter:drop-shadow(0 8px 18px rgba(20,90,200,.26)); }
.hero-eyebrow{ font-size:13px; font-weight:600; color:var(--gold-d); letter-spacing:.04em; text-transform:uppercase; margin-bottom:8px; }
.hero-meta{ margin-top:16px; font-family:var(--mono); font-size:11.5px; color:var(--ink3); }
.gold-text{ color:var(--gold-d); }
.hero-title{ font-size:clamp(34px, 6vw, 60px); font-weight:800; line-height:1.05; letter-spacing:-.035em; 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:18px auto 0; max-width:60ch; font-size:clamp(16px,2.1vw,20px);
  color:var(--ink2); font-weight:450; letter-spacing:-.012em; }

/* ---------- 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(--gold); }
.promo-main{ padding:26px 28px; }
.promo-kicker{ font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--gold-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:#1b3a63; background:#eaf1fb; 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,#fbfaf5,#f5f1e6); 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(--gold-d); text-decoration:none; }
.review-all:hover{ text-decoration:underline; }

/* ---------- layout ---------- */
.layout{ max-width:1200px; margin:0 auto; padding:8px 24px 12px;
  display:grid; grid-template-columns:340px 1fr; gap:24px; align-items:start; }
.sidebar{ position:sticky; top:68px; display:flex; flex-direction:column; gap:14px; }

/* ---------- panels (control cards) ---------- */
.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-col{ min-width:0; }
.results-bar{ display:flex; justify-content:space-between; align-items:baseline; padding:10px 6px 16px; }
.results-count{ font-size:15px; color:var(--ink2); }
.results-count b{ color:var(--ink); font-weight:700; font-size:17px; }
.results-sort{ font-size:13px; font-weight:500; color:var(--ink3); }
.sort-ctl{ display:flex; align-items:center; gap:9px; }
.sort-label{ font-size:13px; color:var(--ink2); }
.select-wrap-sm::after{ right:11px; width:7px; height:7px; }
.select-sm{ font-size:13px; font-weight:500; padding:8px 30px 8px 12px; background:#fff; box-shadow:var(--sh-sm); border-color:transparent; }
.select-sm:focus{ box-shadow:0 0 0 4px rgba(0,113,227,.14); }

.card{ background:var(--surface); border-radius:var(--r-lg); padding:20px 22px; margin-bottom:14px;
  box-shadow:var(--sh-sm); transition:box-shadow .2s, transform .2s; }
.card:hover{ box-shadow:var(--sh); transform:translateY(-2px); }
.card-top{ display:flex; gap:16px; align-items:flex-start; }
.rank{ flex:none; width:38px; height:38px; border-radius:50%;
  background:linear-gradient(145deg,#ffffff 0%,#e6e8ee 32%,#c2c6d0 50%,#eef0f5 66%,#d2d6df 100%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.95), inset 0 -1.5px 2px rgba(0,0,0,.14), 0 1px 2px rgba(0,0,0,.12);
  border:.5px solid rgba(0,0,0,.07);
  display:grid; place-items:center; font-family:var(--mono); font-weight:700; font-size:14px; color:#23262d; }
.card:hover .rank{ background:linear-gradient(145deg,#ffffff 0%,#eceef3 30%,#cfd3dc 50%,#f6f7fa 66%,#dce0e8 100%); }
.card-main{ flex:1; min-width:0; }
.card-title{ font-size:18px; font-weight:700; line-height:1.25; letter-spacing:-.02em; }
.card-meta{ font-size:13px; color:var(--ink2); margin-top:5px; }
.qpill{ flex:none; font-family:var(--mono); font-weight:700; font-size:12px; padding:5px 10px;
  border-radius:9px; color:#fff; letter-spacing:.02em; }
.qpill.qpQ1{ background:#178a4c; }
.qpill.qpQ2{ background:#1f6fd6; }
.qpill.qpQ3{ background:#e89200; color:#3a2600; }
.qpill.qpQ4{ background:#e0463a; }

.metrics{ display:flex; flex-wrap:wrap; gap:6px 20px; margin-top:14px; }
.metric{ font-size:12.5px; color:var(--ink2); }
.metric b{ font-family:var(--mono); color:var(--ink); font-weight:700; font-size:13px; }

.badges{ display:flex; flex-wrap:wrap; gap:7px; margin-top:13px; }
.badge{ font-size:11.5px; font-weight:600; padding:4px 10px; 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; }
.badge.sel{ background:#f0f0f3; color:var(--ink2); }
.matchchip{ display:inline-block; font-size:12px; color:var(--opp-t); background:var(--opp-soft);
  padding:4px 11px; border-radius:var(--r-pill); margin-top:13px; }
.matchchip b{ font-weight:700; }

/* info panel */
.panel-info .info-row{ font-size:12.5px; color:var(--ink2); line-height:1.55; margin-bottom:11px; padding-left:18px; position:relative; }
.panel-info .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 */
.card.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(--blue); border:none; border-radius:var(--r-pill); cursor:pointer; transition:background .15s, transform .1s; }
.more:hover{ background:var(--blue-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 navy, konten terpusat) */
.foot{ background:var(--head); 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,.22); }
.foot-logo{ height:34px; width:auto; display:block; }
.foot-tag{ margin-top:16px; font-size:14px; color:rgba(255,255,255,.82); }
.foot-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 22px; margin-top:16px; }
.foot-links a{ font-size:13.5px; color:#9fc6ff; 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,.5); }

/* responsive */
@media (max-width:880px){
  .layout{ grid-template-columns:1fr; gap:14px; padding:8px 16px 8px; }
  .sidebar{ position:static; }
  .hero{ padding:36px 18px 24px; }
  .promo-card{ grid-template-columns:1fr; }
  .promo-reviews{ border-left:none; border-top:1px solid var(--line2); }
  .nav-tagline{ display:none; }
  .nav-inner{ height:56px; }
}
@media (max-width:520px){ .bars{ grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce){ *{ transition:none !important; scroll-behavior:auto; } }
