/* ==========================================================
   BANTUIN — halaman unduh
   Palet   : bg #0A0D16 / surface #131A2C / surface-2 #1A2338
             border #262F49 / primary #5B6EF5 / primary-2 #38E1C6
             android #3DDC84 / text #F2F4FF / text-soft #8D96B8
   Tipografi: Space Grotesk (display) · Inter (body) · JetBrains Mono (data)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root{
  --bg: #0A0D16;
  --bg-soft: #0D111C;
  --surface: #131A2C;
  --surface-2: #1A2338;
  --border: #262F49;
  --border-soft: #1D2540;
  --primary: #5B6EF5;
  --primary-bright: #7C8CFF;
  --primary-2: #38E1C6;
  --android: #3DDC84;
  --text: #F2F4FF;
  --text-soft: #939CBE;
  --text-faint: #5C6485;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(91,110,245,0.35);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(91,110,245,0.20), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(56,225,198,0.10), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:'Inter', system-ui, sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,.font-display{
  font-family:'Space Grotesk', 'Inter', sans-serif;
  font-weight:700;
  letter-spacing:-0.01em;
  margin:0;
}

.mono{ font-family:'JetBrains Mono', monospace; }

a{ color:inherit; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; }

:focus-visible{
  outline:2px solid var(--primary-bright);
  outline-offset:3px;
}

.wrap{
  max-width:1160px;
  margin:0 auto;
  padding:0 28px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------------- Nav ---------------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(10,13,22,0.72);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border-soft);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 28px;
  max-width:1160px; margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand img{ width:34px; height:34px; border-radius:9px; }
.brand span{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:17px; }
.nav-links{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{
  text-decoration:none; color:var(--text-soft); font-size:14px; font-weight:500;
  transition:color .15s ease;
}
.nav-links a:hover{ color:var(--text); }
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--primary); color:#fff;
  padding:9px 16px; border-radius:100px;
  font-size:13.5px; font-weight:600; text-decoration:none;
  transition:transform .15s ease, background .15s ease;
}
.nav-cta:hover{ background:var(--primary-bright); transform:translateY(-1px); }
.nav-mobile-hide{ display:flex; }
@media (max-width:720px){ .nav-mobile-hide{ display:none; } }

/* ---------------- Hero ---------------- */
.hero{
  padding:76px 0 60px;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'JetBrains Mono',monospace;
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--primary-2);
  background:rgba(56,225,198,0.08);
  border:1px solid rgba(56,225,198,0.25);
  padding:6px 12px; border-radius:100px;
  margin-bottom:20px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--android); box-shadow:0 0 0 3px rgba(61,220,132,0.18); }

.hero h1{
  font-size:clamp(34px, 4.6vw, 52px);
  line-height:1.08;
  margin-bottom:18px;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(100deg, var(--primary-bright), var(--primary-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{
  color:var(--text-soft);
  font-size:16.5px;
  max-width:480px;
  margin-bottom:32px;
}

/* Download card */
.dl-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow: var(--shadow-glow);
}
.os-toggle{
  display:flex; gap:8px;
  background:var(--bg-soft);
  border:1px solid var(--border-soft);
  border-radius:100px;
  padding:4px;
  margin-bottom:18px;
}
.os-btn{
  flex:1;
  display:flex; align-items:center; justify-content:center; gap:7px;
  border:none; background:transparent; color:var(--text-soft);
  font-size:13.5px; font-weight:600;
  padding:9px 10px; border-radius:100px;
  cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.os-btn svg{ width:16px; height:16px; }
.os-btn.active{ background:var(--surface-2); color:var(--text); box-shadow:0 0 0 1px var(--border); }
.os-btn[disabled]{ cursor:not-allowed; opacity:.55; }
.os-btn[disabled]:hover{ color:var(--text-soft); }

.spec-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--border-soft);
  border-radius:var(--radius-sm);
  overflow:hidden;
  margin-bottom:18px;
}
.spec-item{
  padding:12px 14px;
  background:var(--bg-soft);
  border-right:1px solid var(--border-soft);
}
.spec-item:last-child{ border-right:none; }
.spec-item .k{ font-size:11px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.08em; margin-bottom:4px; }
.spec-item .v{ font-size:15px; font-weight:600; color:var(--text); }

.btn-primary-dl{
  width:100%;
  display:flex; align-items:center; justify-content:center; gap:10px;
  background:linear-gradient(100deg, var(--primary), #4757D6);
  color:#fff; border:none; border-radius:var(--radius-sm);
  padding:15px 18px;
  font-size:15.5px; font-weight:700;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
  box-shadow:0 12px 30px -12px rgba(91,110,245,0.55);
}
.btn-primary-dl:hover{ transform:translateY(-2px); box-shadow:0 16px 36px -12px rgba(91,110,245,0.7); }
.btn-primary-dl:active{ transform:translateY(0); }
.btn-primary-dl svg{ width:18px; height:18px; }

.dl-foot{
  display:flex; align-items:center; justify-content:center; gap:6px;
  font-size:12.5px; color:var(--text-faint);
  margin-top:12px;
}
.dl-foot .sep{ opacity:.5; }

.ios-note{
  display:none;
  align-items:center; gap:8px;
  font-size:13px; color:var(--text-faint);
  background:var(--bg-soft); border:1px solid var(--border-soft);
  border-radius:var(--radius-sm);
  padding:12px 14px; margin-bottom:18px;
}
.ios-note.show{ display:flex; }
.ios-note svg{ width:16px; height:16px; flex-shrink:0; color:var(--primary-2); }

/* Phone mockup */
.phone-wrap{
  position:relative;
  display:flex; justify-content:center;
}
.phone-glow{
  position:absolute; inset:-40px;
  background:radial-gradient(circle at 50% 40%, rgba(91,110,245,0.30), transparent 65%);
  filter:blur(10px);
  z-index:0;
}
.phone{
  position:relative; z-index:1;
  width:min(78vw, 260px);
  aspect-ratio:9/18.6;
  background:#05070C;
  border-radius:34px;
  padding:11px;
  border:1px solid #2A3252;
  box-shadow:0 30px 70px -25px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.phone-screen{
  position:relative;
  width:100%; height:100%;
  border-radius:24px;
  overflow:hidden;
  background:var(--surface);
}
.phone-screen img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  opacity:0;
  transition:opacity .5s ease;
}
.phone-screen img.active{ opacity:1; }
.phone-notch{
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:38%; height:22px;
  background:#05070C;
  border-radius:0 0 14px 14px;
  z-index:2;
}
.phone-badge{
  position:absolute; top:-16px; left:-16px; z-index:3;
  width:56px; height:56px; border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 10px 24px -8px rgba(0,0,0,0.6);
}
.phone-dots{
  display:flex; justify-content:center; gap:6px;
  margin-top:18px; position:relative; z-index:1;
}
.phone-dots button{
  width:6px; height:6px; border-radius:50%;
  background:var(--border); border:none; padding:0; cursor:pointer;
  transition:background .2s ease, width .2s ease;
}
.phone-dots button.active{ background:var(--primary-2); width:18px; border-radius:4px; }

/* ---------------- Section shell ---------------- */
.section{ padding:88px 0; }
.section-head{ max-width:560px; margin-bottom:44px; }
.section-head .eyebrow{ margin-bottom:14px; }
.section-head h2{ font-size:clamp(26px,3vw,34px); margin-bottom:12px; }
.section-head p{ color:var(--text-soft); font-size:15.5px; }

/* ---------------- Fitur (pegboard) ---------------- */
.pegboard{
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.4px);
  background-size:22px 22px;
  border:1px solid var(--border-soft);
  border-radius:24px;
  padding:36px;
}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
@media (max-width:820px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .feature-grid{ grid-template-columns:1fr; } }

.feature-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:20px;
  position:relative;
}
.feature-card::before{
  content:'';
  position:absolute; top:10px; left:50%; transform:translateX(-50%);
  width:8px; height:8px; border-radius:50%;
  background:#0A0D16;
  box-shadow:0 0 0 1px var(--border), inset 0 1px 2px rgba(0,0,0,0.6);
}
.feature-card .ic{
  width:38px; height:38px; border-radius:10px;
  background:rgba(91,110,245,0.12);
  border:1px solid rgba(91,110,245,0.25);
  display:flex; align-items:center; justify-content:center;
  color:var(--primary-bright);
  margin-bottom:14px;
}
.feature-card .ic svg{ width:19px; height:19px; }
.feature-card b{ display:block; font-size:15px; margin-bottom:6px; }
.feature-card small{ color:var(--text-soft); font-size:13px; line-height:1.5; }

/* ---------------- Galeri ---------------- */
.gallery-strip{
  display:flex; gap:16px;
  overflow-x:auto;
  padding:6px 4px 20px;
  scroll-snap-type:x mandatory;
}
.gallery-strip::-webkit-scrollbar{ height:6px; }
.gallery-strip::-webkit-scrollbar-thumb{ background:var(--border); border-radius:10px; }
.gallery-shot{
  flex:0 0 auto;
  scroll-snap-align:start;
  width:150px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--surface);
}
.gallery-shot img{ width:100%; height:100%; object-fit:cover; }
.gallery-hint{
  display:flex; align-items:center; gap:6px;
  font-size:12.5px; color:var(--text-faint);
  margin-top:-8px;
}
.gallery-hint svg{ width:14px; height:14px; }

/* ---------------- Riwayat ---------------- */
.changelog{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.change-item{ border-bottom:1px solid var(--border); background:var(--surface); }
.change-item:last-child{ border-bottom:none; }
.change-head{
  width:100%;
  display:flex; align-items:center; gap:16px;
  padding:20px 22px;
  background:none; border:none; color:var(--text);
  cursor:pointer; text-align:left;
}
.change-tag{
  font-family:'JetBrains Mono',monospace;
  font-size:12px; font-weight:600;
  color:var(--primary-2);
  background:rgba(56,225,198,0.10);
  border:1px solid rgba(56,225,198,0.25);
  padding:4px 9px; border-radius:100px;
  flex-shrink:0;
}
.change-title{ font-weight:600; font-size:15px; flex:1; }
.change-arrow{
  width:28px; height:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border-soft);
  transition:transform .25s ease, background .2s ease;
  flex-shrink:0;
}
.change-arrow svg{ width:14px; height:14px; color:var(--text-soft); }
.change-item.open .change-arrow{ transform:rotate(90deg); background:var(--surface-2); }
.change-body{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}
.change-item.open .change-body{ max-height:260px; }
.change-body-inner{
  padding:0 22px 22px 22px;
  color:var(--text-soft);
  font-size:14px;
}
.change-body-inner ul{ margin:0; padding-left:20px; }
.change-body-inner li{ margin-bottom:7px; }
.change-body-inner li:last-child{ margin-bottom:0; }

/* ---------------- Kontak ---------------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media (max-width:600px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  display:flex; align-items:center; gap:14px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:20px;
  text-decoration:none;
  color:var(--text);
  transition:border-color .15s ease, transform .15s ease;
}
.contact-card:hover{ border-color:var(--primary); transform:translateY(-2px); }
.contact-card .ic{
  width:42px; height:42px; border-radius:12px;
  background:var(--surface-2);
  border:1px solid var(--border-soft);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  color:var(--primary-2);
}
.contact-card .ic svg{ width:20px; height:20px; }
.contact-card b{ display:block; font-size:14.5px; margin-bottom:3px; }
.contact-card span{ color:var(--text-soft); font-size:13px; word-break:break-word; }

/* ---------------- Footer ---------------- */
footer{
  border-top:1px solid var(--border-soft);
  padding:34px 0;
}
.foot-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
}
.foot-brand{ display:flex; align-items:center; gap:10px; }
.foot-brand img{ width:26px; height:26px; border-radius:7px; }
.foot-brand span{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14.5px; }
footer .fine{ color:var(--text-faint); font-size:12.5px; }

/* ---------------- Toast ---------------- */
.toast{
  position:fixed; left:50%; bottom:26px; transform:translate(-50%,20px);
  background:var(--surface-2); border:1px solid var(--border);
  color:var(--text); font-size:13.5px; font-weight:500;
  padding:12px 18px; border-radius:100px;
  box-shadow:0 12px 30px -10px rgba(0,0,0,0.6);
  opacity:0; pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
  z-index:100;
  display:flex; align-items:center; gap:8px;
}
.toast.show{ opacity:1; transform:translate(-50%,0); }
.toast svg{ width:15px; height:15px; color:var(--android); }
