:root {
    --orange:#D9F203; 
    --primary: #18237C; 
    --dark:#00115C; 
    --ink:#141414;
    --muted:#6b7280; 
    --bg:#ffffff;
}

*{box-sizing:border-box}
html,body{
    margin:0;
    padding:0;
    background:var(--bg);
    color:var(--ink);
    font-family:'Rubik',system-ui,-apple-system,Segoe UI,Roboto;
}
a {
    color:inherit;
    text-decoration:none;
}
img {
    max-width:100%;
    display:block;
}

/* Container */
.wrap {
    max-width:80%;
    margin-inline:auto;
    padding-inline:20px;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 14px 0;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent; /* awalnya transparan */
  box-shadow: none;
  z-index: 99;
}
.topbar.scrolled {
  background: #fff; /* jadi putih saat discroll */
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.topbar__inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 0;
}

/* Logo */
.logo {
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
}
.logo-badge {
    width:100px;
    height:auto;
    border-radius:10px;
    display:grid;
    place-items:center;
}
.logo-badge svg {
    width:24px;
    height:24px;
    filter:drop-shadow(0 1px 0 rgba(0,0,0,.15));
}
.logo-title {
    line-height:1;
}
.logo-title b {
    display:block;
    font-family:'Changa One', serif;
    font-size:15px;
    letter-spacing:.5px;
}
.logo-title span {
    font-size:12px;
    color:var(--muted);
}

/* Nav */
.nav {
    display:flex;
    align-items:center;
    gap:24px;
}
.nav a {
    font-size:14px;
    color:#111;
    opacity:.85;
    font-weight: 700;
}
.nav a:hover {
    opacity:1;
}
.btn {
    display:inline-flex;
    align-items:center;
    gap:.5rem;border:0;
    border-radius:999px;
    padding:10px 16px;
    font-weight:600;
    cursor:pointer;
    transition:.2s ease;
}
.btn--ghost {
    background:#fff;
    border:2px solid var(--primary);
    color:var(--primary);
}
.btn--ghost:hover {
    transform:translateY(-1px);
    box-shadow:0 6px 14px rgba(166,0,0,.15);
}
.btn--solid {
    background:var(--primary);
    color:#fff;
}
.btn--solid:hover {
    filter:brightness(.95);
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(111,4,4,.25);
}

.hamburger {
    display:none;
    flex-direction:column;
    gap:4px;
    border:0;
    background:transparent;
}
.hamburger span {
    width:22px;
    height:2px;
    background:#111;
}

/* Hero */
.hero {
    position:relative;
    overflow:hidden;
    height: 500px;
}
.hero__inner {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    align-items:center;
    gap:32px;
    padding:48px 0 56px;
}

.hero h1 {
    margin:0;
    font-family:'Changa One', serif;
    letter-spacing:2px;
    font-size:56px;
    line-height:1.04;
}
.hero h1 .accent {
    color:var(--primary)
}
.hero h1 .accent2 {
    color:transparent;
    -webkit-text-stroke: .5px var(--dark);
}
.accent-x {
    color: transparent;
    -webkit-text-stroke: 1px var(--orange);
    font-size: 70px;
    margin-left: 3px;
}
.lead {
    margin-top:16px;
    color:#374151;
    max-width:560px;
}
.cta {
    margin-top:22px;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

/* Orange blob */
.blob {
    position:absolute;
    right:-100px;
    top:-100px;
    width:620px;
    height:500px;
    background:var(--orange);
    transform:rotate(-18deg);
    border-bottom-left-radius:70% 90%;
    border-bottom-right-radius:10% 15%;
    border-top-left-radius:70% 90%;
    box-shadow:0 30px 40px rgba(255,161,0,.25)
}

/* Card mock */
.card-wrap {
    position:relative
}
.member-card {
    width:min(470px,92%);
    border-radius:14px;
    transform:rotate(9deg);
}
.member-card__head {
    display:flex;
    align-items:center;
    gap:20px;
    padding:14px 16px;
}
.member-card__head img {
    border: 1px solid #e5e7eb;
}
.brandchip {
    display:flex;
    align-items:center;
    gap:8px
}
.brandchip b {
    font-family:'Changa One', serif;
    font-size:18px;
    letter-spacing:.6px;
    color:var(--primary)
}
.chip {
    margin-left:auto;
    background:var(--primary);
    color:#fff;
    font-size:12px;
    padding:6px 10px;
    border-radius:6px
}

.member-card__body {
    display:grid;
    grid-template-columns:84px 1fr;
    gap:16px;
    padding:16px
}
.avatar {
    width:84px;
    height:84px;
    border-radius:12px;
    background:linear-gradient(135deg,#f3f4f6,#e5e7eb);
    display:grid;
    place-items:center;
    font-weight:700;
    color:#6b7280;
}
.person h4 {
    margin:0 0 6px;
    font-weight:700;
}
.person small {
    color:#6b7280;
}

.barcode {
    margin-top:12px;
    width:100%;
    height:38px;
    background:repeating-linear-gradient(90deg,#111 0 3px,#fff 3px 6px);
    border-radius:4px;
}
.member-card__footer {
    padding:10px 16px;
    border-top:1px dashed #e5e7eb;
    color:#6b7280;
    font-size:12px;
    display:flex;
    justify-content:space-between;
}

.card-ribbon {
    position:absolute;
    right:-20px;
    bottom:-26px;
    background:var(--dark);
    color:#fff;
    padding:16px 14px;
    border-radius:10px;
    transform:rotate(-6deg);
    box-shadow:0 12px 26px rgba(111,4,4,.28);
}

/* Sections skeleton for anchors */
section {
    padding:64px 0;
    border-top:1px solid #f1f5f9;
}
section h2 {
    font-size:28px;
    margin: 20px auto;
    text-align: center;
}
.grid-3 {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.card {
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:18px;
}
#benefit h2 {
    margin-bottom: 30px;
    color: var(--primary);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.benefit-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 48px 20px 24px; /* tambah space atas buat icon */
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .2s;
  margin-top : 20px;
}
.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-card .icon {
  position: absolute;
  top: -28px;             /* naik ke atas */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #00115C;         /* warna icon */
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.benefit-card h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #18237C;
}

.benefit-card p {
  margin-top: 6px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.why{
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 40px 0 90px;
  text-align: center;
  overflow: hidden;
  background-image: url('../images/bg-sparx.png');
}

.why h2{
  margin: 0 0 90px;
  font-weight: 800;
  letter-spacing:.3px;
}

.why__stats{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  justify-items: center;
}

.why .item{ 
  border-radius: 12px;
  padding: 18px 14px;
  min-width: 180px;
}

.why .num{
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--orange);
}

.why .cap{
  font-size: 14px;
  font-weight: 700;
  opacity: .95;
}

/* Responsive */
@media (max-width: 900px){
  .why__stats{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 540px){
  .why__stats{ grid-template-columns: 1fr; }
}

.price {
    font-size:28px;
    font-weight:800;
    color:var(--dark);
}
.card.featured {
  border-color: var(--orange);
  box-shadow: 0 10px 22px rgba(255,161,0,.15);
}
.card.featured .btn {
  background: var(--orange);
  color: #111;
}


/* FAQ */
.faq .item {
    border:1px solid #e5e7eb;
    border-radius:12px;
    margin-bottom:12px;
}
.faq summary {
    cursor:pointer;
    padding:14px 16px;
    font-weight:600;
    list-style:none;
}
.faq summary::-webkit-details-marker {
    display:none;
}
.faq .content {
    padding:0 16px 16px;
    color:#4b5563;
}

/* ===== CTA Section ===== */
.cta{
  padding: 44px 0 56px;
  text-align: center;
}

.cta h2{
  margin: 0 0 10px;
  font-weight: 800;                  /* atau 'Changa One' jika dipakai untuk heading */
}

.cta-sub{
  max-width: 700px;
  margin: 0 auto 24px;
  color: #1f2937;                    /* abu-abu gelap */
}

.cta-actions{
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 2px solid transparent;
}

/* Primary solid */
.btn-primary{
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 16px rgba(111,4,4,.18);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(111,4,4,.26);
  background: var(--dark);
}

/* Outline */
.btn-outline{
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
.btn-outline:hover{
  transform: translateY(-2px);
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* Fokus aksesibilitas */
.btn-cta:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Responsive spacing */
@media (max-width: 460px){
  .btn-cta{ width: 100%; justify-content: center; }
}

/* Footer */
footer {
    padding:48px 0;
    color:#6b7280;
    text-align:center;
}

/* Responsive */
@media (max-width: 960px) {
    .hero__inner {
        grid-template-columns:1fr;
        gap:22px;
    }
    .blob {
        right:-220px;
        top:-120px;
        width:540px;
        height:540px;
    }
    .member-card {
        margin:0 0 6px auto;
    }
}
@media (max-width: 720px) {
    .nav {
        display:none;
        position:absolute;
        inset-inline:0;
        top:60px;
        background:#fff;
        padding:12px 20px;
        border-bottom:1px solid #eef2f7;
    }
    .nav.is-open {
        display:flex;
        flex-direction:column;
        gap:12px;
    }
    .hamburger {
        display:flex;
    }
    .hero h1 {
        font-size:38px;
    }
}