/* ==========================================================================
   THEME TOKENS (CSS Variables)
   ========================================================================== */
:root{
  --bg:#090b10;
  --bg-soft:#0d1118;
  --card:#0f141d;
  --text:#e9edf5;
  --muted:#9aa7bd;
  --gold:#f5a623;
  --gold-2:#ffcc4c;
  --ring:#ffffff18;
  --border:#ffffff14;
  --radius:22px;
  --shadow:0 24px 60px rgba(0,0,0,.55);
  --promo-h:40px;

  /* animasi reveal */
  --reveal-dur:.36s;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:
    radial-gradient(1000px 600px at -10% -20%, rgba(245,166,35,.08), transparent 60%),
    radial-gradient(900px 600px at 110% -10%, rgba(255,204,76,.07), transparent 55%),
    var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
.container{width:min(1200px,92%);margin-inline:auto}

/* Gradient emas untuk teks judul */
.gradient-text{
  background-image: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Utility a11y */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(180deg,#090b10e6,#090b10d5 60%,transparent);
  backdrop-filter:blur(10px);
}
body.has-promo header{top:0;}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.3px;
}
.brand span{color:var(--gold)}
.logo{
  width:28px;
  height:28px;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(255,204,76,.25);
}

/* DESKTOP NAV */
.nav-links{
  display:flex;
  gap:10px;
  align-items:center;
}
.nav-links a{
  padding:10px 14px;
  border-radius:14px;
  color:#c9d5ea;
  border:1px solid transparent;
  transition:background .22s ease,color .22s ease,transform .12s ease;
}
.nav-links a:hover{
  background:#0f141d;
  color:#e9edf5;
}
.nav-links a:focus-visible{
  outline:2px solid rgba(255,204,76,.55);
  outline-offset:2px;
  border-radius:14px;
}
.nav-links a.active{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  font-weight:900;
  box-shadow:0 6px 22px rgba(255,204,76,.25);
}
.nav-links .cta{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  border:0;
  font-weight:900;
}
.nav-links .cta:hover{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  filter:brightness(1.03);
  box-shadow:0 6px 22px rgba(255,204,76,.28);
  transform:translateY(-1px);
}
.nav-links .cta:active{transform:translateY(0)}
.nav-links a:not(.cta):hover{
  box-shadow:inset 0 -2px 0 rgba(255,204,76,.65);
}

/* HAMBURGER */
.menu-btn{
  display:none;
  border:0;
  background:none;
  cursor:pointer;
  padding:4px;
}
.menu-btn span{
  width:26px;
  height:2px;
  background:#c2cde2;
  display:block;
  border-radius:2px;
  margin:5px 0;
}

/* MOBILE NAV (default behavior) */
@media (max-width:980px){
  .menu-btn{
    display:block;
    z-index:90;
  }

  .nav-links{
    display:none;
  }

  .nav-links.open{
    display:flex;
    position:fixed;
    inset:72px 12px auto 12px;
    z-index:80;
    flex-direction:column;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:16px;
    padding:12px;
    box-shadow:0 24px 60px rgba(0,0,0,.65);
  }
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.section{padding:20px 0}
.page-hero{
  padding:128px 0 42px;
  background:
    radial-gradient(600px 300px at 10% -5%, rgba(245,166,35,.12), transparent 60%),
    radial-gradient(500px 260px at 85% -10%, rgba(245,166,35,.10), transparent 55%);
}
.title{
  font-size:clamp(28px,3.5vw,42px);
  margin:0 0 10px;
  font-weight:900;
}
.lead{
  color:var(--muted);
  max-width:68ch;
  text-align: justify;
}
.lead2{
  color:var(--muted);
  max-width:68ch;
  text-align:center;
  margin:0 auto;
}

.grid{display:grid;gap:14px}
.grid-2{grid-template-columns:1.15fr .85fr}
.grid-3{grid-template-columns:repeat(3,1fr)}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--ring);
  background:#0c121b;
  color:#ffd98b;
  font-weight:800;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--ring);
  background:#0c121b;
  color:#ffe9ad;
}
.btn.primary{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  border:0;
  font-weight:900;
}
.btn.ghost{background:#0c121b}

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:12px;
}
.stat{
  background:#0b1018;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  text-align:center;
}
.h3{font-weight:900;font-size:24px;color:#ffe28a}
.cursor{display:inline-block;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
hr.sep{border:0;border-top:1px solid var(--border);margin:18px 0}

/* ==========================================================================
   HERO COMPOSITE
   ========================================================================== */
.hero-wrap{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:22px;
  align-items:center;
  position:relative;
  isolation:isolate;
}
.hero-wrap > div:first-child{position:relative;z-index:2}
.hero-card{position:relative;overflow:visible;z-index:1}
.hero-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:16px;
  opacity:.95;
}
.hero-ribbon{
  position:absolute;
  top:-12px;
  left:18px;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
}
.hero-title{line-height:1.05}

/* ==========================================================================
   CARD GRID
   ========================================================================== */
.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

@media(max-width:1100px){
  .grid-2,.grid-3,.cards,.hero-wrap{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  border-top:1px solid var(--border);
  padding:20px 0;
  color:#a7b3c8;
}
.foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:
    transform var(--reveal-dur,.36s) cubic-bezier(.2,.8,.2,1),
    opacity  var(--reveal-dur,.36s);
}
.reveal--left{transform:translateX(-18px)}
.reveal--right{transform:translateX(18px)}
.reveal.is-inview{opacity:1;transform:none}

.btn,.hero-btn,.cta{position:relative;overflow:hidden}
.ripple{
  position:absolute;
  border-radius:50%;
  transform:scale(0);
  animation:ripple .6s linear;
  background:rgba(255,204,76,.35);
  pointer-events:none;
}
@keyframes ripple{to{transform:scale(16);opacity:0}}

.h3.glow{
  text-shadow:0 0 14px rgba(245,166,35,.45),
               0 0 42px rgba(255,204,76,.35);
}

/* ==========================================================================
   CHIPS & GALLERY
   ========================================================================== */

/* versi baru: pakai grid */
.chips{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:10px;
  margin-top:14px;
}
.chip{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  border:0;
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
  display:inline-flex;
  gap:8px;
  align-items:baseline;
  justify-content:center;
  box-shadow:0 10px 22px rgba(255,204,76,.18);
  width:100%;
}
.chip .small{font-size:12px;opacity:.9}
.chip.dark{
  background:#1809e6;
  color:#ffffff;
  border:1px solid var(--ring);
  box-shadow:none;
}

/* two-col */
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
@media (max-width:680px){
  .two-col{grid-template-columns:1fr}
}

/* Pamflet */
.pamflet{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:12px;
}
.pamflet img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
@media(max-width:860px){
  .pamflet{grid-template-columns:1fr}
}

/* ==========================================================================
   PROMO BAR (Top Announcement)
   ========================================================================== */
/* Promo bar muncul di dalam header (via #promoMount) */
header .promo-bar{
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg,#0c0f15,rgba(245,166,35,.14),#0c0f15);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: stretch;
}

/* area klik menuju halaman promo */
.promo-link{
  flex: 1;
}

/* isi promo */
.promo-inner{
  height: var(--promo-h);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#ffe9ad;
  padding-inline:10px;
}
.promo-badge{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  font-weight:900;
  border-radius:999px;
  padding:4px 10px;
  box-shadow:0 4px 12px rgba(255,204,76,.25);
}
.promo-msg{opacity:.95}

/* tombol X di kanan */
.promo-close{
  margin-left:auto;
  margin-right:12px;
  background:none;
  border:1px solid var(--ring);
  color:#ffd98b;
  border-radius:10px;
  height:28px;
  width:28px;
  display:inline-grid;
  place-content:center;
  cursor:pointer;
}
@media(max-width:720px){
  .promo-inner{font-size:14px}
}

/* ==========================================================================
   PROMO TABLE (8+1) — ADAPTIF HP
   ========================================================================== */
.promo-wrap{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
@media(max-width:980px){
  .promo-wrap{grid-template-columns:1fr}
}

.promo-table{
  width:100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
  font-size:clamp(13px,1.6vw,16px);
  line-height:1.35;
}
.promo-table th,
.promo-table td{
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  text-align:left;
  white-space:normal;
  word-break:break-word;
}
.promo-table th{
  background:#0b1018;
  color:#ffd98b;
  font-weight:900;
}
.promo-table tr:last-child td{border-bottom:0}
.promo-hit{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  font-weight:900;
}

/* Badge “REKOMENDASI” dalam tabel */
.promo-table .promo-badge{
  font-size:.86em;
  padding:.35em .7em;
  line-height:1.05;
  margin-left:.5em;
  white-space:nowrap;
  border-radius:999px;
  gap:.4em;
  background:#0c121b;
  border:1px solid var(--ring);
  color:#ffe9ad;
}

/* Proporsi kolom desktop */
@media(min-width:981px){
  .promo-table th:nth-child(1),
  .promo-table td:nth-child(1){width:32%}
  .promo-table th:nth-child(2),
  .promo-table td:nth-child(2){width:18%}
  .promo-table th:nth-child(3),
  .promo-table td:nth-child(3){width:20%}
  .promo-table th:nth-child(4),
  .promo-table td:nth-child(4){width:30%}
}

/* HP kecil */
@media(max-width:560px){
  .promo-table{font-size:12px}
  .promo-table th,
  .promo-table td{padding:8px 10px}
  .promo-table .promo-badge{
    font-size:.82em;
    padding:.3em .6em;
    margin-left:.45em;
  }
}
@media(max-width:400px){
  .promo-table th:nth-child(1),
  .promo-table td:nth-child(1){width:36%}
  .promo-table th:nth-child(4),
  .promo-table td:nth-child(4){width:28%}
}

/* ==========================================================================
   SOFT NAVIGATION (fade overlay)
   ========================================================================== */
.page-veil{
  position:fixed;
  inset:0;
  background:var(--bg);
  z-index:1000;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
.page-veil.show{opacity:1;pointer-events:auto}
.hero-card,.hero-card img,.reveal{will-change:transform}
@media(prefers-reduced-motion:reduce){
  .page-veil{transition:none}
}

/* ==========================================================================
   SECTION VARIAN & FEATURE GRID (KELEBIHAN RDP)
   ========================================================================== */
.section-alt{
  padding:28px 0 40px;
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(245,166,35,.10), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(15, 20, 29, 0.95), transparent 55%),
    var(--bg-soft);
}

/* Section-head */
.section-head{
  text-align:center;
  margin-bottom:18px;
}
.section-head .title{margin-bottom:6px}
.section-head .lead{
  margin:0 auto;
  max-width:60ch;
}
.eyebrow-pill{
  display:inline-block;
  padding:6px 12px;
  border-radius:9px;
  font-weight:900;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  box-shadow:0 6px 18px rgba(255,204,76,.20);
  margin-bottom:8px;
  font-size:clamp(24px,5.6vw,32px);
}
.section-cta{
  margin-top:14px;
  display:flex;
  justify-content:flex-end;
}
.section-cta .btn{font-weight:800}

@media (max-width:680px){
  .section-head .title{font-size:clamp(24px,5.6vw,32px)}
  .section-head .lead{font-size:14px}
}

.tegas{color:var(--gold)}

/* Pamflet heading */
.pamflet-title{
  text-align:center;
  font-size:28px;
  font-weight:900;
  margin-bottom:6px;
  letter-spacing:.5px;
  background:linear-gradient(135deg,#ffd778,#f5a623);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.pamflet-sub{
  text-align:center;
  font-size:15px;
  color:var(--muted);
  margin-bottom:22px;
}

/* Grid kelebihan */
.feature-grid{
  margin-top:18px;
  align-items:stretch;
}

/* Card kelebihan */
.card.feature-card{
  position:relative;
  padding:18px 18px 16px;
  background:
    radial-gradient(260px 260px at 0% 0%, rgba(245,166,35,0.12), transparent 60%),
    #0f141d;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:var(--shadow);
  transition:
    transform 0.16s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.2s ease-out,
    background 0.22s ease-out;
}
.card.feature-card:hover{
  transform:translateY(-4px);
  border-color:rgba(245,166,35,0.78);
  box-shadow:0 26px 70px rgba(0,0,0,0.78);
  background:
    radial-gradient(320px 320px at 0% 0%, rgba(245,166,35,0.20), transparent 65%),
    #101623;
}
.feature-card h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:.2px;
}
.warna-kartu{
  background-image:linear-gradient(135deg,var(--gold),var(--gold-2));
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}
.feature-card p{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  text-align:justify;
}

/* Highlight Fitur Baru */
.feature-card--new{
  background:
    radial-gradient(520px 420px at 0% 0%, rgba(245,166,35,.28), transparent 62%),
    linear-gradient(180deg,#162131 0%,#0f141d 100%);
  border:1px solid rgba(255,214,120,.65);
  box-shadow:
    0 28px 72px rgba(0,0,0,.82),
    0 0 0 1px rgba(255,214,120,.16) inset;
  position:relative;
  overflow:hidden;
}
.feature-card--new::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:var(--radius);
  pointer-events:none;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  opacity:.16;
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding:1px;
  -webkit-mask-composite:xor;
          mask-composite:exclude;
}
.feature-card--new .warna-kartu{
  text-shadow:0 0 14px rgba(245,166,35,.35),
              0 0 36px rgba(255,204,76,.28);
}
.tag-new{
  position:absolute;
  top:12px;
  right:12px;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  color:#1a1200;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  box-shadow:0 10px 24px rgba(255,204,76,.38);
  animation:newPulse 1.9s ease-in-out infinite;
}
@keyframes newPulse{
  0%,100%{transform:scale(1);filter:brightness(1)}
  50%{transform:scale(1.05);filter:brightness(1.07)}
}
.feature-card--new .feature-lead{
  margin:2px 0 8px;
  color:#ffecb0;
  line-height:1.55;
  text-align:justify;
}

@media (max-width:900px){
  .feature-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .feature-grid{grid-template-columns:1fr}
  .tag-new{
    top:10px;
    right:10px;
    font-size:11px;
    padding:3px 9px;
  }
}

/* Base gaya list custom */
.list-ring,
.list-dot,
.list-square,
.list-diamond,
.list-dash,
.list-arrow,
.list-check{
  margin:10px 0 0;
  padding:0;
  list-style:none;
}
.list-ring li,
.list-dot li,
.list-square li,
.list-diamond li,
.list-dash li,
.list-arrow li,
.list-check li{
  position:relative;
  margin:8px 0;
  padding-left:28px;
  line-height:1.6;
  color:var(--muted);
  text-align:justify;
}
.list-ring li::before,
.list-dot li::before,
.list-square li::before,
.list-diamond li::before,
.list-dash li::before,
.list-arrow li::before,
.list-check li::before{
  position:absolute;
  left:0;
  top:0.85em;
  transform:translateY(-50%);
  content:"";
}
.list-ring li::before{
  width:10px;height:10px;border-radius:50%;
  border:2px solid var(--gold-2);
  background:transparent;
  box-shadow:0 0 0 2px rgba(255,204,76,.14);
}
.list-dot li::before{
  width:10px;height:10px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  box-shadow:0 0 0 2px rgba(255,204,76,.18);
}
.list-square li::before{
  width:10px;height:10px;border-radius:3px;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  box-shadow:0 0 0 2px rgba(255,204,76,.18);
}
.list-diamond li::before{
  width:10px;height:10px;border-radius:2px;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  transform:translateY(-50%) rotate(45deg);
  box-shadow:0 0 0 2px rgba(255,204,76,.18);
}
.list-dash li{padding-left:22px}
.list-dash li::before{
  content:"—";
  transform:none;
  top:0;
  left:0;
  color:var(--gold-2);
  font-weight:900;
}
.list-arrow li{padding-left:22px}
.list-arrow li::before{
  content:"›";
  transform:none;
  top:0;
  left:0;
  color:var(--gold-2);
  font-weight:900;
}
.list-check li{padding-left:24px}
.list-check li::before{
  content:"✓";
  transform:none;
  top:0;
  left:0;
  color:var(--gold-2);
  font-weight:900;
}

/* CTA bawah section */
.section-cta--bottom{
  justify-content:center;
  margin-top:22px;
  padding-top:14px;
  border-top:1px solid var(--border);
}
.btn-cta{
  padding:14px 22px;
  border-radius:999px;
  font-weight:900;
  gap:.7rem;
  box-shadow:
    0 14px 38px rgba(255,204,76,.26),
    0 2px 0 rgba(0,0,0,.25) inset;
  transform:translateY(0);
  transition:transform .18s ease, box-shadow .22s ease, filter .2s ease;
}
.btn-cta:hover{
  filter:brightness(1.04);
  transform:translateY(-2px);
  box-shadow:
    0 18px 46px rgba(255,204,76,.32),
    0 2px 0 rgba(0,0,0,.25) inset;
}
.btn-cta:active{transform:translateY(0);}
.cta-arrow{opacity:.9;flex-shrink:0;}
.btn--shine{position:relative;overflow:hidden}
.btn--shine::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,0) 30%,
      rgba(255,255,255,.35) 50%,
      rgba(255,255,255,0) 70%);
  transform:translateX(-120%) skewX(-20deg);
  transition:transform .6s ease;
  pointer-events:none;
}
.btn--shine:hover::after{transform:translateX(120%) skewX(-20deg)}
.btn--pulse{
  animation:ctaPulse 2.2s ease-in-out infinite;
}
@keyframes ctaPulse{
  0%,100%{
    box-shadow:
      0 14px 38px rgba(255,204,76,.26),
      0 2px 0 rgba(0,0,0,.25) inset;
  }
  50%{
    box-shadow:
      0 18px 54px rgba(255,204,76,.36),
      0 2px 0 rgba(0,0,0,.25) inset;
  }
}
@media (max-width:640px){
  .btn-cta{width:100%;justify-content:center}
}

/* ==========================================================================
   PAYMENT METHODS
   ========================================================================== */
.section-pay{padding-top:8px}

.payment-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
@media (max-width:860px){
  .payment-grid{grid-template-columns:1fr}
}
.payment-card{
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 14px;
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}
.payment-card:hover{
  transform:translateY(-2px);
  border-color:rgba(245,166,35,.6);
  box-shadow:0 20px 50px rgba(0,0,0,.65);
}
.payment-card:focus-visible{
  outline:2px solid rgba(255,204,76,.55);
  outline-offset:3px;
  border-radius:16px;
}
.pay-logo{
  width:48px;
  height:48px;
  object-fit:contain;
  background:#0c121b;
  border:1px solid var(--ring);
  border-radius:12px;
  padding:6px;
}
.pay-logo--qris{width:56px;height:56px}
.pay-info{display:flex;flex-direction:column;gap:2px}
.pay-name{font-weight:900;letter-spacing:.2px}
.pay-desc{color:var(--muted);font-size:14px}
.pay-hint{color:#b9c6df;opacity:.75}

/* Toast */
.toast{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:1100;
  padding:10px 14px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1200;
  font-weight:900;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
}
.toast.show{
  opacity:1;
  transform:translateY(0);
}

/* Modal QRIS */
.modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:block;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
.modal.show{opacity:1;pointer-events:auto}
.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(2px);
}
.modal__dialog{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  background:#0c121b;
  border:1px solid var(--border);
  border-radius:18px;
  padding:12px;
  width:min(520px,92vw);
  box-shadow:var(--shadow);
  text-align:center;
}
.modal__dialog img{
  width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  background:#fff;
}
.modal__close{
  position:absolute;
  right:10px;
  top:10px;
  width:32px;
  height:32px;
  border-radius:10px;
  border:1px solid var(--ring);
  background:#0f141d;
  color:#ffd98b;
  cursor:pointer;
  line-height:1;
  font-size:18px;
}
.modal__hint{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
}

/* PAYMENT NOTE */
.pay-note{
  margin-top:18px;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(255,204,76,.25);
  border-radius:14px;
  background:linear-gradient(135deg,#0c121b,#131b28);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.pay-note__text{
  margin:0;
  font-weight:700;
  color:#ffe9ad;
  letter-spacing:.2px;
}
.pay-note .btn{
  border-radius:999px;
  font-weight:900;
}
@media (max-width:720px){
  .pay-note{
    flex-direction:column;
    text-align:center;
  }
  .pay-note .btn{
    width:100%;
    justify-content:center;
  }
}

/* ==========================================================================
   TUTORIAL PAGE
   ========================================================================== */
.tutorial-hero{
  padding-top:64px;
  padding-bottom:40px;
  background:
    radial-gradient(900px 520px at -10% -20%, rgba(245,166,35,0.14), transparent 60%),
    radial-gradient(800px 480px at 110% -10%, rgba(255,204,76,0.10), transparent 60%);
}
.tutorial-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,2.4fr);
  gap:32px;
  align-items:center;
}
.tutorial-hero-text .title{margin-bottom:14px}
.tutorial-hero-text .lead{max-width:540px}
.tutorial-hero-meta{
  margin-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.pill-soft{
  padding:6px 12px;
  border-radius:999px;
  background:rgba(245,166,35,0.14);
  border:1px solid rgba(245,166,35,0.25);
  font-size:12px;
  letter-spacing:0.02em;
  text-transform:uppercase;
}
.tutorial-hero-highlight{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--ring);
  padding:22px 22px 24px;
}
.tutorial-hero-highlight h2{
  margin-top:0;
  margin-bottom:8px;
}
.tutorial-hero-highlight p{margin-bottom:18px}
.tutorial-primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* GRID VIDEO TUTORIAL */
.tutorial-grid{
  margin-top:24px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.tutorial-card{
  position:relative;
  padding-top:18px;
  padding-bottom:18px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
.tutorial-number{
  position:absolute;
  top:14px;
  right:16px;
  font-size:12px;
  opacity:.65;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.tutorial-card .title{
  margin-top:0;
  margin-bottom:8px;
  font-size:17px;
}
.tutorial-desc{
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  margin-bottom:14px;
}
.tutorial-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}
.tutorial-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  font-size:14px;
  padding-inline:14px;
  width:100%;
  text-align:center;
}

/* tombol ghost di tutorial */
.btn-ghost{
  border-radius:999px;
  padding:8px 16px;
  border:1px solid rgba(245,166,35,0.65);
  background:transparent;
  color:var(--text);
  text-decoration:none;
  font-weight:500;
  transition:all 0.25s ease;
}
.btn-ghost:hover{
  background:rgba(245,166,35,0.15);
}

/* RESPONSIVE TUTORIAL */
@media (max-width:960px){
  .tutorial-hero-inner{
    grid-template-columns:minmax(0,1fr);
  }
  .tutorial-hero-highlight{order:-1}
  .tutorial-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .tutorial-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .tutorial-card{
    padding-top:16px;
    padding-bottom:16px;
  }
}

/* =========================================
   FIX NAVBAR MOBILE (OVERRIDE PALING BAWAH)
   ========================================= */
@media (max-width: 980px) {
  .nav {
    position: relative;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 80;
  }

  .nav-links.open {
    display: flex;
  }
}


/* Downlaod

/* =========================================
   DOWNLOAD PAGE – GRID & CARD
   ========================================= */

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

.download-card {
  position: relative;
  background: linear-gradient(145deg, #0f141d, #0a0f19);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =========================================
   DOWNLOAD PAGE – LOGO (PLAYSTORE / APPSTORE)
   ========================================= */

.download-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 0%, rgba(245,166,35,0.24), transparent 55%),
              #050814;
  border: 1px solid rgba(255,204,76,0.45);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,204,76,0.18);
  max-width: 260px;       /* lebar maksimum sama untuk semua logo */
}

/* gambar Play Store & App Store dibuat seragam */
.download-logo-img {
  display: block;
  width: 100%;            /* penuh mengikuti container */
  max-width: 260px;       /* biar tidak lebih besar dari wrap */
  height: auto;           /* rasio asli terjaga */
}

/* =========================================
   DOWNLOAD PAGE – TITLE & TEXT
   ========================================= */

.download-card .download-title {
  font-size: 18px;
  line-height: 1.4;
  margin: 10px 0 6px;

  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  background-image: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  text-align: left;
}

.download-card .download-text {
  font-size: 14px;
  margin-top: 4px;
  color: var(--muted);
  text-align: justify;
}

/* Link teks di bawah deskripsi (Buka di Google Play / App Store) */
.download-link-text {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: none;
}

.download-link-text:hover {
  text-decoration: underline;
}

/* =========================================
   DOWNLOAD PAGE – BADGE KECIL (OPTIONAL)
   ========================================= */

/* contoh kalau mau kasih badge kecil di pojok atas kartu:
   <span class="download-tag">Resmi</span>
*/
.download-tag {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.45);
  color: #ffe9ad;
}

/* =========================================
   DOWNLOAD PAGE – BLOK ALTERNATIF APK (ANDROID)
   ========================================= */

/* kalau di HTML kamu tambahkan:
   <div class="download-alt">
     <div class="download-alt-title">Alternatif file APK</div>
     <p class="download-alt-text">Jika Play Store bermasalah, kamu bisa pakai file APK langsung:</p>
     <a href="assets/file/client.apk" class="download-alt-link" download>Unduh client.apk →</a>
   </div>
*/

.download-alt {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255,204,76,0.6);
  background: linear-gradient(135deg, rgba(245,166,35,0.14), rgba(5,8,20,0.96));
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}

.download-alt-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffe9ad;
  margin-bottom: 4px;
}

.download-alt-text {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}

.download-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1a1200;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg,var(--gold),var(--gold-2));
  text-decoration: none;
}

.download-alt-link:hover {
  filter: brightness(1.05);
}

/* =========================================
   DOWNLOAD PAGE – HERO
   ========================================= */

.page-hero--download {
  padding: 90px 0 40px; /* sedikit lebih pendek dari home */
}

.download-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.download-hero .badge {
  margin-inline: auto;
  margin-bottom: 10px;
}

.download-hero-title {
  font-size: clamp(26px, 3.1vw, 34px);
  margin-bottom: 8px;
}

.download-hero-sub {
  margin: 0 auto;
  max-width: 60ch;
  font-size: 15px;
  color: var(--muted);
}

/* garis tipis dekoratif di bawah hero */
.download-hero::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0.8;
}
