/* =========================================================
   Mister_J.id — style.css
   Palet warna diambil dari logo: navy + gold
   ========================================================= */
:root{
  --navy-950:#0a1730;
  --navy-900:#0f1e3d;
  --navy-800:#16294f;
  --navy-700:#213b6c;
  --gold-500:#f0a830;
  --gold-400:#ffc857;
  --bg:#f6f7fb;
  --paper:#ffffff;
  --ink:#0f1e3d;
  --slate2:#4d5b7a;
  --line:#e3e6f0;
  --radius:18px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{ font-family:'Space Grotesk',sans-serif; letter-spacing:-0.01em; }
.mono{ font-family:'JetBrains Mono',monospace; }
a{ color:inherit; text-decoration:none; }
img{max-width:100%; display:block;}
ul{ list-style:none; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }

.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- nav ---------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(10,23,48,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
nav.wrap{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ width:38px; height:38px; border-radius:8px; object-fit:contain; background:#fff; padding:2px; }
.brand-name{ color:#fff; font-weight:700; font-size:19px; }
.brand-name span{ color:var(--gold-400); }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ color:#c7d0e6; font-size:14.5px; font-weight:500; transition:color .2s; }
.nav-links a:hover, .nav-links a.active{ color:#fff; }
.nav-cta{
  background:var(--gold-500); color:var(--navy-950); font-weight:700; font-size:14px;
  padding:11px 20px; border-radius:999px; display:flex; align-items:center; gap:8px;
  transition:transform .2s, background .2s;
}
.nav-cta:hover{ background:var(--gold-400); transform:translateY(-1px); }
.burger{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;
}
.burger span{ width:24px; height:2px; background:#fff; display:block; }

/* ---------- hero ---------- */
.hero{
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(240,168,48,.15), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-900) 100%);
  color:#fff; position:relative; padding:88px 0 110px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size:26px 26px;
  mask-image:linear-gradient(120deg, black 0%, transparent 38%);
}
.hero-grid{ position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--gold-400); font-size:13px; letter-spacing:.06em;
  padding:8px 14px; border:1px solid rgba(255,200,87,.35); border-radius:999px;
  background:rgba(255,200,87,.06);
}
.hero h1{ font-size:48px; line-height:1.08; margin:22px 0 20px; font-weight:700; }
.hero h1 .accent{ color:var(--gold-400); }
.hero p.lede{ color:#c4cde2; font-size:17px; line-height:1.7; max-width:520px; margin-bottom:34px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:10px; font-weight:700; font-size:15px;
  padding:15px 26px; border-radius:12px; transition:transform .2s, box-shadow .2s, background .2s; border:none; cursor:pointer;
  font-family:inherit;
}
.btn-gold{ background:var(--gold-500); color:var(--navy-950); box-shadow:0 10px 24px -8px rgba(240,168,48,.55); }
.btn-gold:hover{ background:var(--gold-400); transform:translateY(-2px); }
.btn-ghost{ border:1px solid rgba(255,255,255,.25); color:#fff; background:transparent; }
.btn-ghost:hover{ background:rgba(255,255,255,.08); }
.btn-dark{ background:var(--navy-900); color:#fff; }
.btn-dark:hover{ background:var(--navy-800); }

.hero-stats{ display:flex; gap:30px; margin-top:46px; padding-top:30px; border-top:1px solid rgba(255,255,255,.12); flex-wrap:wrap; }
.hero-stats div b{ display:block; font-family:'Space Grotesk'; font-size:24px; color:#fff; }
.hero-stats div span{ font-size:12.5px; color:#9fabc9; }

.console{
  background:linear-gradient(180deg,#0e1c3a,#0a1730);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.6);
  overflow:hidden;
}
.console-bar{ display:flex; align-items:center; gap:8px; padding:12px 16px; background:rgba(255,255,255,.04); border-bottom:1px solid rgba(255,255,255,.08); }
.console-bar .dot{ width:9px; height:9px; border-radius:50%; }
.console-bar .dot:nth-child(1){ background:#ff6159; }
.console-bar .dot:nth-child(2){ background:#ffbd2e; }
.console-bar .dot:nth-child(3){ background:#28c941; }
.console-bar .path{ margin-left:10px; color:#7d89ab; font-size:12px; }
.console-body{ padding:20px; }
.console-title{ color:#e7ebf7; font-weight:600; font-size:14px; margin-bottom:14px; }
.stat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:16px; }
.stat-card{ background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:10px; padding:13px 14px; }
.stat-card .num{ color:#fff; font-family:'Space Grotesk'; font-size:20px; font-weight:600; }
.stat-card .lbl{ color:#8f9cbe; font-size:11.5px; margin-top:2px; }
.stat-card .up{ color:#3ddc84; font-size:11px; margin-top:6px; display:block; }
.chart-row{ display:grid; grid-template-columns:1.4fr 1fr; gap:12px; }
.chart-card{ background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:10px; padding:14px; }
.chart-card .lbl{ color:#8f9cbe; font-size:11.5px; margin-bottom:10px; }
.sparkline{ width:100%; height:56px; }
.donut-wrap{ display:flex; align-items:center; justify-content:center; }
.donut{
  width:78px; height:78px; border-radius:50%;
  background:conic-gradient(var(--gold-400) 0% 75%, rgba(255,255,255,.10) 75% 100%);
  display:flex; align-items:center; justify-content:center; position:relative;
}
.donut::after{ content:"75%"; position:absolute; width:54px; height:54px; background:#0e1c3a; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#fff; font-family:'Space Grotesk'; }

/* ---------- page header (halaman dalam) ---------- */
.page-hero{
  background:linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color:#fff; padding:64px 0; text-align:center;
}
.page-hero .eyebrow{ margin-bottom:16px; }
.page-hero h1{ font-size:38px; margin-bottom:12px; }
.page-hero p{ color:#c4cde2; max-width:560px; margin:0 auto; font-size:15.5px; line-height:1.7; }

/* ---------- section shell ---------- */
section{ padding:96px 0; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.eyebrow-dark{ font-size:12.5px; color:var(--gold-500); letter-spacing:.08em; margin-bottom:14px; display:inline-block; }
.section-head h2{ font-size:34px; margin-bottom:14px; }
.section-head p{ color:var(--slate2); font-size:16px; line-height:1.7; }

/* ---------- services ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; transition:transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover{ transform:translateY(-5px); box-shadow:0 24px 40px -22px rgba(15,30,61,.22); border-color:transparent; }
.icon-badge{ width:48px; height:48px; border-radius:13px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.icon-badge svg{ width:22px; height:22px; }
.badge-navy{ background:var(--navy-900); color:var(--gold-400); }
.badge-gold{ background:var(--gold-500); color:var(--navy-950); }
.service-card h3{ font-size:17.5px; margin-bottom:9px; }
.service-card p{ color:var(--slate2); font-size:14.5px; line-height:1.65; }
.service-card .tag{ display:block; font-family:'JetBrains Mono'; font-size:11px; color:#9aa4bd; margin-bottom:8px; }

/* ---------- why choose ---------- */
.why{ background:var(--navy-900); color:#fff; position:relative; overflow:hidden; }
.why::after{
  content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(240,168,48,.18), transparent 70%);
}
.why-grid{ position:relative; display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:start; }
.why .section-head p{ color:#b7c1de; }
.why .section-head h2{ color:#fff; }
.why-list{ display:flex; flex-direction:column; gap:0; }
.why-item{ display:flex; gap:18px; padding:24px 0; border-top:1px solid rgba(255,255,255,.10); }
.why-item:last-child{ border-bottom:1px solid rgba(255,255,255,.10); }
.why-icon{ width:44px; height:44px; flex:none; border-radius:12px; background:rgba(255,200,87,.12); border:1px solid rgba(255,200,87,.3); display:flex; align-items:center; justify-content:center; color:var(--gold-400); }
.why-icon svg{ width:20px; height:20px; }
.why-item h3{ font-size:16.5px; margin-bottom:6px; color:#fff; }
.why-item p{ color:#aab6d4; font-size:14.5px; line-height:1.6; }

/* ---------- flow / proses ---------- */
.flow{ display:flex; align-items:stretch; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--paper); }
.flow-step{ flex:1; padding:26px 22px; position:relative; }
.flow-step:not(:last-child)::after{
  content:"</>"; font-family:'JetBrains Mono'; color:var(--gold-500); font-size:13px;
  position:absolute; right:-13px; top:50%; transform:translateY(-50%); background:var(--paper); padding:2px 0; z-index:2;
}
.flow-step:not(:last-child){ border-right:1px dashed var(--line); }
.flow-step .k{ font-family:'JetBrains Mono'; color:#9aa4bd; font-size:12px; }
.flow-step h4{ font-size:15.5px; margin:8px 0 6px; }
.flow-step p{ font-size:13.5px; color:var(--slate2); line-height:1.55; }

/* ---------- cta banner ---------- */
.cta-banner{
  background:linear-gradient(120deg, var(--navy-950), var(--navy-800));
  border-radius:24px; padding:56px 50px; display:flex; align-items:center; justify-content:space-between; gap:30px;
  color:#fff; position:relative; overflow:hidden;
}
.cta-banner::before{
  content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size:22px 22px; opacity:.5;
}
.cta-banner .txt{ position:relative; max-width:520px; }
.cta-banner h2{ font-size:28px; margin-bottom:10px; }
.cta-banner h2 span{ color:var(--gold-400); }
.cta-banner p{ color:#c4cde2; font-size:15px; }
.cta-banner .actions{ position:relative; display:flex; gap:12px; flex-shrink:0; }

/* ---------- ulasan (reviews) ---------- */
.ulasan-section{ background:var(--paper); }
.rating-summary{
  display:flex; align-items:center; gap:26px; flex-wrap:wrap; margin-bottom:34px;
  padding:22px 26px; border:1px solid var(--line); border-radius:16px; background:#fbfbfd;
}
.rating-summary .badge-excellent{ font-family:'Space Grotesk'; font-weight:700; font-size:18px; }
.rating-summary .stars-row{ display:flex; gap:3px; margin:6px 0; }
.rating-summary .sub{ font-size:13.5px; color:var(--slate2); }
.rating-summary .sub b{ color:var(--ink); }
.rating-summary .g-mark{ margin-left:auto; display:flex; align-items:center; gap:8px; font-family:'Space Grotesk'; font-weight:700; font-size:20px; color:#5f6368; }

.review-track-wrap{ position:relative; }
.review-track{
  display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px;
  scrollbar-width:none;
}
.review-track::-webkit-scrollbar{ display:none; }
.review-card{
  scroll-snap-align:start; flex:0 0 320px; background:var(--paper); border:1px solid var(--line); border-radius:16px;
  padding:22px; display:flex; flex-direction:column; gap:10px;
}
.review-head{ display:flex; align-items:center; gap:12px; }
.review-avatar{
  width:42px; height:42px; border-radius:50%; background:var(--navy-900); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13.5px; flex:none; font-family:'Space Grotesk';
}
.review-name{ font-size:14.5px; font-weight:700; }
.review-stars{ display:flex; gap:2px; margin-top:2px; }
.review-text{ font-size:13.5px; color:var(--slate2); line-height:1.65; }
.review-nav{ display:flex; gap:10px; margin-top:18px; }
.review-nav button{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.review-nav button:hover{ background:#f2f3f8; }

.review-cta{ text-align:center; margin-top:30px; }
.review-cta p{ color:var(--slate2); font-size:14px; margin-bottom:14px; }

.review-form-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:32px; max-width:640px; margin:0 auto; }
.star-picker{ display:flex; gap:8px; }
.star-picker button{ background:none; border:none; cursor:pointer; padding:2px; line-height:0; }
.star-picker button svg{ width:32px; height:32px; transition:transform .15s; pointer-events:none; }
.star-picker button:hover svg{ transform:scale(1.1); }

/* ---------- kontak page ---------- */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; align-items:start; }
.contact-info{ display:flex; flex-direction:column; gap:18px; }
.contact-card{ background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:20px 22px; display:flex; gap:14px; align-items:flex-start; }
.contact-card .ic{ width:42px; height:42px; border-radius:11px; background:var(--navy-900); color:var(--gold-400); display:flex; align-items:center; justify-content:center; flex:none; }
.contact-card .ic svg{ width:20px; height:20px; }
.contact-card h4{ font-size:14.5px; margin-bottom:4px; }
.contact-card p, .contact-card a{ font-size:14px; color:var(--slate2); }
.form-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:32px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:7px; color:var(--ink); }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px; font-family:inherit; font-size:14.5px;
  background:#fbfbfd; transition:border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--gold-500); background:#fff; }
.field.full{ grid-column:1/-1; margin-bottom:16px; }
.alert{ padding:14px 18px; border-radius:10px; font-size:14px; margin-bottom:20px; }
.alert-success{ background:#e7f8ef; color:#1a7f4f; border:1px solid #b9ecd0; }
.alert-error{ background:#fdecec; color:#b3261e; border:1px solid #f6c6c3; }

/* ---------- footer ---------- */
footer.site-footer{ background:var(--navy-950); color:#c7d0e6; padding:52px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand .brand-name{ color:#fff; }
.footer-brand p{ margin-top:14px; font-size:14px; color:#93a0c2; max-width:300px; line-height:1.6; }
.foot-col h4{ font-size:13px; color:#fff; margin-bottom:16px; letter-spacing:.03em; }
.foot-col a{ display:flex; align-items:center; gap:10px; font-size:14px; color:#aab6d4; margin-bottom:12px; transition:color .2s; }
.foot-col a:hover{ color:#fff; }
.foot-bottom{ display:flex; justify-content:space-between; padding-top:24px; font-size:13px; color:#7684a8; flex-wrap:wrap; gap:10px; }

/* ---------- floating whatsapp ---------- */
.wa-fab{
  position:fixed; right:26px; bottom:26px; z-index:100;
  width:60px; height:60px; border-radius:50%;
  background:#22c35e; display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -8px rgba(34,195,94,.6);
  transition:transform .2s;
}
.wa-fab:hover{ transform:scale(1.06); }
.wa-ring{ position:absolute; inset:0; border-radius:50%; border:2px solid #22c35e; animation:pulse 2.2s ease-out infinite; }
@keyframes pulse{ 0%{ transform:scale(1); opacity:.7;} 100%{ transform:scale(1.9); opacity:0;} }
.wa-tip{
  position:absolute; right:72px; bottom:14px; background:#0f1e3d; color:#fff; font-size:13px;
  padding:10px 14px; border-radius:10px; white-space:nowrap; opacity:0; pointer-events:none; transform:translateX(8px);
  transition:opacity .2s, transform .2s; font-weight:500;
}
.wa-fab:hover + .wa-tip, .wa-tip:hover{ opacity:1; transform:translateX(0); pointer-events:auto; }
@media (prefers-reduced-motion: reduce){ .wa-ring{ animation:none; } }

/* =========================================================
   Responsive — tablet & mobile
   ========================================================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .footer-brand{ grid-column:1/-1; }
  .flow{ flex-direction:column; }
  .flow-step:not(:last-child)::after{ display:none; }
  .flow-step:not(:last-child){ border-right:none; border-bottom:1px dashed var(--line); }
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width: 720px){
  .wrap{ padding:0 20px; }
  .nav-links{
    position:fixed; top:76px; left:0; right:0; background:var(--navy-950);
    flex-direction:column; align-items:flex-start; gap:0; padding:10px 20px 20px;
    border-bottom:1px solid rgba(255,255,255,.08);
    transform:translateY(-130%); opacity:0; pointer-events:none; transition:transform .25s ease, opacity .25s ease;
  }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-links a{ padding:12px 0; width:100%; border-bottom:1px solid rgba(255,255,255,.06); }
  .nav-cta{ display:none; }
  .burger{ display:flex; }
  .hero{ padding:56px 0 70px; }
  .hero h1{ font-size:32px; }
  .hero-stats{ row-gap:16px; }
  .services-grid{ grid-template-columns:1fr; }
  .section-head h2{ font-size:27px; }
  .cta-banner{ flex-direction:column; text-align:center; padding:36px 24px; }
  .cta-banner .actions{ flex-direction:column; width:100%; }
  .footer-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  section{ padding:64px 0; }
}
