/* loker.zone — beranda */
:root {
  --bg: #151517; --surface: #1c1c20; --raise: #232328; --line: #2d2d33; --text: #ececf1; --muted: #9b9ba6;
  --blue: #4c8dff; --blue-hover: #6aa0ff; --amber: #f2c94c; --amber-bg: #2f2710;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.6 var(--font); }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 10px 20px; font-size: 15px; transition: background .15s; }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-hover); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--raise); }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---- navigasi ---- */
.nav { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 800; font-size: 21px; color: var(--text); text-decoration: none; letter-spacing: -0.03em; }
.logo .wordmark > span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-login { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-login:hover { color: var(--blue); }

main > section { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 48px !important; padding-bottom: 96px !important; }
.hero h1 { font-size: clamp(36px, 4.8vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; max-width: 15ch; }
.lead { margin-top: 22px; font-size: 18px; color: #c9c9d2; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.live { margin-top: 22px; font-size: 14.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* ---- demo percakapan (satu-satunya animasi otomatis di halaman) ---- */
.demo { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
        box-shadow: 0 30px 80px -30px rgba(76, 141, 255, .28), 0 0 0 1px rgba(255, 255, 255, .02); }
.demo-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--raise); }
.demo-bar em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 8px; font-weight: 600; }
.demo-body { padding: 20px; display: grid; gap: 14px; min-height: 420px; align-content: start; }
.d-user { justify-self: end; max-width: 85%; background: var(--raise); border: 1px solid var(--line); border-radius: 18px; padding: 10px 15px; font-size: 15px; }
.d-typing { display: flex; gap: 5px; padding: 6px 2px; }
.d-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.d-typing i:nth-child(2) { animation-delay: .15s; } .d-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.d-ai { display: grid; gap: 10px; font-size: 15px; }
.d-card { display: grid; gap: 4px; text-decoration: none; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; }
.d-card:hover { border-color: #3d4a66; }
.d-card strong { font-size: 15.5px; line-height: 1.35; }
.d-co { color: var(--muted); font-size: 14px; }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.d-tags:empty { display: none; }
.d-tags span { background: var(--raise); border-radius: 999px; padding: 1px 9px; font-size: 12.5px; }
.d-go { color: var(--blue); font-weight: 600; font-size: 14px; margin-top: 6px; }
.d-note { color: #c9c9d2; }
.demo figcaption { font-size: 12.5px; color: var(--muted); padding: 0 20px 16px; }

/* urutan muncul: pesan pengguna, AI mengetik, lalu jawaban + kartu */
.d-user   { animation: rise .45s .3s both; }
.d-typing { animation: typing 1.3s .8s both; }
.d-ai > * { animation: rise .45s both; animation-delay: 2.1s; }
.d-ai > .d-card { animation-delay: calc(2.35s + var(--i) * .25s); }
.d-ai > .d-note { animation-delay: 3s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0% { opacity: 0; } 10%, 85% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; margin: 0; } }

/* ---- langkah ---- */
.steps { padding-bottom: 104px !important; }
.steps h2, .scam h2, .faq h2, .truth h2, .final h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; line-height: 1.15; }
.steps ol { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--line); padding-top: 20px; }
.steps li::before { content: counter(s); display: block; font-size: 44px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 14px; letter-spacing: -0.04em; }
.steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: #c3c3cc; font-size: 15.5px; }

/* ---- tidak mengarang ---- */
.truth { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; padding-bottom: 104px !important; }
.truth-text p { color: #c3c3cc; margin-top: 16px; max-width: 58ch; }
.kinds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kinds li { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 15px; background: var(--surface); }

/* ---- lowongan palsu ---- */
.scam { padding-bottom: 104px !important; }
.scam-head { max-width: 64ch; }
.scam-head p { color: #c3c3cc; margin-top: 16px; }
.warn-chip { background: var(--amber-bg); color: var(--amber); font-weight: 700; border-radius: 999px; padding: 1px 9px; font-size: 14px; white-space: nowrap; }
.flags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; margin-top: 36px; }
.flag { border-left: 3px solid var(--amber); padding: 2px 0 2px 18px; }
.flag h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 6px; }
.flag p { color: #c3c3cc; font-size: 15.5px; }

/* ---- tanya jawab ---- */
.faq { padding-bottom: 104px !important; }
.faq > * { max-width: 820px; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #c3c3cc; padding: 0 0 20px; max-width: 68ch; }

/* ---- ajakan akhir ---- */
.final { text-align: center; padding-bottom: 110px !important; }
.final p { color: #c3c3cc; margin: 12px auto 28px; max-width: 46ch; }

.foot { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); text-decoration: none; } .foot a:hover { color: var(--text); }

/* ---- layar kecil ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px !important; padding-bottom: 72px !important; }
  .hero h1 { max-width: 16ch; }
  .demo-body { min-height: 0; }
  .steps ol { grid-template-columns: 1fr; gap: 28px; }
  .truth { grid-template-columns: 1fr; gap: 28px; padding-bottom: 80px !important; }
  .flags { grid-template-columns: 1fr; gap: 24px; }
  .steps, .scam, .faq { padding-bottom: 80px !important; }
}
@media (max-width: 480px) {
  .nav { padding: 14px 18px; } main > section { padding: 0 18px; }
  .nav-login { display: none; }
  .lead { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .d-typing { display: none; }
  html { scroll-behavior: auto; }
}

/* label "✦ AI" di belakang logo (konsep B + bintang) */
.wordmark { white-space: nowrap; }
.ai-badge { color: var(--blue); display: inline-flex; align-items: center; gap: .3em; margin-left: .45em; padding: .16em .62em .16em .48em; border: 1.5px solid currentColor;
            border-radius: 999px; font-size: .56em; font-weight: 700; letter-spacing: .02em; line-height: 1.15; vertical-align: .22em; white-space: nowrap; }
.ai-badge svg { width: .9em; height: .9em; fill: currentColor; flex: none; }
