/* ImbasAR — gaya laman (mobile-first) */
:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --teal: #14B8A6;
  --teal-dark: #0F766E; /* teal untuk teks kecil di atas cerah (kontras AA) */
  --gold: #D4A853;
  --offwhite: #FAFAF7;
  --white: #FFFFFF;
  --muted: #475569;
  --line: #E5E7EB;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  /* Aksen tema — ditukar oleh .theme-kad / .theme-bisnes */
  --accent: var(--teal);
  --accent-ink: var(--navy); /* warna teks di atas butang aksen */
  --accent-text: var(--teal-dark); /* aksen untuk teks kecil di atas cerah */
}
.theme-kad { --accent: var(--gold); --accent-text: var(--navy); }
.theme-bisnes { --accent: var(--teal); --accent-text: var(--teal-dark); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--offwhite);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Wordmark placeholder */
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; line-height: 1; }
.wm-a { color: var(--navy); }
.wm-b { color: var(--teal); }
.wordmark--white .wm-a { color: var(--white); }
.logo-img { height: 36px; width: auto; }
.site-footer .logo-img { height: 44px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 250, 247, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand-link { text-decoration: none; display: inline-flex; align-items: center; }
.nav { display: flex; align-items: center; gap: 14px; font-size: .9rem; font-weight: 600; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav .nav-hide { display: none; }

/* Butang */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Seksyen */
section { padding: 64px 0; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); }
.section-dark .lead { color: #CBD5E1; }
.center { text-align: center; }
.divider { width: 64px; height: 4px; border-radius: 4px; background: var(--accent); margin: 0 0 20px; }
.center .divider { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 40px 0 56px; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 420px; height: 420px; border-radius: 50%; border: 2px solid var(--accent); opacity: .25; pointer-events: none; }
.hero-grid { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--accent); }
.hero .lead { color: #CBD5E1; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero-note { font-size: .85rem; color: #94A3B8; margin-top: 14px; }

/* Mockup telefon */
.phone {
  width: 250px; max-width: 72vw; aspect-ratio: 9 / 19; margin: 0 auto; position: relative;
  border-radius: 40px; background: #020617; padding: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #334155;
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; border-radius: 12px; background: #020617; z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; position: relative; background: #0B1222; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.phone-ar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) perspective(500px) rotateX(8deg); width: 78%; border-radius: 6px; box-shadow: 0 0 0 2px var(--accent), 0 12px 30px rgba(0,0,0,.5); background: #000; }
.phone-ar video { width: 100%; height: auto; border-radius: 6px; }
.phone-tag { position: absolute; left: 12px; right: 12px; bottom: 16px; padding: 8px 10px; border-radius: 12px; background: rgba(15,23,42,.85); color: var(--white); font-size: .72rem; text-align: center; z-index: 2; }
.phone-reticle { position: absolute; inset: 16% 10%; border: 2px dashed rgba(255,255,255,.35); border-radius: 12px; pointer-events: none; }

/* Langkah */
.steps { display: grid; gap: 16px; counter-reset: step; margin-top: 32px; padding: 0; list-style: none; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 1.1rem var(--font-head); margin-bottom: 14px; box-shadow: 0 0 0 4px var(--offwhite), 0 0 0 6px var(--accent); }
.step p { color: var(--muted); margin: 0; }

/* Demo */
.demo-card { display: grid; gap: 24px; background: var(--navy-2); border-radius: 24px; padding: 24px; margin-top: 32px; }
.demo-target { display: block; width: 100%; max-width: 340px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #000; }
.demo-actions { display: flex; flex-direction: column; gap: 12px; }
.qr-box { display: flex; gap: 16px; align-items: center; background: var(--white); color: var(--navy); border-radius: 16px; padding: 14px; }
.qr { width: 112px; height: 112px; flex: none; display: grid; place-items: center; }
.qr img, .qr canvas, .qr svg { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-box p { margin: 0; font-size: .9rem; }
.demo-steps { margin: 0; padding-left: 20px; color: #CBD5E1; font-size: .95rem; }

/* Pakej */
.packages { display: grid; gap: 16px; margin-top: 32px; }
.pkg { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; display: flex; flex-direction: column; }
.pkg.featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.pkg .badge { position: absolute; top: -13px; left: 24px; background: var(--navy); color: var(--white); font: 700 .75rem/1 var(--font-body); padding: 7px 12px; border-radius: 999px; letter-spacing: .04em; }
.pkg .badge::before { content: "★ "; color: var(--accent); }
.pkg h3 { margin-bottom: 4px; }
.price { font: 800 2.2rem/1.1 var(--font-head); margin: 8px 0 4px; }
.price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.pkg .meta { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pkg li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid #F1F5F9; font-size: .95rem; }
.pkg li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--accent-text); border-bottom: 3px solid var(--accent-text); transform: rotate(-45deg); }
.pkg-note { margin-top: 20px; font-size: .9rem; color: var(--muted); text-align: center; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font: 700 1rem var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Tempahan */
.book { text-align: center; }
.book .btn { margin-top: 8px; }
.book-alt { margin-top: 16px; font-size: .95rem; color: #CBD5E1; }
.book-alt a { color: var(--white); font-weight: 600; }

/* Footer */
.site-footer { background: #020617; color: #CBD5E1; padding: 40px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; gap: 20px; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid #1E293B; margin-top: 24px; padding-top: 18px; font-size: .82rem; color: #94A3B8; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }

/* Halaman terma */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page-head { padding: 48px 0 32px; background: var(--navy); color: var(--white); }
.page-head p { color: #CBD5E1; margin: 0; }

@media (min-width: 720px) {
  .nav .nav-hide { display: inline; }
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-cta { flex-direction: row; }
  .steps, .packages { grid-template-columns: repeat(3, 1fr); }
  .demo-card { grid-template-columns: .9fr 1.1fr; padding: 36px; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  section { padding: 88px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* /tempah/ */
.checklist { list-style: none; padding: 0; counter-reset: c; display: grid; gap: 14px; }
.checklist li { counter-increment: c; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 64px; }
.checklist li::before { content: counter(c); position: absolute; left: 16px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font: 800 1rem var(--font-head); box-shadow: 0 0 0 3px var(--offwhite), 0 0 0 5px var(--gold); }
.checklist h2 { font-size: 1.1rem; margin: 4px 0 6px; }
.checklist h2 small { font: 600 .78rem var(--font-body); color: var(--muted); }
.checklist p { margin: 0; color: var(--muted); }
.tempah-cta { display: grid; gap: 12px; margin-top: 28px; }
