:root{
  --bg:#0c0f16;        /* latar gelap kebiruan */
  --bg-soft:#101522;   /* panel */
  --fg:#e8ecf3;        /* teks utama */
  --muted:#a9b1c3;     /* teks sekunder */
  --brand:#d4af37;     /* emas */
  --brand-2:#ff2f6d;   /* aksen */
  --ok:#22c55e;
  --warn:#f59e0b;
  --err:#ef4444;
  --card-r:18px;
  --shadow:0 8px 28px rgba(0,0,0,.35);
  --maxw:1200px;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,'Noto Sans',sans-serif;
}

a{
  color:var(--brand);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.wrap{
  max-width:var(--maxw);
  margin:auto;
  padding:0 16px;
}

/* Header / Navbar */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(12,15,22,.8);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid rgba(212,175,55,.18);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand .logo{
  width:148px;
  height:40px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(212,175,55,.15),rgba(255,255,255,.06));
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 0 0 1px rgba(212,175,55,.25);
}

.brand .logo img{
  max-height:32px;
  width:auto;
}

.nav-links{
  display:flex;
  gap:18px;
}

.nav-links a{
  font-weight:600;
  color:var(--fg);
}

.cta{
  display:flex;
  gap:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 16px;
  border-radius:999px;
  font-weight:700;
  border:1px solid transparent;
  transition:transform .06s ease,box-shadow .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:linear-gradient(135deg,#e7c95b,#d4af37);
  color:#101114;
  box-shadow:0 6px 18px rgba(212,175,55,.35);
}

.btn-ghost{
  border-color:rgba(232,236,243,.2);
  color:var(--fg);
  background:rgba(255,255,255,.02);
}

/* Hamburger */
.hamb{
  display:none;
  flex-direction:column;
  gap:5px;
}

.hamb span{
  width:24px;
  height:2px;
  background:var(--fg);
  display:block;
  border-radius:2px;
}

#nav-toggle{
  display:none;
}

@media (max-width:960px){
  .nav-links{display:none;}
  .hamb{display:flex;}
  #nav-toggle:checked + .offcanvas{transform:translateX(0);}
}

/* Offcanvas */
.offcanvas{
  position:fixed;
  inset:0 0 0 auto;
  width:min(86%,380px);
  background:var(--bg-soft);
  transform:translateX(100%);
  transition:transform .3s ease;
  box-shadow:var(--shadow);
  padding:20px;
}

.offcanvas a{
  display:block;
  padding:14px 8px;
  color:var(--fg);
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* Hero */
.hero{
  padding:48px 0 24px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:26px;
  margin:10px;
}

.hero h1{
  font-size:clamp(28px,3vw,40px);
  line-height:1.15;
  margin:10px 0 14px;
  text-align:center;
}

.hero p{
  color:var(--muted);
  margin:0 0 20px;
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0 22px;
}

.badge{
  border:1px solid rgba(212,175,55,.35);
  color:#f6e8a6;
  background:linear-gradient(135deg,rgba(212,175,55,.08),rgba(255,255,255,.02));
  padding:8px 12px;
  border-radius:999px;
  font-weight:600;
  font-size:15px;
}

.hero-card{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.08);
  padding:18px;
  border-radius:var(--card-r);
  box-shadow:var(--shadow);
}

.hero-figure{
  aspect-ratio:1/1;
  border-radius:16px;
  background:radial-gradient(120% 120% at 10% 10%,rgba(212,175,55,.18),rgba(255,255,255,.02));
  display:grid;
  place-items:center;
  overflow:hidden;
}

.hero-figure img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Sections */
section{
  padding:44px 0;
}

.sec-title{
  display:flex;
  align-items:center;
  justify-content:space-around;
  margin:14px;
}

.sec-title h2{
  font-size:clamp(22px,2.4vw,30px);
  margin:0;
}

.grid{
  display:grid;
  gap:20px;
}

.grid.cols-3{
  grid-template-columns:repeat(3,1fr);
}

.grid.cols-2{
  grid-template-columns:repeat(2,1fr);
}

.card{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--card-r);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.card .thumb{
  height:160px;
  background:#0b0e14;
  display:block;
}

.card .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.card .content{
  padding:16px;
}

.card h3{
  margin:0 0 8px;
  font-size:18px;
}

.meta{
  font-size:12px;
  color:var(--muted);
}

/* Prose (konten utama) */
.prose{
  color:var(--fg);
}

.prose p{
  line-height:1.75;
  margin:0 0 1rem;
  color:var(--muted);
}

.prose h2,
.prose h3{
  line-height:1.2;
  margin:1.2rem 0 .6rem;
}

.prose ul{
  margin:.6rem 0 1rem;
  padding-left:1.2rem;
}

.prose li{
  margin:.25rem 0;
}

/* Divider util */
.divider{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
  margin:24px 0;
}

/* FAQ */
.faq-item{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px 16px;
  background:rgba(255,255,255,.02);
}

details{
  cursor:pointer;
}

summary{
  list-style:none;
  font-weight:700;
}

summary::-webkit-details-marker{
  display:none;
}

.faq-item p{
  color:var(--muted);
  margin:8px 0 0;
}

/* Trust bar */
.trust{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.trust .pill{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-weight:600;
}

/* Footer */
footer{
  margin-top:24px;
  padding:28px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(0deg,rgba(255,255,255,.02),rgba(255,255,255,0));
}

.foot-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:20px;
}

.foot h4{
  margin:0 0 10px;
}

.foot a{
  display:block;
  color:var(--muted);
  padding:6px 0;
}

.copyright{
  margin-top:12px;
  color:var(--muted);
  font-size:12px;
}

/* Utility */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
}

/* Responsive tweaks */
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;}
  .grid.cols-3{grid-template-columns:1fr 1fr;}
}

@media (max-width:640px){
  .grid.cols-3,
  .grid.cols-2{grid-template-columns:1fr;}
}

@media (min-width:960px){
  section{padding:56px 0;}
}
