/* TAPAK — website statis. Vanilla CSS, tanpa CDN/framework eksternal. */
:root {
  --bg: #0b0f0a;
  --bg2: #10160e;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f2f7ee;
  --muted: #a8b5a0;
  --lime: #a3e635;
  --green: #22c55e;
  --green-dark: #16a34a;
  --radius: 18px;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: 0.06em; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime), var(--green));
  color: #0b0f0a; font-size: 1.15rem; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 999px; font-weight: 600; }
.nav-links a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-links a.btn-small { color: #0b0f0a; }
.menu-btn { display: none; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-align: center; cursor: pointer;
  border: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--lime), var(--green)); color: #0b0f0a; box-shadow: 0 8px 24px rgba(163, 230, 53, 0.28); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(700px 320px at 85% -10%, rgba(163, 230, 53, 0.20), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgba(34, 197, 94, 0.16), transparent 60%),
    linear-gradient(180deg, #0e150c, var(--bg));
  padding: 72px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); background: rgba(163, 230, 53, 0.12); border: 1px solid rgba(163, 230, 53, 0.35); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--lime), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 1.12rem; max-width: 34rem; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.badges li { font-size: 0.85rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }
.badges li::before { content: "✓ "; color: var(--lime); }

/* ---------- Mockup HP (CSS murni) ---------- */
.phone {
  width: 280px; max-width: 100%; margin: 0 auto;
  background: #111; border: 1px solid var(--border); border-radius: 36px;
  padding: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 6px #1c241a;
}
.phone-screen { background: #0d120b; border-radius: 26px; overflow: hidden; }
.phone-map {
  height: 190px; position: relative;
  background:
    linear-gradient(rgba(163, 230, 53, 0.05), rgba(163, 230, 53, 0.05)),
    #d8d5c8;
}
.phone-map::before, .phone-map::after { content: ""; position: absolute; background: #fff; }
.phone-map::before { width: 140%; height: 14px; top: 84px; left: -20%; transform: rotate(-18deg); box-shadow: 0 60px 0 -2px #fff, 0 -52px 0 -4px #e8e5da; }
.phone-map::after { width: 12px; height: 140%; top: -20%; left: 58%; transform: rotate(12deg); }
.phone-pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg);
  background: var(--green); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); z-index: 2;
}
.phone-gps {
  position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: rgba(13, 18, 11, 0.85); border-radius: 999px; padding: 5px 6px 5px 12px;
  font-size: 0.72rem; font-weight: 700; color: var(--lime);
}
.phone-gps span.upd { background: var(--lime); color: #0b0f0a; border-radius: 999px; padding: 3px 9px; }
.phone-body { padding: 14px 14px 16px; }
.phone-modes { display: flex; justify-content: space-around; font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.phone-modes b { color: var(--lime); }
.phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.phone-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; text-align: center; }
.phone-stat small { display: block; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted); }
.phone-stat strong { font-size: 1.15rem; }
.phone-stat strong.green { color: var(--lime); }
.phone-start {
  display: block; width: 100%; padding: 13px; border: none; border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--green)); color: #0b0f0a;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.08em;
}

/* ---------- Seksi umum ---------- */
section { padding: 64px 0; }
section h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.01em; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 42rem; margin-bottom: 32px; }
.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Kartu fitur ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card .icon { font-size: 1.6rem; margin-bottom: 10px; }
.card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Langkah ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime), var(--green)); color: #0b0f0a;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Unduh ---------- */
.download-box {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.14), rgba(34, 197, 94, 0.10));
  border: 1px solid rgba(163, 230, 53, 0.35); border-radius: 24px;
  padding: 36px; text-align: center;
}
.download-box h2 { margin-bottom: 8px; }
.download-box p { color: var(--muted); margin-bottom: 24px; }
.download-box .hero-cta { justify-content: center; }
.note { font-size: 0.88rem; color: var(--muted); margin-top: 18px; }
.note code { color: var(--lime); }

/* ---------- FAQ ---------- */
details.faq {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 12px;
}
details.faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; }
details.faq summary::-webkit-details-marker { color: var(--lime); }
details.faq p { color: var(--muted); margin-top: 10px; font-size: 0.96rem; }

/* ---------- Halaman teks (privasi/syarat) ---------- */
.page { padding: 56px 0 72px; }
.page h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 8px; }
.page .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.page h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.page p, .page li { color: #d5ddcd; }
.page p { margin-bottom: 12px; }
.page ul { padding-left: 22px; margin-bottom: 12px; }
.page li { margin-bottom: 6px; }
.page .back { display: inline-block; margin-bottom: 24px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: 0.92rem; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--lime); }

/* ---------- Responsif ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .hero { padding: 48px 0; }
  .grid { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #10160e; border-bottom: 1px solid var(--border); padding: 12px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .download-box { padding: 28px 20px; }
  .phone { width: 260px; }
}

/* ---------- v2.1.0: hidup & luwes (samakan dengan aplikasi) ---------- */
@keyframes heroGlow {
  0%, 100% { background-position: 0% 0%, 100% 100%, 0% 0%; }
  50% { background-position: 30% 20%, 70% 80%, 0% 0%; }
}
.hero {
  background-size: 160% 160%, 160% 160%, 100% 100%;
  animation: heroGlow 14s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.phone { animation: floaty 5s ease-in-out infinite; }
@keyframes pinPulse {
  0% { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 14px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(34, 197, 94, 0); }
}
.phone-pin { animation: pinPulse 2.4s ease-out infinite; }
/* Kartu membulat + bayangan lembut, naik sedikit saat disentuh */
.card, .step {
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover, .step:hover {
  transform: translateY(-4px);
  border-color: rgba(163, 230, 53, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}
.btn:active { transform: scale(0.96); }
.phone-start { transition: transform 0.15s ease, filter 0.2s ease; }
.phone-start:hover { filter: brightness(1.08); }
/* Animasi masuk saat di-scroll (JS: IntersectionObserver, class .reveal) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.release-info { font-size: 0.92rem; color: var(--lime); font-weight: 600; margin-bottom: 18px; }
.release-info .dim { color: var(--muted); font-weight: 400; }
@media (prefers-reduced-motion: reduce) {
  .hero, .phone, .phone-pin { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .step { transition: none; }
}
