/* serumah.site — homepage. Palet: Emerald #1f3d2d · Maroon #6e141b · Gold #d4a937 · Parchment #fbf5e6 */
:root {
  --emerald: #1f3d2d;
  --emerald-dark: #12261b;
  --maroon: #6e141b;
  --gold: #d4a937;
  --gold-bright: #f7df94;
  --parchment: #fbf5e6;
  --parchment-dark: #efe3c8;
  --ink: #2b1b10;
  --ink-muted: #6e5846;
  --wood: #361e10;
  --wa: #1f7a44;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.1; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ===== Tombol ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 12px; border: 2px solid var(--wood);
  font: 700 14px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, #fffdf9, #e7d8be); color: var(--ink);
  box-shadow: 0 4px 0 var(--wood), 0 8px 16px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .12s ease, filter .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--wood); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: linear-gradient(180deg, #f5d97e, #c4922c); color: #2b1803; border-color: #4a3008; box-shadow: 0 4px 0 #4a3008, 0 8px 18px rgba(0,0,0,.28); }
.btn-wa { background: linear-gradient(180deg, #2e8b57, #1c5a38); color: #fff; border-color: #0f2117; box-shadow: 0 4px 0 #0f2117, 0 8px 16px rgba(0,0,0,.25); }
.btn-line { background: transparent; color: var(--emerald); border-color: var(--emerald); box-shadow: 0 4px 0 var(--emerald); }
.btn-sm { padding: 9px 14px; font-size: 13px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,245,230,.92); backdrop-filter: blur(10px); border-bottom: 2px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.12); border-color: var(--gold); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 'Cormorant Garamond', serif; color: var(--emerald); }
.brand b { color: var(--maroon); }
.brand-light { color: var(--gold-bright); }
.brand-light b { color: #fff; }
.brand img { border-radius: 8px; }
/* Logo SVG: warna mengikuti teks (.brand = zamrud di header terang, .brand-light = emas muda di footer gelap) */
.logo-mark { display: inline-block; flex: none; fill: currentColor; vertical-align: middle; width: 1.8em; height: 1.45em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); }
.site-nav a:not(.btn):hover { background: var(--parchment-dark); }
.nav-toggle, .nav-burger { display: none; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%); padding: 56px 0 72px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 85% 20%, rgba(212,169,55,.22), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(110,20,27,.35), transparent 60%); }
.fireflies i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, #fff6c8, var(--gold) 55%, transparent 72%); box-shadow: 0 0 10px 2px rgba(247,223,148,.7); opacity: 0; animation: ff 8s ease-in-out infinite; z-index: -1; }
.fireflies i:nth-child(1) { left: 6%; top: 70%; } .fireflies i:nth-child(2) { left: 18%; top: 30%; animation-delay: 1.4s; }
.fireflies i:nth-child(3) { left: 42%; top: 82%; animation-delay: 2.6s; } .fireflies i:nth-child(4) { left: 55%; top: 20%; animation-delay: .8s; }
.fireflies i:nth-child(5) { left: 72%; top: 76%; animation-delay: 3.8s; } .fireflies i:nth-child(6) { left: 88%; top: 40%; animation-delay: 2s; }
.fireflies i:nth-child(7) { left: 30%; top: 55%; animation-delay: 5s; } .fireflies i:nth-child(8) { left: 94%; top: 85%; animation-delay: 4.4s; }
@keyframes ff { 0% { opacity: 0; transform: translate(0,0) scale(.6); } 25% { opacity: .95; } 55% { transform: translate(16px,-28px) scale(1); } 100% { opacity: 0; transform: translate(-12px,-64px) scale(.6); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; margin-bottom: 16px; }
.hero h1 em { color: var(--gold-bright); font-style: italic; }
.lead { font-size: clamp(16px, 2vw, 18px); color: rgba(255,255,255,.88); max-width: 56ch; margin-bottom: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; color: rgba(255,255,255,.8); }

/* ===== Visual hero: panggung mini bergaya RPG ===== */
.hero-visual { min-width: 0; }
.stage { position: relative; aspect-ratio: 4 / 3.3; border-radius: 22px; overflow: hidden; border: 4px solid var(--gold); outline: 3px solid var(--wood); box-shadow: 0 24px 60px rgba(0,0,0,.5); background: #2a160a; }
.stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.82); }
.stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,14,.15), rgba(10,18,14,.55)); }
.stage > * { z-index: 1; }
.stage-pelaminan { position: absolute; left: 50%; bottom: 20%; width: 62%; transform: translateX(-50%); z-index: 2; }
.stage-npc { position: absolute; bottom: 24%; width: 12%; z-index: 3; animation: bob 3.2s ease-in-out infinite; }
.stage-npc.n1 { left: 40%; } .stage-npc.n2 { left: 49%; animation-delay: .4s; } .stage-npc.n3 { left: 8%; bottom: 12%; width: 13%; animation-delay: .9s; }
.stage-lantern { position: absolute; top: 6%; width: 7%; z-index: 3; animation: sway 4s ease-in-out infinite; transform-origin: top center; filter: drop-shadow(0 0 12px rgba(247,223,148,.8)); }
.stage-lantern.l1 { left: 12%; } .stage-lantern.l2 { right: 12%; animation-delay: 1.2s; }
.walker { position: absolute; bottom: 6%; left: 0; width: 15%; aspect-ratio: 140 / 220; z-index: 4; animation: walk 9s linear infinite; }
.walker img { position: absolute; bottom: 0; left: 0; width: 100%; }
.walker .w-a { animation: step 0.7s steps(1) infinite; }
.walker .w-b { animation: step 0.7s steps(1) infinite reverse; }
.bubble { position: absolute; right: 5%; top: 12%; max-width: 46%; z-index: 5; background: var(--parchment); color: var(--ink); border: 2.5px solid var(--wood); border-radius: 14px; padding: 8px 12px; font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 0 var(--wood); animation: pop 6s ease-in-out infinite; }
.bubble::after { content: ''; position: absolute; left: 22px; bottom: -9px; width: 14px; height: 14px; background: var(--parchment); border-right: 2.5px solid var(--wood); border-bottom: 2.5px solid var(--wood); transform: rotate(45deg); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes walk { 0% { left: -6%; } 100% { left: 86%; } }
@keyframes step { 0%,49.99% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes pop { 0%,12% { opacity: 0; transform: scale(.85); } 20%,80% { opacity: 1; transform: scale(1); } 90%,100% { opacity: 0; transform: scale(.9); } }

/* ===== Bagian umum ===== */
.section { padding: 76px 0; }
.section-alt { background: linear-gradient(180deg, var(--parchment-dark), var(--parchment)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow { color: var(--maroon); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); color: var(--emerald); margin-bottom: 12px; }
.section-head p { color: var(--ink-muted); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.feature { background: linear-gradient(135deg, #fffdf9, #f4e8cf); border: 2px solid #d4be94; border-radius: var(--radius); padding: 22px 20px; box-shadow: 0 4px 0 #cbb386, 0 12px 24px rgba(60,35,10,.08); }
.feature-ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 14px; background: var(--emerald); border: 2px solid var(--gold); margin-bottom: 12px; }
.feature h3 { font-size: 23px; color: var(--maroon); margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--ink-muted); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.steps li { position: relative; background: #fff; border: 2px solid #d4be94; border-radius: var(--radius); padding: 40px 18px 18px; box-shadow: 0 4px 0 #cbb386; }
.step-n { position: absolute; top: -18px; left: 18px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f9e7a4, var(--gold) 60%, #8a6414); border: 2px solid var(--wood); font-weight: 800; color: var(--maroon); }
.steps h3 { font-size: 22px; color: var(--emerald); margin-bottom: 4px; }
.steps p { font-size: 14px; color: var(--ink-muted); }


/* ===== Harga ===== */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 2.5px solid #d4be94; border-radius: 20px; padding: 28px 22px 22px; box-shadow: 0 5px 0 #cbb386, 0 16px 30px rgba(60,35,10,.1); }
.plan h3 { font-size: 30px; color: var(--emerald); }
.plan-for { font-size: 14px; color: var(--ink-muted); min-height: 42px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; }
.price s { color: #9a8670; font-size: 15px; }
.price small { color: var(--ink-muted); font-size: 12.5px; font-weight: 700; }
.price strong { font: 700 40px/1 'Cormorant Garamond', serif; color: var(--maroon); }
.plan-list { list-style: none; display: grid; gap: 8px; font-size: 14px; margin: 6px 0 12px; flex: 1; }
.plan-list li { position: relative; padding-left: 24px; }
.plan-list li::before { content: ''; position: absolute; left: 1px; top: 7px; width: 10px; height: 10px; background: var(--gold); border: 1.5px solid var(--wood); border-radius: 2px; transform: rotate(45deg); }
.plan-list code, .addon code { background: var(--parchment-dark); padding: 1px 6px; border-radius: 6px; font-size: 12.5px; word-break: break-word; }
.plan-note { font-size: 12.5px; color: var(--ink-muted); font-style: italic; }
.plan .btn { width: 100%; }
.plan-best { border-color: var(--gold); background: linear-gradient(180deg, #fffdf2, #fff); box-shadow: 0 6px 0 #b78f22, 0 22px 44px rgba(212,169,55,.28); }
.plan-crown { border-color: var(--maroon); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(180deg, #f5d97e, #c4922c); color: #2b1803; border: 2px solid #4a3008; border-radius: 999px; padding: 4px 14px; font-size: 12px; font-weight: 800; }
.ribbon-crown { background: linear-gradient(180deg, #8f1d27, #5e1118); color: var(--gold-bright); border-color: var(--gold); }

/* ===== Add-on ===== */
.addons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 26px; }
.addon { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 14px; align-items: start; background: #fff; border: 2px solid #d4be94; border-radius: var(--radius); padding: 16px; box-shadow: 0 4px 0 #cbb386; }
.addon-ico { width: 48px; height: 48px; display: grid; place-items: center; font-size: 24px; border-radius: 12px; background: var(--emerald); border: 2px solid var(--gold); }
.addon h3 { font-size: 21px; color: var(--maroon); margin-bottom: 3px; }
.addon p { font-size: 13.5px; color: var(--ink-muted); }
.addon-price { font-weight: 800; font-size: 13px !important; color: var(--emerald) !important; background: var(--parchment-dark); padding: 5px 10px; border-radius: 999px; white-space: nowrap; align-self: start; }
.tag-pre { display: inline-block; vertical-align: middle; margin-left: 6px; font: 800 10.5px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .4px; text-transform: uppercase; color: #fff; background: var(--maroon); padding: 4px 8px; border-radius: 999px; }

/* ===== Demo ===== */
.demo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.demo-copy h2 { font-size: clamp(30px, 4.4vw, 44px); color: var(--emerald); margin-bottom: 12px; }
.demo-copy .eyebrow { color: var(--maroon); }
.demo-copy p { color: var(--ink-muted); margin-bottom: 20px; }
.demo-points { list-style: none; display: grid; gap: 10px; background: var(--emerald); color: #fff; border: 3px solid var(--gold); border-radius: 20px; padding: 22px; box-shadow: 0 8px 0 var(--emerald-dark); }
.demo-points li { font-size: 14.5px; }
.demo-points b { color: var(--gold-bright); margin-right: 4px; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 2px solid #d4be94; border-radius: 14px; padding: 0 18px; box-shadow: 0 3px 0 #cbb386; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--maroon); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--ink-muted); font-size: 14.5px; }

/* ===== Penutup & footer ===== */
.final-cta { background: linear-gradient(135deg, var(--emerald), var(--emerald-dark)); color: #fff; }
.final-cta h2 { font-size: clamp(30px, 4.6vw, 46px); color: var(--gold-bright); margin-bottom: 10px; }
.final-cta p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.site-footer { background: var(--wood); color: rgba(255,255,255,.8); padding: 34px 0 20px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-row p { font-size: 13.5px; margin-top: 8px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: flex-start; }
.footer-row nav a { text-decoration: none; font-size: 14px; }
.footer-row nav a:hover { color: var(--gold-bright); }
.copy { text-align: center; font-size: 12.5px; margin-top: 22px; opacity: .7; padding-inline: 20px; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; display: grid; place-items: center; font-size: 26px; text-decoration: none; border-radius: 50%; background: linear-gradient(180deg, #2e8b57, #1c5a38); border: 3px solid #0f2117; box-shadow: 0 5px 0 #0f2117, 0 12px 24px rgba(0,0,0,.35); }


/* ===== Responsif ===== */
@media (min-width: 981px) {
  .plan-best { transform: translateY(-10px); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  .cards-4, .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan-best { order: -1; }
  .plan-for { min-height: 0; }
  .addons { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-burger { display: grid; gap: 5px; padding: 10px; cursor: pointer; margin-left: auto; }
  .nav-burger i { display: block; width: 24px; height: 3px; border-radius: 3px; background: var(--emerald); transition: transform .2s, opacity .2s; }
  .nav-toggle:checked ~ .nav-burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger i:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--gold); border-radius: 8px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 20px 16px; background: var(--parchment); border-bottom: 3px solid var(--gold); box-shadow: 0 14px 24px rgba(0,0,0,.15); display: none; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 10px; }
  .site-nav .btn { margin-top: 6px; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 560px) {
  .wrap, .narrow { width: min(1120px, 100% - 28px); }
  .section { padding: 56px 0; }
  .cards-4, .steps { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .addon { grid-template-columns: 44px minmax(0,1fr); }
  .addon-price { grid-column: 2; justify-self: start; }
  .price strong { font-size: 36px; }
  .bubble { font-size: 11px; padding: 6px 9px; }
  .steps { gap: 28px; }
}
@media (max-width: 360px) {
  .brand { font-size: 19px; }
  .hero h1 { font-size: 36px; }
  .plan { padding: 26px 16px 18px; }
}

/* ===== Kurangi gerakan ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fireflies, .bubble { display: none; }
  .stage-npc, .stage-lantern, .walker, .walker .w-a, .walker .w-b { animation: none; }
  .walker { left: 40%; }
  .walker .w-b { display: none; }
}


/* ===== Ikon (SVG sprite: img/icons.svg) =====
   Garis = warna teks (currentColor). Aksen emas lewat --ic2. Tidak ada emoji / font ikon. */
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.28em; --ic2: var(--gold); }
.btn .ic { width: 20px; height: 20px; vertical-align: middle; }
.btn-gold .ic { --ic2: var(--maroon); }
.btn-wa .ic { --ic2: var(--gold-bright); }
.btn-line .ic { --ic2: var(--gold); }
.btn-sm .ic { width: 18px; height: 18px; }
.eyebrow .ic { width: 15px; height: 15px; vertical-align: -0.2em; margin-right: 2px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { width: 16px; height: 16px; color: var(--gold-bright); stroke-width: 2.2; }
.feature-ico, .addon-ico { color: var(--gold-bright); }
.feature-ico .ic { width: 28px; height: 28px; --ic2: var(--gold); }
.addon-ico .ic { width: 26px; height: 26px; --ic2: var(--gold); }
.ribbon .ic { width: 15px; height: 15px; vertical-align: -0.2em; --ic2: var(--maroon); }
.ribbon-crown .ic { --ic2: var(--gold-bright); }
.wa-float { color: #fff; }
.wa-float .ic { width: 28px; height: 28px; --ic2: var(--gold-bright); }

