/* Tumpu Digital — identitas "Titik Tumpu".
   Tinta (struktur) + kobalt (aksi) + tembaga (aksen kecil, titik tumpu). Permukaan solid, garis tipis,
   tanpa gradasi dekoratif. Huruf: Plus Jakarta Sans (dirancang di Jakarta) + IBM Plex Mono untuk angka. */
:root {
  --ink: #0e1a33;
  --ink-2: #13213f;
  --cobalt: #2450e6;
  --copper: #d4743c;
  --primary: var(--cobalt);
  --bg: #fafaf7;
  --tint: #f1f3f8;
  --surface: #ffffff;
  --text: #3d4659;
  --heading: #0e1a33;
  --muted: #5f6880;
  --border: #e1e5ee;
  --border-strong: #cbd2df;
  --check-bg: #e8eefd;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 14px;
  --r-sm: 10px;
  --shadow: none;
  --shadow-lg: 0 1px 2px rgba(14,26,51,.06), 0 24px 48px -28px rgba(14,26,51,.38);
  /* Permukaan gelap (blok tinta) dipakai di terang maupun gelap */
  --dark-bg: #0e1a33;
  --dark-text: #b4bdd1;
  --dark-line: rgba(255,255,255,.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; color: var(--heading); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }
section[id] { scroll-margin-top: 76px; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent; font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn .ic { transition: transform .15s; }
.btn:hover .ic { transform: translateX(2px); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--cobalt); }
.btn-ghost { border-color: var(--border-strong); color: var(--heading); background: var(--surface); }
.btn-ghost:hover { border-color: var(--heading); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8eefd; }

/* Navbar */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled, .nav.is-open { border-color: var(--border); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--heading); letter-spacing: -.02em; }
.brand span { font-weight: 500; color: var(--muted); }
svg.brand-mark { display: block; width: 28px; height: 28px; color: var(--heading); }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 500; margin-left: auto; }
.nav-links > a:not(.btn) { padding: 8px 12px; border-radius: 8px; color: var(--text); transition: color .15s, background .15s; }
.nav-links > a:not(.btn):hover { color: var(--heading); background: var(--tint); }
.nav-links > a.active { color: var(--heading); font-weight: 600; box-shadow: inset 0 -2px 0 var(--cobalt); border-radius: 0; }
.nav-links .btn { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--heading); cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 100%; left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); }
  .nav-links > a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav-links > a.active { box-shadow: inset 3px 0 0 var(--cobalt); background: var(--tint); }
  .nav-links .btn { margin: 8px 0 0; height: 46px; }
  .nav.is-open .nav-links { display: flex; }
}

/* Dulu efek grain — sekarang sengaja polos */
.grain { position: relative; }

/* Label kecil di atas judul */
.label, .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 16px; }
.eyebrow span { display: none; }

/* Hero */
.hero { position: relative; padding: 72px 0 72px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero .eyebrow { margin-bottom: 0; }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
.hero-sub { margin-top: 20px; max-width: 520px; font-size: 18px; color: var(--muted); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin-top: 44px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; padding-top: 22px; border-top: 1px solid var(--border); }
.hero-facts li { display: grid; gap: 2px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--border); }
.hero-facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts strong { color: var(--heading); font: 500 16px var(--mono); letter-spacing: -.01em; }
.hero-facts span { font-size: 14px; color: var(--muted); }

/* Panggung visual: panel tinta polos, jendela putih di atasnya */
.stage { position: relative; border-radius: 18px; padding: 32px 28px 0; overflow: hidden; background: var(--dark-bg); }
.hero-visual { position: relative; height: 470px; }
.win { position: absolute; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(14,26,51,.08), 0 24px 48px -20px rgba(0,0,0,.5); }
.win-site { top: 0; left: 0; right: 34px; height: 400px; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #eceef3; background: #f7f8fa; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ea; }
.win-bar span { margin: 0 auto; padding: 4px 12px; border-radius: 6px; background: #eef0f4; font: 12px var(--mono); color: #5f6880; }
.site { padding: 16px 18px; }
.site-nav { display: flex; align-items: center; gap: 10px; }
.site-nav b { width: 22px; height: 22px; border-radius: 6px; background: #0e1a33; margin-right: auto; }
.site-nav span { width: 40px; height: 6px; border-radius: 4px; background: #e4e7ee; }
.site-nav em { width: 64px; height: 22px; border-radius: 6px; background: #0e1a33; }
.site-hero { margin-top: 16px; padding: 30px 24px; border-radius: 10px; color: #fff; background: #13213f; }
.site-h1 { font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.site-btns { display: flex; gap: 8px; margin-top: 18px; }
.site-btns span { width: 84px; height: 26px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35); }
.site-btns span.a { background: #fff; border: 0; }
.site-tiles { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.site-tiles div { height: 80px; border-radius: 8px; background: #f1f3f8; border: 1px solid #e6e9f0; }
.site-tiles div:nth-child(2) { background: #eef2fb; }
.site-tiles div:nth-child(3) { background: #f5f1ec; }
.win-cms { right: 0; bottom: 34px; width: 240px; padding: 16px; display: grid; gap: 10px; font-size: 12.5px; }
.cms-head { display: flex; justify-content: space-between; align-items: center; }
.cms-head strong { color: #0e1a33; font-size: 13.5px; font-weight: 700; }
.cms-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #15803d; }
.cms-saved::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.win-cms label { display: grid; gap: 5px; color: #5f6880; }
.cms-field { padding: 8px 10px; border: 1px solid #cbd2df; border-radius: 8px; color: #0e1a33; background: #fff; }
.cms-publish { margin-top: 4px; padding: 9px; border-radius: 8px; background: #2450e6; color: #fff; text-align: center; font-weight: 600; }
.win-term { left: 24px; bottom: 0; width: 248px; padding: 14px 16px; border-radius: 12px 12px 0 0; background: #070d1a; font: 12px/1.75 var(--mono); color: #e2e6ef; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 48px -20px rgba(0,0,0,.6); }
.term-line .p { color: #6b7590; }
.term-line.dim { color: #9aa3b8; }
.term-line.ok { color: #7ee2a8; }

@media (max-width: 980px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .stage { max-width: 600px; }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .hero-facts li { border-right: 0; margin: 0; padding: 0; }
  .stage { padding: 20px 16px 0; border-radius: 14px; }
  .hero-visual { height: 380px; }
  .win-site { right: 0; height: 300px; }
  .win-term { display: none; }
  .win-cms { width: 200px; bottom: 0; border-radius: 12px 12px 0 0; }
  .site-h1 { font-size: 17px; }
  .site-tiles div { height: 56px; }
}

/* Section umum */
.section { padding: 96px 0; }
.tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.head h2 { font-size: clamp(28px, 3.3vw, 38px); max-width: 620px; }
.head-side { justify-self: end; max-width: 420px; display: grid; gap: 14px; justify-items: start; }
.head-side p { font-size: 17px; color: var(--muted); }
.head-stack { grid-template-columns: 1fr; gap: 14px; align-content: start; }
.head-stack .head-side { justify-self: start; }
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .head-side { justify-self: start; }
}

.ticks { display: grid; gap: 10px; align-content: start; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 5px;
  background: var(--check-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232450e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.ticks.light li { color: var(--dark-text); }
.ticks.light li::before { background-color: rgba(255,255,255,.08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* Layanan: bento */
.bento { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.card { position: relative; padding: 32px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); display: grid; gap: 14px; align-content: start; }
.card h3 { font-size: 22px; }
.card .num { font: 500 12.5px var(--mono); color: var(--muted); letter-spacing: .04em; }
.card-web { grid-row: span 2; grid-template-rows: auto auto auto auto auto 1fr; overflow: hidden; }
.pages { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.pages span { padding: 8px 13px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); font-size: 14px; color: var(--heading); }
.pages span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.devices { position: relative; align-self: end; margin: 18px -32px -32px; height: 260px; padding: 30px 32px 0; background: var(--dark-bg); }
.dv-laptop, .dv-phone { position: absolute; bottom: 0; background: #fff; padding: 10px; display: grid; gap: 8px; align-content: start; box-shadow: 0 24px 40px -20px rgba(0,0,0,.55); }
.dv-laptop { left: 32px; right: 130px; height: 220px; border-radius: 10px 10px 0 0; }
.dv-phone { right: 32px; width: 116px; height: 236px; border-radius: 18px 18px 0 0; padding: 14px 10px; }
.dv-hero { border-radius: 8px; padding: 16px 14px; display: grid; gap: 7px; justify-items: start; background: #13213f; }
.dv-hero b { width: 70%; height: 9px; border-radius: 4px; background: #fff; }
.dv-hero i { width: 50%; height: 6px; border-radius: 4px; background: rgba(255,255,255,.4); }
.dv-hero i.s { width: 56px; height: 16px; border-radius: 5px; background: #fff; margin-top: 4px; }
.dv-laptop .dv-hero { padding: 26px 20px; }
.dv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dv-row span, .dv-col span { height: 56px; border-radius: 6px; background: #f1f3f8; }
.dv-col { display: grid; gap: 8px; }
.dv-col span + span { background: #eef2fb; }
.card-ops { background: var(--dark-bg); border-color: var(--dark-bg); color: var(--dark-text); }
.card-ops h3 { color: #fff; }
.card-ops .num { color: #7f8aa6; }
.pipeline { display: flex; align-items: center; font: 12.5px var(--mono); }
.pipeline span { padding: 6px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.16); color: #d6dcea; }
.pipeline span.on { background: #fff; border-color: #fff; color: var(--ink); }
.pipeline i { flex: 1; min-width: 10px; height: 1px; background: rgba(255,255,255,.25); }
.card-tpl { background: var(--surface); }
.link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--heading); padding-bottom: 2px; border-bottom: 1px solid var(--border-strong); transition: color .15s, border-color .15s; }
.link:hover { color: var(--cobalt); border-color: currentColor; }
.link .ic { transition: transform .15s; }
.link:hover .ic { transform: translateX(3px); }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .card-web { grid-row: auto; }
  .card { padding: 24px; }
  .devices { margin: 16px -24px -24px; padding: 24px 24px 0; height: 220px; }
  .dv-laptop { left: 24px; right: 120px; height: 190px; }
  .dv-phone { right: 24px; width: 100px; height: 200px; }
}

/* Harga */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { padding: 30px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.price h3 { font-size: 19px; }
.price-desc { color: var(--muted); font-size: 15px; margin-top: -10px; }
.amount { font: 500 40px/1 var(--mono); letter-spacing: -.04em; color: var(--heading); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.amount small { font: 500 15px var(--font); letter-spacing: 0; color: var(--muted); }
.amount span { width: 100%; font: 400 14px var(--font); letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.price .ticks { flex: 1; padding-top: 18px; border-top: 1px solid var(--border); font-size: 15.5px; }
.price .btn { width: 100%; }
.price-main { position: relative; border-color: var(--dark-bg); color: var(--dark-text); background: var(--dark-bg); box-shadow: var(--shadow-lg); }
.price-main h3, .price-main .amount { color: #fff; }
.price-main .price-desc, .price-main .amount span, .price-main .amount small { color: #8f9ab4; }
.price-main .ticks { border-color: var(--dark-line); }
.price-main .btn-light:hover { background: #e8eefd; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #f3b38e; padding: 6px 9px; border-radius: 6px; border: 1px solid rgba(212,116,60,.45); }
.ops-prices { margin-top: 16px; padding: 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px 56px; align-items: start; }
.ops-head h3 { font-size: 19px; }
.ops-head p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.ops-list { grid-row: span 2; }
.ops-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ops-list li:first-child { padding-top: 0; }
.ops-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ops-list strong { color: var(--heading); font: 500 15.5px var(--mono); white-space: nowrap; }
.ops-list strong small { font: 400 13px var(--font); color: var(--muted); }
.ops-prices .btn { justify-self: start; align-self: end; }
@media (max-width: 960px) {
  .prices { grid-template-columns: 1fr; max-width: 520px; }
  .ops-prices { grid-template-columns: 1fr; padding: 24px; }
  .ops-list { grid-row: auto; }
}
@media (max-width: 480px) { .ops-list li { flex-direction: column; gap: 2px; } .ops-prices .btn { width: 100%; white-space: normal; } }

/* Template */
.tpl { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.tpl-visual { display: grid; gap: 12px; }
.tree { padding: 26px 28px; border-radius: var(--r); background: var(--dark-bg); font: 13.5px/2 var(--mono); color: #d6dcea; }
.tree b { color: #fff; font-weight: 500; }
.tree .i1 { padding-left: 22px; position: relative; }
.tree .i1::before { content: '├─'; position: absolute; left: 0; color: #4a5672; }
.tree em { font-style: normal; color: #9db5ff; }
.tree span { color: #6b7590; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.swatches .sw { grid-column: span 2; }
.swatches .sw:nth-child(-n+2) { grid-column: span 3; }
/* Kotak warna = palet asli tiap template (konten, bukan hiasan) */
.sw { position: relative; overflow: hidden; height: 96px; border-radius: 12px; padding: 14px 16px; display: flex; align-items: flex-end; color: #fff; font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.sw span { position: relative; }
a.sw { transition: opacity .15s; } a.sw:hover { opacity: .9; }
.sw-it-consultant { background: linear-gradient(160deg, #13235a, #0b1330); }
.sw-supplier { background: linear-gradient(160deg, #a2431a, #3a2214); }
.sw-kontraktor { background: linear-gradient(160deg, #3a4048, #16191d); }
.sw-klinik { background: linear-gradient(160deg, #0f766e, #0a4a45); }
.sw-kuliner { background: linear-gradient(160deg, #7a2626, #3b1414); }
.tpl-text h2 { font-size: clamp(28px, 3.3vw, 38px); }
.tpl-text .lead { margin: 16px 0 24px; font-size: 17px; color: var(--muted); }
.tpl-buy { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.tpl-price { display: flex; gap: 32px; }
.tpl-price div { display: grid; }
.tpl-price small { font-size: 13.5px; color: var(--muted); }
.tpl-price strong { font: 500 24px var(--mono); color: var(--heading); letter-spacing: -.03em; }
@media (max-width: 960px) { .tpl { grid-template-columns: 1fr; gap: 40px; } .tpl-text { order: -1; } }
@media (max-width: 480px) { .tpl-price { gap: 20px; flex-wrap: wrap; } .tpl-buy .btn { width: 100%; } }

/* Proses */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps > li { position: relative; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 10px; align-content: start; }
.steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-strong); color: var(--heading); font: 500 13px var(--mono); margin-bottom: 20px; }
.steps li:last-child span { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps h3 { font-size: 17.5px; }
.steps p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 16.5px; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 1.5px; background: var(--muted); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* CTA: blok tinta polos */
.cta-wrap { position: relative; padding: 96px 0; background: var(--dark-bg); color: var(--dark-text); }
.cta { position: relative; text-align: center; }
.cta .label { color: #f3b38e; }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.035em; max-width: 720px; margin: 0 auto; }
.cta p:not(.label) { margin: 18px 0 34px; font-size: 17px; color: var(--dark-text); }
.cta .btn { height: 50px; padding: 0 24px; }
.ic.wa { width: 20px; height: 20px; }
@media (max-width: 560px) { .cta-wrap { padding: 72px 0; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; font-size: 14.5px; color: var(--muted); background: var(--surface); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-top p { margin-top: 14px; max-width: 340px; }
.footer h4 { margin: 0 0 14px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--heading); }
.footer li { padding: 4px 0; }
.footer li a { transition: color .15s; }
.footer li a:hover { color: var(--heading); }
.dark-foot { background: #0a1427; color: #8792ab; border-top: 1px solid rgba(255,255,255,.06); }
.dark-foot .brand { color: #fff; }
.dark-foot .brand span { color: #8f9ab4; }
.dark-foot svg.brand-mark { color: #fff; }
.dark-foot h4 { color: #d6dcea; }
.dark-foot li a:hover { color: #fff; }
.dark-foot .footer-bottom { border-color: rgba(255,255,255,.08); }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* Animasi muncul: halus, satu kali */
.reveal-on .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.reveal-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal-on .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Multi-halaman ---------- */
.link.light { color: #fff; border-color: rgba(255,255,255,.3); }
.link.light:hover { color: #fff; border-color: #fff; }
.card .link { margin-top: 4px; }
a.inline { color: var(--heading); font-weight: 600; border-bottom: 1px solid var(--border-strong); transition: border-color .15s; }
a.inline:hover { border-color: var(--heading); }

/* Header halaman detail */
.page-hero { position: relative; padding: 64px 0 64px; border-bottom: 1px solid var(--border); }
.crumbs { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--heading); }
.crumbs b { font-weight: 500; color: var(--cobalt); }
.page-hero h1 { margin-top: 20px; max-width: 820px; font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.07; letter-spacing: -.035em; }
.page-lead { margin-top: 18px; max-width: 600px; font-size: 18px; color: var(--muted); }
.page-hero .hero-cta { margin-top: 28px; }
@media (max-width: 860px) { .page-hero { padding: 44px 0 48px; } }

/* Blok detail */
.detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.detail.reverse .detail-text { order: 2; }
.detail-text h2 { font-size: clamp(28px, 3.3vw, 38px); }
.detail-text .lead { margin: 16px 0 24px; font-size: 17px; color: var(--muted); }
.detail-text .hero-cta { margin-top: 28px; }
.detail-visual .stage { padding: 28px 24px 0; }
.detail-visual .hero-visual { height: 430px; }
.ops-visual { position: relative; padding: 32px 28px 0; border-radius: 18px; overflow: hidden; background: var(--dark-bg); display: grid; gap: 28px; }
.win-term.static { position: relative; left: auto; bottom: auto; width: auto; padding: 22px 24px 26px; font-size: 13px; }
.checklist li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--border); }
.checklist li::before { top: 17px; }
.checklist li:last-child { border-bottom: 0; }
.ticks.checklist { gap: 0; padding: 8px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
@media (max-width: 960px) {
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .detail.reverse .detail-text { order: 0; }
}
@media (max-width: 560px) {
  .detail-visual .stage { padding: 20px 16px 0; }
  .detail-visual .hero-visual { height: 380px; }
  .ops-visual { padding: 24px 16px 0; border-radius: 14px; }
}

/* Perbandingan paket */
.compare { border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; align-items: center; padding: 15px 26px; border-top: 1px solid var(--border); }
.compare-row:first-child { border-top: 0; }
.compare-row span { color: var(--text); }
.compare-row b { font-weight: 600; color: var(--heading); }
.compare-head { background: var(--tint); }
.compare-head b { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.compare .yes { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--check-bg); color: var(--cobalt); font-size: 12px; }
.compare .no { font-style: normal; color: var(--border-strong); }
@media (max-width: 560px) { .compare-row { grid-template-columns: 1.1fr 1fr 1fr; padding: 13px 16px; font-size: 14px; gap: 10px; } }

/* Kartu harga template */
.tpl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tpl-card { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 8px; align-content: start; }
.tpl-card small { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tpl-card strong { font: 500 32px/1.2 var(--mono); letter-spacing: -.04em; color: var(--heading); }
.tpl-card p { color: var(--muted); }
.tpl-card .btn { justify-self: start; margin-top: 12px; }
@media (max-width: 760px) { .tpl-cards { grid-template-columns: 1fr; } }

/* Catatan kecil */
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note { padding: 26px 28px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.note h3 { font-size: 18px; margin-bottom: 8px; }
.note p { color: var(--muted); }
@media (max-width: 760px) { .note-grid { grid-template-columns: 1fr; } }

/* Proses detail */
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.steps .step-top span { margin-bottom: 0; }
.step-top em { font: 500 12px var(--mono); font-style: normal; color: var(--muted); }
.steps-detail .ticks { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14.5px; gap: 8px; }
.steps-detail .ticks li { padding-left: 26px; }
.steps-detail .ticks li::before { top: 3px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flow li { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 10px; align-content: start; }
.flow span { font: 500 13px var(--mono); color: var(--cobalt); margin-bottom: 12px; }
.flow h3 { font-size: 19px; }
.flow p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }

/* FAQ halaman penuh */
.faq-page { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.faq-toc { position: sticky; top: 96px; display: grid; gap: 2px; }
.faq-toc a { padding: 10px 14px; color: var(--muted); border-left: 2px solid var(--border); transition: color .15s, border-color .15s; }
.faq-toc a:hover { color: var(--heading); border-color: var(--cobalt); }
.faq-groups { display: grid; gap: 56px; }
.faq-group { scroll-margin-top: 96px; }
.faq-group h2 { font-size: 24px; margin-bottom: 18px; }
@media (max-width: 860px) {
  .faq-page { grid-template-columns: 1fr; gap: 28px; }
  .faq-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-toc a { border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 12px; font-size: 14px; }
}

/* Lanjut ke halaman berikutnya */
.next-wrap { padding: 0 0 96px; }
.section:not(.tint) + .next-wrap { padding-top: 0; }
.tint + .next-wrap { padding-top: 80px; }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-card { position: relative; display: grid; gap: 6px; padding: 26px 28px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); transition: border-color .15s; }
.next-card:hover { border-color: var(--heading); }
.next-card small { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next-card strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--heading); }
.next-card span { color: var(--muted); font-size: 15.5px; }
.next-card:not(.prev) { text-align: right; }
@media (max-width: 860px) { .next-wrap { padding-bottom: 64px; } }
@media (max-width: 640px) { .next-grid { grid-template-columns: 1fr; } .next-card:not(.prev) { text-align: left; } }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.co-form { display: grid; gap: 18px; padding: 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.co-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--heading); }
.co-form label small { font-weight: 400; color: var(--muted); font-size: 13px; }
.co-form input:not([type="radio"]) { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--bg); font: 16px var(--font); color: var(--heading); outline: none; transition: border-color .15s, box-shadow .15s; }
.co-form input:not([type="radio"]):focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(36,80,230,.15); }
.co-products { border: 0; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.co-products legend { font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 10px; }
.co-product { grid-template-columns: auto 1fr auto !important; align-items: center; gap: 14px !important; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--border-strong); cursor: pointer; transition: border-color .15s, background .15s; }
.co-product:has(input:checked) { border-color: var(--ink); background: var(--tint); box-shadow: 0 0 0 1px var(--ink); }
.co-product input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.co-product b { display: block; font-weight: 700; }
.co-product small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.co-product strong { font: 500 17px var(--mono); white-space: nowrap; }
.co-form .btn { width: 100%; height: 50px; margin-top: 4px; }
.co-form .btn:disabled { opacity: .7; cursor: wait; }
.co-error { padding: 12px 14px; border-radius: var(--r-sm); background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 14.5px; }
.co-note { font-size: 13px; color: var(--muted); text-align: center; }
.co-side { position: sticky; top: 96px; padding: 28px; border-radius: var(--r); border: 1px solid var(--border); background: var(--tint); }
.co-side h3 { font-size: 18px; margin-bottom: 16px; }
.co-help { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-strong); font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .co-side { position: static; } }
@media (max-width: 480px) { .co-form { padding: 20px; } .co-product { grid-template-columns: auto 1fr !important; } .co-product strong { grid-column: 2; } }

.co-done-wrap { padding-top: 64px; }
.co-done { max-width: 620px; margin: 0 auto; padding: 52px 36px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); text-align: center; }
.co-state { display: none; justify-items: center; gap: 14px; }
.co-done[data-state="loading"] [data-show="loading"], .co-done[data-state="paid-download"] [data-show="paid-download"], .co-done[data-state="paid-contact"] [data-show="paid-contact"],
.co-done[data-state="pending"] [data-show="pending"], .co-done[data-state="error"] [data-show="error"] { display: grid; }
.co-state h1 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.co-state p { color: var(--muted); max-width: 460px; }
.co-state .btn { margin-top: 10px; }
.co-ok, .co-wait { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; font-size: 24px; margin-bottom: 6px; }
.co-ok { background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; }
.co-wait { background: var(--tint); color: var(--muted); border: 1px solid var(--border-strong); }
.co-spin { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--ink); animation: spin .8s linear infinite; margin-bottom: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-small { font-size: 14px; }
.co-order { margin-top: 24px; font: 12.5px var(--mono); color: var(--muted); }

/* ---------- Section gelap penuh-lebar ---------- */
.section.dark { background: var(--dark-bg); color: var(--dark-text); border: 0; }
.section.dark .label { color: #f3b38e; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .head-side p { color: var(--dark-text); }
.section.dark .link { color: #fff; border-color: rgba(255,255,255,.3); }
.section.dark .link:hover { border-color: #fff; color: #fff; }
.section.dark .steps > li { background: rgba(255,255,255,.04); border-color: var(--dark-line); }
.section.dark .steps p { color: var(--dark-text); }
.section.dark .steps span { border-color: rgba(255,255,255,.22); color: #fff; }
.section.dark .steps li:last-child span { background: var(--copper); color: #fff; border-color: var(--copper); }

/* Hover: cukup garis tepi yang menegas */
.card:not(.card-ops), .price:not(.price-main), .steps > li, .tpl-card, .flow li, .note { transition: border-color .15s; }
.card:not(.card-ops):hover, .price:not(.price-main):hover, .section:not(.dark) .steps > li:hover, .tpl-card:hover, .flow li:hover { border-color: var(--border-strong); }

/* Strip stack teknologi */
.stack-strip { padding: 36px 0 40px; border-bottom: 1px solid var(--border); background: var(--bg); }
.stack-label { display: flex; align-items: center; gap: 16px; justify-content: center; white-space: nowrap; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.stack-label::before, .stack-label::after { content: ''; flex: 0 1 110px; min-width: 20px; height: 1px; background: var(--border-strong); }
.marquee { display: flex; overflow: hidden; user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; gap: 10px; padding-right: 10px; min-width: 100%; justify-content: space-around; animation: marquee 48s linear infinite; }
.marquee-track li { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font: 500 14px var(--font); color: var(--heading); white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Kartu ringkasan di header halaman */
.page-hero-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 64px; align-items: end; }
.hero-aside { position: relative; padding: 24px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.aside-title { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 12px; }
.hero-aside dl { margin: 0; }
.hero-aside dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); }
.hero-aside dl div:first-child { border-top: 0; padding-top: 4px; }
.hero-aside dt { color: var(--muted); font-size: 14.5px; }
.hero-aside dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; }
.aside-note { margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--border-strong); font-size: 13.5px; color: var(--muted); }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-aside { max-width: 480px; } }

/* ---------- Tombol mode terang/gelap ---------- */
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 8px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--heading); cursor: pointer; transition: border-color .15s; }
.theme-toggle:hover { border-color: var(--heading); }
.theme-toggle .ic { width: 17px; height: 17px; }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
@media (max-width: 860px) { .theme-toggle { margin-left: auto; } }

/* Label harga perkenalan */
.intro-badge { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; width: fit-content; margin: -16px 0 28px; padding: 8px 14px 8px 8px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--text); }
.intro-badge span { padding: 5px 9px; border-radius: 6px; background: var(--copper); color: #fff; font: 500 11.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 560px) { .intro-badge { margin-top: -8px; padding: 10px 12px; } }

/* ---------- Portofolio ---------- */
.demos { display: grid; gap: 104px; }
.demo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.demo.flip .demo-shot { order: 2; }
.demo-shot { position: relative; display: block; padding: 24px 24px 0; border-radius: 18px; background: var(--dark-bg); }
.demo-browser { border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); transition: transform .3s; }
.demo-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.demo-phone { position: absolute; right: -16px; bottom: -24px; width: 26%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 20px; border: 6px solid #0e1a33; box-shadow: 0 24px 40px -18px rgba(0,0,0,.55); background: #fff; transition: transform .3s; }
.demo.flip .demo-phone { right: auto; left: -16px; }
.demo-shot:hover .demo-browser { transform: translateY(-3px); }
.demo-shot:hover .demo-phone { transform: translateY(-6px); }
.demo-text h2 { font-size: clamp(26px, 3vw, 36px); }
.demo-text .lead { margin: 14px 0 20px; color: var(--muted); font-size: 17px; }
.demo-pages { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-pages li { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; color: var(--heading); }
.demo-text .hero-cta { margin-top: 28px; }
@media (max-width: 960px) {
  .demos { gap: 88px; }
  .demo { grid-template-columns: 1fr; gap: 48px; }
  .demo.flip .demo-shot { order: 0; }
  .demo-shot { padding: 16px 16px 0; border-radius: 14px; }
  .demo-phone { right: -6px; bottom: -20px; border-width: 4px; border-radius: 14px; }
  .demo.flip .demo-phone { left: auto; right: -6px; }
}

/* ---------- Mode gelap ----------
   Dirancang tersendiri: latar tinta kebiruan yang dalam, permukaan sedikit lebih terang, kobalt dicerahkan
   supaya tetap terbaca. Mockup "website klien" tetap terang karena meniru situs klien. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1120;
  --tint: #0d1628;
  --surface: #111b2f;
  --text: #b6bfd2;
  --heading: #f1f4fa;
  --muted: #8590a8;
  --border: #1d2840;
  --border-strong: #2c3a56;
  --cobalt: #7a9bff;
  --check-bg: rgba(122,155,255,.14);
  --shadow-lg: 0 1px 2px rgba(0,0,0,.4), 0 24px 48px -24px rgba(0,0,0,.8);
  --dark-bg: #0f1a30;
  --dark-line: rgba(255,255,255,.08);
}
[data-theme="dark"] .btn-dark { background: #f1f4fa; color: #0e1a33; }
[data-theme="dark"] .btn-dark:hover { background: #ffffff; }
[data-theme="dark"] .btn-ghost { background: transparent; }
[data-theme="dark"] .pages span:first-child, [data-theme="dark"] .steps li:last-child span { background: #f1f4fa; color: #0e1a33; border-color: #f1f4fa; }
[data-theme="dark"] .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a9bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
/* Blok tinta di atas halaman gelap: diberi garis tepi supaya tetap terpisah */
[data-theme="dark"] .stage, [data-theme="dark"] .card-ops, [data-theme="dark"] .tree, [data-theme="dark"] .ops-visual, [data-theme="dark"] .price-main, [data-theme="dark"] .demo-shot, [data-theme="dark"] .devices { box-shadow: inset 0 0 0 1px var(--border-strong); }
[data-theme="dark"] .section.dark, [data-theme="dark"] .cta-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .dark-foot { background: #070d19; }
[data-theme="dark"] .demo-phone { border-color: #2c3a56; }
[data-theme="dark"] .co-product:has(input:checked) { border-color: var(--heading); box-shadow: 0 0 0 1px var(--heading); }
[data-theme="dark"] .co-product input { accent-color: var(--cobalt); }
/* Mockup jendela website & CMS tetap memakai palet terang */
[data-theme="dark"] .win:not(.win-term), [data-theme="dark"] .dv-laptop, [data-theme="dark"] .dv-phone { color-scheme: light; }

/* Transisi halus saat ganti mode */
body, .nav, .card, .price, .note, .next-card, .tpl-card, .flow li, .steps > li, .hero-aside, .marquee-track li, .tint { transition-property: background-color, border-color, color; transition-duration: .2s; }

/* ---------- Animasi ----------
   Kelas .anim dipasang di <html> sebelum halaman tampil, hanya kalau pengunjung tidak memilih
   "kurangi gerakan". Semua animasi berjalan sekali dan berhenti di keadaan akhir yang sama dengan
   tampilan tanpa animasi. */

/* Logo: balok jatuh ke tumpuan, sedikit oleng, lalu seimbang; titik tembaga menyusul. */
.anim .nav svg.brand-mark .lm-beam { transform-box: fill-box; transform-origin: 50% 100%; animation: tumpu-beam .9s cubic-bezier(.3,.7,.3,1) .1s both; }
.anim .nav svg.brand-mark .lm-dot { transform-box: fill-box; transform-origin: center; animation: tumpu-dot .35s ease-out .85s both; }
@keyframes tumpu-beam {
  0% { transform: translateY(-14px) rotate(-14deg); opacity: 0; }
  45% { transform: translateY(0) rotate(7deg); opacity: 1; }
  70% { transform: rotate(-3deg); }
  100% { transform: none; }
}
@keyframes tumpu-dot { from { transform: scale(0); } 70% { transform: scale(1.4); } to { transform: scale(1); } }

/* Hero: simpan konten → Publish → log deploy → live. Satu urutan, ±3 detik. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes press { 0%, 100% { transform: none; filter: none; } 45% { transform: scale(.95); filter: brightness(.82); } }
@keyframes line-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.anim .hero .win-site { animation: rise .6s ease-out .15s both; }
.anim .hero .win-cms { animation: slide-in .55s ease-out .55s both; }
.anim .hero .cms-saved { animation: pop .3s ease-out 1.15s both; }
.anim .hero .cms-publish { animation: press .35s ease-in-out 1.55s both; }
.anim .hero .win-term { animation: rise .45s ease-out 1.75s both; }
.anim .hero .win-term .term-line { animation: line-in .3s ease-out both; }
.anim .hero .win-term .term-line:nth-child(1) { animation-delay: 2s; }
.anim .hero .win-term .term-line:nth-child(2) { animation-delay: 2.35s; }
.anim .hero .win-term .term-line:nth-child(3) { animation-delay: 2.7s; }
.anim .hero .win-term .term-line:nth-child(4) { animation: line-in .3s ease-out 3.05s both, live .9s ease-in-out 3.4s 2; }

/* Judul & tombol hero masuk lebih dulu, tipis saja */
.anim .hero h1, .anim .page-hero h1 { animation: rise .55s ease-out both; }
.anim .hero-sub, .anim .page-lead { animation: rise .55s ease-out .08s both; }
.anim .hero-cta, .anim .hero-facts { animation: rise .55s ease-out .16s both; }
.anim .hero-aside { animation: rise .55s ease-out .2s both; }

/* Panel status server di halaman Layanan: baris muncul berurutan saat terlihat */
.anim .reveal .win-term.static .term-line { opacity: 0; }
.anim .reveal.in .win-term.static .term-line { animation: line-in .3s ease-out both; }
.anim .reveal.in .win-term.static .term-line:nth-child(2) { animation-delay: .25s; }
.anim .reveal.in .win-term.static .term-line:nth-child(3) { animation-delay: .5s; }
.anim .reveal.in .win-term.static .term-line:nth-child(4) { animation-delay: .75s; }
.anim .reveal.in .win-term.static .term-line:nth-child(5) { animation-delay: 1s; }

/* Tombol: tekan terasa */
.btn:active { transform: translateY(1px); }

/* FAQ membuka dengan mulus (browser yang mendukung) */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: clip; transition: height .25s ease, content-visibility .25s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* Pindah halaman: memudar halus, navbar tetap di tempat */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .faq details::details-content { transition: none; }
  .btn:active { transform: none; }
}

/* ---------- "Video" penjelas di hero ----------
   Berputar terus tanpa tombol/bar dan tanpa jeda saat diklik. Frame berpalet tetap (tinta) supaya sama di mode terang
   & gelap. Ukuran isi memakai --u = 1cqmin; tata letak adegan mengikuti bentuk frame (container query). */
.xp { position: relative; border-radius: 18px; }
.xp-frame { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #0e1a33; color: #dfe5f2; container-type: size; font-family: var(--font); }
[data-theme="dark"] .xp-frame { box-shadow: inset 0 0 0 1px var(--border-strong); }
.xp-scene { --u: 1cqmin; position: absolute; inset: 0; display: grid; place-items: center; padding: calc(var(--u) * 12) calc(var(--u) * 6) calc(var(--u) * 6); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.xp-scene.on { opacity: 1; visibility: visible; }
.xp.paused .xp-scene * { animation-play-state: paused !important; }
.xp-chip { position: absolute; z-index: 2; top: 4cqmin; left: 4cqmin; padding: 1.2cqmin 2.2cqmin; border-radius: 1.4cqmin; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #dfe5f2; font: 500 max(11px, 2.6cqmin)/1.2 var(--mono); letter-spacing: .02em; }
.x-ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Bahan bersama di dalam frame */
.x-search, .x-chat, .x-cms, .x-endcard { font-size: calc(var(--u) * 3.3); }
.x-search { width: min(78cqw, calc(var(--u) * 120)); background: #fff; color: #0e1a33; border-radius: calc(var(--u) * 2.6); padding: calc(var(--u) * 3.4); box-shadow: 0 2cqmin 5cqmin -2cqmin rgba(0,0,0,.6); }
.x-q { display: flex; align-items: center; gap: calc(var(--u) * 1.6); padding: calc(var(--u) * 1.8) calc(var(--u) * 2.4); border: 1px solid #cbd2df; border-radius: 99px; font: 500 1em var(--mono); color: #0e1a33; }
.x-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 18ch; border-right: 2px solid #2450e6; }
.x-res { margin-top: calc(var(--u) * 2.6); display: grid; gap: calc(var(--u) * 1.6); }
.x-res li { display: grid; gap: calc(var(--u) * .4); padding: calc(var(--u) * 1.4) calc(var(--u) * 1.8); border-radius: calc(var(--u) * 1.4); }
.x-res b { color: #1a3fc0; font-weight: 600; font-size: .95em; }
.x-res i { font: normal .78em var(--mono); color: #4f6b55; }
.x-miss { border: 1.5px dashed #d4743c; color: #b25a28; font-weight: 600; font-size: .92em; }
.x-you { background: #eef2fd; box-shadow: inset 3px 0 0 #d4743c; }

/* Adegan 2: obrolan WhatsApp */
.x-chat { width: min(70cqw, calc(var(--u) * 92)); background: #efeae2; border-radius: calc(var(--u) * 2.6); padding: calc(var(--u) * 2.6); display: grid; gap: calc(var(--u) * 1.8); color: #111b21; }
.x-chat-head { display: flex; align-items: center; gap: calc(var(--u) * 1.4); padding-bottom: calc(var(--u) * 1.4); border-bottom: 1px solid #d6d0c4; color: #0e1a33; }
.x-chat-head .x-ic { color: #1fa855; }
.x-chat-head small { margin-left: auto; color: #1f8a55; font-size: .75em; }
.x-b { margin: 0; padding: calc(var(--u) * 1.6) calc(var(--u) * 2.2); border-radius: calc(var(--u) * 2); max-width: 82%; line-height: 1.4; font-size: .92em; }
.x-in { background: #fff; justify-self: start; border-top-left-radius: 2px; }
.x-out { background: #d9fdd3; justify-self: end; border-top-right-radius: 2px; }

/* Adegan 3: website dirakit */
.x-build { display: flex; align-items: flex-end; gap: calc(var(--u) * 3); }
.x-browser { width: min(62cqw, calc(var(--u) * 110)); background: #fff; border-radius: calc(var(--u) * 2); overflow: hidden; color: #0e1a33; box-shadow: 0 2cqmin 5cqmin -2cqmin rgba(0,0,0,.6); }
.x-bar { display: flex; align-items: center; gap: calc(var(--u) * .9); padding: calc(var(--u) * 1.3) calc(var(--u) * 1.8); background: #f2f4f8; border-bottom: 1px solid #e3e7ef; }
.x-bar i { width: calc(var(--u) * 1.4); height: calc(var(--u) * 1.4); border-radius: 50%; background: #d4d9e3; }
.x-bar span { margin: 0 auto; font: calc(var(--u) * 2.2) var(--mono); color: #5f6880; }
.x-page { padding: calc(var(--u) * 2.2); display: grid; gap: calc(var(--u) * 1.8); }
.x-nav { display: flex; align-items: center; gap: calc(var(--u) * 1.2); }
.x-nav b { width: calc(var(--u) * 3.4); height: calc(var(--u) * 3.4); border-radius: calc(var(--u) * .8); background: #0e1a33; margin-right: auto; }
.x-nav span { width: calc(var(--u) * 6); height: calc(var(--u) * .9); border-radius: 4px; background: #dfe3ea; }
.x-nav em { width: calc(var(--u) * 10); height: calc(var(--u) * 3.2); border-radius: calc(var(--u) * .8); background: #2450e6; }
.x-hero { background: #13213f; color: #fff; border-radius: calc(var(--u) * 1.4); padding: calc(var(--u) * 3.6) calc(var(--u) * 3); display: grid; gap: calc(var(--u) * 2); justify-items: start; }
.x-hero strong { font-size: calc(var(--u) * 3.6); line-height: 1.15; letter-spacing: -.02em; max-width: 18em; }
.x-btn { width: calc(var(--u) * 14); height: calc(var(--u) * 3.6); border-radius: calc(var(--u) * .8); background: #fff; }
.x-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 1.4); }
.x-tiles div { padding: calc(var(--u) * 3.4) calc(var(--u) * 1.4) calc(var(--u) * 1.2); border-radius: calc(var(--u) * 1.2); background: #f1f3f8; border: 1px solid #e3e7ef; font-size: calc(var(--u) * 2.3); font-weight: 600; color: #3d4659; }
.x-tiles div:nth-child(2) { background: #f5f1ec; }
.x-phone { width: calc(var(--u) * 24); background: #fff; border: calc(var(--u) * 1.2) solid #22304f; border-radius: calc(var(--u) * 3.4); padding: calc(var(--u) * 1.4); display: grid; gap: calc(var(--u) * 1.2); }
.x-phone .x-hero { padding: calc(var(--u) * 2.4) calc(var(--u) * 1.6); }
.x-phone .x-hero strong { font-size: calc(var(--u) * 2.4); }
.x-tile { height: calc(var(--u) * 7); border-radius: calc(var(--u) * 1); background: #f1f3f8; }

/* Adegan 4: edit → publish → live */
.xs-4 { grid-template-columns: auto auto; gap: calc(var(--u) * 4); align-content: center; }
.x-cms { width: min(46cqw, calc(var(--u) * 74)); background: #fff; color: #0e1a33; border-radius: calc(var(--u) * 2.2); padding: calc(var(--u) * 3); display: grid; gap: calc(var(--u) * 1.4); grid-row: span 2; }
.x-cms-head { display: flex; justify-content: space-between; align-items: center; }
.x-saved { color: #15803d; font-size: .8em; font-weight: 600; }
.x-cms label { color: #5f6880; font-size: .82em; }
.x-field { position: relative; padding: calc(var(--u) * 1.6) calc(var(--u) * 1.8); border: 1px solid #cbd2df; border-radius: calc(var(--u) * 1.2); font-size: .9em; min-height: 2.8em; }
.x-field s { color: #8a93a8; }
.x-field span { position: absolute; left: calc(var(--u) * 1.8); right: calc(var(--u) * 1.8); top: calc(var(--u) * 1.6); }
.x-publish { margin-top: calc(var(--u) * .6); padding: calc(var(--u) * 1.6); border-radius: calc(var(--u) * 1.2); background: #2450e6; color: #fff; text-align: center; font-weight: 600; }
.x-term { background: #070d1a; border: 1px solid rgba(255,255,255,.1); border-radius: calc(var(--u) * 1.8); padding: calc(var(--u) * 2.4) calc(var(--u) * 2.8); font: calc(var(--u) * 2.7)/1.8 var(--mono); color: #c9d3ea; align-self: end; }
.x-term p { margin: 0; }
.x-live { color: #7ee2a8; }
.x-url { display: inline-flex; align-items: center; gap: calc(var(--u) * 1.2); padding: calc(var(--u) * 1.4) calc(var(--u) * 2.4); border-radius: 99px; background: #fff; color: #0e1a33; font: 600 calc(var(--u) * 3) var(--font); align-self: start; justify-self: start; }
.x-url .x-ic { color: #15803d; }

/* Adegan 5: tampil di Google + chat masuk */
.xs-5 { grid-template-columns: auto auto; gap: calc(var(--u) * 4); }
.x-search-top { width: min(48cqw, calc(var(--u) * 84)); }
.x-notifs { display: grid; gap: calc(var(--u) * 1.8); width: min(36cqw, calc(var(--u) * 62)); font-size: calc(var(--u) * 2.9); }
.x-notifs p { margin: 0; display: flex; gap: calc(var(--u) * 1.6); align-items: flex-start; background: #fff; color: #111b21; padding: calc(var(--u) * 1.8) calc(var(--u) * 2.2); border-radius: calc(var(--u) * 1.8); line-height: 1.35; }
.x-notifs .x-ic { color: #1fa855; margin-top: .15em; }
.x-notifs b { display: block; font-size: .8em; color: #1f8a55; }

/* Penutup */
.x-endcard { display: grid; justify-items: center; gap: calc(var(--u) * 2.4); text-align: center; }
.x-logo { width: calc(var(--u) * 20); height: calc(var(--u) * 20); }
.x-endcard strong { font-size: calc(var(--u) * 7); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.x-endcard strong span { font-weight: 500; color: #9fb0d6; }
.x-endcard p { margin: 0; color: #b4bdd1; font-size: calc(var(--u) * 3.4); }

/* Frame tegak/persegi (hero): adegan bersisian jadi bertumpuk */
@container (orientation: portrait) {
  .xs-4, .xs-5 { grid-template-columns: 1fr; gap: calc(var(--u) * 2.4); justify-items: center; align-content: center; }
  .x-cms, .x-search-top { width: 86cqw; }
  .x-cms { grid-row: auto; }
  .x-notifs { width: 86cqw; }
  .x-notifs p:nth-child(3) { display: none; }
  .x-url { justify-self: center; }
  .x-term { align-self: auto; }
  .x-phone { display: none; }
  .x-browser, .x-search, .x-chat { width: 86cqw; }
}
@media (max-width: 640px) { .xp-frame { aspect-ratio: 4 / 5; border-radius: 14px; } .xp { border-radius: 14px; } }

/* Gerak di tiap adegan (mulai ulang setiap adegan tampil) */
@keyframes x-in { from { opacity: 0; transform: translateY(calc(var(--u) * 3)); } to { opacity: 1; transform: none; } }
@keyframes x-type { from { width: 0; } to { width: 18ch; } }
@keyframes x-caret { 50% { border-color: transparent; } }
@keyframes x-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes x-drop { from { opacity: 0; transform: translateY(calc(var(--u) * -4)); } to { opacity: 1; transform: none; } }
@keyframes x-strike { from { opacity: 1; } to { opacity: 0; } }
@keyframes x-press { 0%, 100% { transform: none; filter: none; } 50% { transform: scale(.96); filter: brightness(.8); } }
@keyframes x-blink { 50% { opacity: .35; } }
@keyframes x-slide { from { opacity: 0; transform: translateX(calc(var(--u) * 6)); } to { opacity: 1; transform: none; } }
.anim .xp-scene.on .x-search, .anim .xp-scene.on .x-chat, .anim .xp-scene.on .x-browser, .anim .xp-scene.on .x-cms { animation: x-in .5s ease-out both; }
.anim .xs-1.on .x-type { animation: x-type 1.2s steps(18) .5s both, x-caret .7s step-end 1.7s 4; }
.anim .xs-1.on .x-res li { animation: x-in .4s ease-out both; }
.anim .xs-1.on .x-res li:nth-child(1) { animation-delay: 1.9s; }
.anim .xs-1.on .x-res li:nth-child(2) { animation-delay: 2.15s; }
.anim .xs-1.on .x-res li:nth-child(3) { animation-delay: 2.4s; }
.anim .xs-1.on .x-res li.x-miss { animation: x-pop .45s ease-out 3.1s both; }
.anim .xs-2.on .x-b { animation: x-pop .4s ease-out both; }
.anim .xs-2.on .x-b:nth-of-type(1) { animation-delay: .7s; }
.anim .xs-2.on .x-b:nth-of-type(2) { animation-delay: 1.9s; }
.anim .xs-2.on .x-b:nth-of-type(3) { animation-delay: 3.3s; }
.anim .xs-3.on .x-nav { animation: x-drop .4s ease-out .6s both; }
.anim .xs-3.on .x-page .x-hero { animation: x-drop .45s ease-out 1.1s both; }
.anim .xs-3.on .x-tiles div { animation: x-drop .4s ease-out both; }
.anim .xs-3.on .x-tiles div:nth-child(1) { animation-delay: 1.7s; }
.anim .xs-3.on .x-tiles div:nth-child(2) { animation-delay: 1.9s; }
.anim .xs-3.on .x-tiles div:nth-child(3) { animation-delay: 2.1s; }
.anim .xs-3.on .x-phone { animation: x-slide .5s ease-out 2.7s both; }
.anim .xs-4.on .x-field s { animation: x-strike .3s ease-in .9s both; }
.anim .xs-4.on .x-field span { animation: x-in .35s ease-out 1.2s both; }
.anim .xs-4.on .x-saved { animation: x-pop .3s ease-out 1.8s both; }
.anim .xs-4.on .x-publish { animation: x-press .4s ease-in-out 2.3s both; }
.anim .xs-4.on .x-term { animation: x-in .4s ease-out 2.6s both; }
.anim .xs-4.on .x-term p { animation: x-in .3s ease-out both; }
.anim .xs-4.on .x-term p:nth-child(1) { animation-delay: 2.9s; }
.anim .xs-4.on .x-term p:nth-child(2) { animation-delay: 3.25s; }
.anim .xs-4.on .x-term p:nth-child(3) { animation: x-in .3s ease-out 3.6s both, x-blink .8s ease-in-out 3.9s 2; }
.anim .xs-4.on .x-url { animation: x-pop .4s ease-out 4.1s both; }
.anim .xs-5.on .x-search { animation: x-in .5s ease-out both; }
.anim .xs-5.on .x-you { animation: x-pop .45s ease-out .6s both; }
.anim .xs-5.on .x-notifs p { animation: x-slide .45s ease-out both; }
.anim .xs-5.on .x-notifs p:nth-child(1) { animation-delay: 1.4s; }
.anim .xs-5.on .x-notifs p:nth-child(2) { animation-delay: 2.4s; }
.anim .xs-5.on .x-notifs p:nth-child(3) { animation-delay: 3.4s; }
.anim .xs-end.on .x-logo .lm-beam { transform-box: fill-box; transform-origin: 50% 100%; animation: tumpu-beam .9s cubic-bezier(.3,.7,.3,1) .2s both; }
.anim .xs-end.on .x-logo .lm-dot { transform-box: fill-box; transform-origin: center; animation: tumpu-dot .35s ease-out .95s both; }
.anim .xs-end.on strong, .anim .xs-end.on p { animation: x-in .45s ease-out 1s both; }

/* ---------- Transisi antar adegan video ----------
   Tiap adegan punya data-tx: wipe (panel warna brand menyapu layar), slide (geser), zoom (perbesar + blur).
   Adegan lama diberi kelas .out selama animasi keluar. Hanya jalan di html.anim. */
.xp-scene { transition: none; }
.xp-scene.on { z-index: 1; }
.xp-scene.out { visibility: visible; opacity: 1; z-index: 0; pointer-events: none; }
.anim [data-tx="slide"] .xp-scene.on { animation: xs-slide-in .7s cubic-bezier(.2,.8,.2,1) .14s both; }
.anim [data-tx="slide"] .xp-scene.out { animation: xs-slide-out .5s cubic-bezier(.4,0,.6,1) both; }
.anim [data-tx="zoom"] .xp-scene.on { animation: xs-zoom-in .75s cubic-bezier(.2,.8,.2,1) .12s both; }
.anim [data-tx="zoom"] .xp-scene.out { animation: xs-zoom-out .5s ease-in both; }
.anim [data-tx="wipe"] .xp-scene.on { animation: xs-appear .01s linear .38s both; }
.anim [data-tx="wipe"] .xp-scene.out { animation: xs-hold .4s steps(1, end) both; }
@keyframes xs-slide-in { from { opacity: 0; transform: translateX(18%) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes xs-slide-out { 40% { opacity: 0; } to { opacity: 0; transform: translateX(-18%) scale(.94); } }
@keyframes xs-zoom-in { from { opacity: 0; transform: scale(.82); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes xs-zoom-out { 55% { opacity: 0; } to { opacity: 0; transform: scale(1.12); filter: blur(8px); } }
@keyframes xs-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes xs-hold { from { opacity: 1; } to { opacity: 0; } }
.xp-wipe { position: absolute; inset: 0; z-index: 3; background: #2450e6; transform: translateX(-101%); pointer-events: none; }
.xp-wipe::after { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 2.4cqmin; background: #d4743c; }
.anim .xp-wipe.go { animation: xs-wipe .8s cubic-bezier(.7,0,.3,1) both; }
@keyframes xs-wipe { 0% { transform: translateX(-101%); } 45%, 55% { transform: translateX(0); } 100% { transform: translateX(101%); } }
.xp-chip { z-index: 4; }
.anim .xp-chip.swap { animation: xs-chip .5s cubic-bezier(.2,.8,.2,1) .15s both; }
@keyframes xs-chip { from { opacity: 0; transform: translateY(-70%); } to { opacity: 1; transform: none; } }
.xp.paused .xp-scene, .xp.paused .xp-wipe, .xp.paused .xp-chip { animation-play-state: paused !important; }

/* Ukuran video di hero per layar: tablet tegak & HP = di bawah teks, lebar dibatasi supaya tidak kebesaran */
@media (max-width: 980px) { .hero .xp { max-width: 560px; } }

/* ---------- Animasi tombol & link ----------
   Isian warna menyapu dari kiri saat hover (keluar ke kanan saat kursor pergi), panah bergeser, tombol
   sedikit "masuk" saat ditekan. Warna sapuan per jenis tombol lewat --sweep, ikut mode terang/gelap. */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .25s ease, border-color .25s ease, transform .12s ease, box-shadow .25s ease; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sweep, transparent); transform: scaleX(0); transform-origin: right center; transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .ic { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover .ic:not(.wa) { transform: translateX(4px); }
.btn-dark { --sweep: var(--cobalt); }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { --sweep: var(--tint); }
.btn-ghost:hover { border-color: var(--heading); }
.btn-light { --sweep: #dfe7fd; }
.btn-light:hover, .price-main .btn-light:hover { background: #fff; }
[data-theme="dark"] .btn-dark { --sweep: #ffffff; }
[data-theme="dark"] .btn-dark:hover { background: #f1f4fa; }
[data-theme="dark"] .btn-ghost { --sweep: rgba(255,255,255,.07); }
/* Ikon WhatsApp bergoyang kecil */
@keyframes wa-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }
.btn:hover .ic.wa { animation: wa-wiggle .5s ease-in-out; }

/* Link "Lihat semua …": garis bawah tergambar dari kiri */
.link { border-bottom-color: var(--border-strong); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: color .2s ease, background-size .35s cubic-bezier(.2,.8,.2,1); }
.link:hover { background-size: 100% 1.5px; border-color: var(--border-strong); }
.link .ic { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.link:hover .ic { transform: translateX(4px); }
.section.dark .link:hover, .link.light:hover { border-color: rgba(255,255,255,.3); }
a.inline { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s cubic-bezier(.2,.8,.2,1), border-color .2s; }
a.inline:hover { background-size: 100% 1.5px; border-color: transparent; }

/* Menu navbar: garis bawah tumbuh dari tengah */
@media (min-width: 861px) {
  .nav-links > a:not(.btn) { position: relative; }
  .nav-links > a:not(.btn):not(.active)::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--cobalt); transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .nav-links > a:not(.btn):not(.active):hover::after { transform: scaleX(1); }
  .nav-links > a:not(.btn):hover { background: none; }
}

/* Tombol tema & menu HP: ikon bergerak sedikit */
.theme-toggle, .nav-toggle { transition: border-color .2s, transform .12s ease; }
.theme-toggle .ic { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.theme-toggle:hover .i-sun { transform: rotate(90deg); }
.theme-toggle:hover .i-moon { transform: rotate(-20deg) scale(1.08); }
.theme-toggle:active, .nav-toggle:active { transform: scale(.92); }

/* Kartu "Selanjutnya/Sebelumnya": geser kecil ke arah tujuan */
.next-card { transition: border-color .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
.next-card:not(.prev):hover { transform: translateX(4px); }
.next-card.prev:hover { transform: translateX(-4px); }
.next-card small { transition: color .2s; }
.next-card:hover small { color: var(--cobalt); }

@media (prefers-reduced-motion: reduce) {
  .btn::before, .link, a.inline, .nav-links > a::after { transition: none !important; }
  .btn:hover .ic, .link:hover .ic, .theme-toggle:hover .ic, .next-card:hover { transform: none !important; }
  .btn:hover .ic.wa { animation: none; }
  .btn:active, .theme-toggle:active, .nav-toggle:active { transform: none; }
}

/* ---------- Harga: muncul pop-zoom & membesar saat dipilih ----------
   Muncul: kartu tumbuh dari kecil, sedikit melewati ukuran asli lalu pas (berurutan via --d).
   Pakai fill "backwards" supaya setelah selesai, transform kembali bebas untuk efek hover.
   Hover (perangkat dengan kursor): kartu naik & membesar, kartu lain sedikit mengecil & meredup. */
@keyframes price-pop { 0% { opacity: 0; transform: scale(.82) translateY(18px); } 60% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes amount-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: none; opacity: 1; } }
.reveal-on .prices .reveal.in, .reveal-on .tpl-cards .reveal.in { animation: price-pop .75s cubic-bezier(.34,1.3,.64,1) var(--d, 0s) backwards; }
.reveal-on .ops-prices.reveal.in { animation: price-pop .75s cubic-bezier(.34,1.3,.64,1) .1s backwards; }
.reveal-on .prices .reveal.in .amount, .reveal-on .tpl-cards .reveal.in strong { display: inline-flex; transform-origin: left bottom; animation: amount-pop .55s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + .4s) backwards; }
.prices .price, .tpl-cards .tpl-card, .ops-prices { transition: transform .45s cubic-bezier(.34,1.4,.64,1), box-shadow .35s ease, border-color .25s ease, opacity .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .prices:hover .price:not(:hover), .tpl-cards:hover .tpl-card:not(:hover) { transform: scale(.97); opacity: .78; }
  .prices .price:hover, .tpl-cards .tpl-card:hover { position: relative; z-index: 2; transform: translateY(-10px) scale(1.04); box-shadow: var(--shadow-lg); border-color: var(--cobalt); }
  .prices .price-main:hover { box-shadow: var(--shadow-lg), 0 0 0 2px var(--cobalt); }
  .ops-prices:hover { transform: translateY(-4px) scale(1.012); box-shadow: var(--shadow-lg); border-color: var(--cobalt); }
  .ops-list li { transition: background .2s ease, padding .25s ease; border-radius: 8px; }
  .ops-list li:hover { background: var(--tint); padding-left: 10px; padding-right: 10px; }
  .ops-list li strong { transition: color .2s ease; }
  .ops-list li:hover strong { color: var(--cobalt); }
}
@media (prefers-reduced-motion: reduce) {
  .prices .price, .tpl-cards .tpl-card, .ops-prices, .ops-list li { transition: none !important; }
  .prices .price:hover, .tpl-cards .tpl-card:hover, .ops-prices:hover, .prices:hover .price:not(:hover), .tpl-cards:hover .tpl-card:not(:hover) { transform: none !important; opacity: 1 !important; }
}

/* ---------- Tombol: gerak lanjutan (referensi pola Jitter, versi Tumpu) ----------
   1) Trace: garis kobalt tergambar mengelilingi tombol garis.
   2) Riak dari titik klik/tap.  3) Panah keluar kanan, masuk lagi dari kiri.  4) Ikon tema bertukar.
   (Teks bergulung pernah dicoba lalu dihapus: Yanu menilai aneh karena tulisannya sama saja.) */
@property --trace { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn-ghost::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from -90deg at 50% 50%, var(--cobalt) var(--trace), transparent var(--trace));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: --trace .7s cubic-bezier(.6,0,.2,1); }
.btn-ghost:hover::after, .btn-ghost:focus-visible::after { --trace: 360deg; }
.btn-ghost:hover { border-color: transparent; }

@keyframes btn-ripple { from { transform: scale(0); opacity: .28; } to { transform: scale(1); opacity: 0; } }
.btn-ripple { position: absolute; z-index: 0; border-radius: 50%; background: currentColor; pointer-events: none; animation: btn-ripple .6s ease-out forwards; }

@keyframes arrow-swap { 0% { transform: none; opacity: 1; } 45% { transform: translateX(120%); opacity: 0; } 46% { transform: translateX(-120%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.btn:hover .ic:not(.wa), .link:hover .ic { transform: none; animation: arrow-swap .5s cubic-bezier(.6,0,.2,1); }

/* Tombol tema: bulan & matahari bertukar dengan putaran + zoom */
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle .ic { position: absolute; display: block !important; transition: transform .5s cubic-bezier(.34,1.4,.64,1), opacity .3s ease; }
.theme-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
.theme-toggle .i-moon { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.4); }
.theme-toggle:hover .i-moon { transform: rotate(-20deg) scale(1.08); }
[data-theme="dark"] .theme-toggle:hover .i-sun { transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) {
  .btn-ghost::after, .theme-toggle .ic { transition: none !important; }
  .btn:hover .ic, .link:hover .ic { animation: none !important; }
}

/* ---------- Beranda: susunan untuk calon klien ---------- */
.section-tight { padding: 56px 0; }

/* "Cocok untuk": bidang usaha → demo yang sesuai (pengganti strip teknologi) */
.fit-strip { padding: 22px 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.fit-inner { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.fit-label { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fit-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-list a { display: inline-flex; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--heading); font-size: 14.5px; font-weight: 600; transition: border-color .2s, color .2s, transform .2s; }
.fit-list a:hover { border-color: var(--cobalt); color: var(--cobalt); transform: translateY(-2px); }

/* Portofolio ringkas: 5 kartu demo dengan screenshot asli */
.pf-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pf-card { grid-column: span 2; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color .25s, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.pf-card:nth-child(-n+2) { grid-column: span 3; }
.pf-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); border-bottom: 1px solid var(--border); }
.pf-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.pf-body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.pf-body b { color: var(--heading); font-size: 17px; letter-spacing: -.01em; }
.pf-body > span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pf-body em { font-style: normal; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--cobalt); font-weight: 600; font-size: 14.5px; }
.pf-body em .ic { width: 16px; height: 16px; transition: transform .3s; }
@media (hover: hover) and (pointer: fine) {
  .pf-card:hover { border-color: var(--cobalt); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .pf-card:hover .pf-img img { transform: scale(1.04); }
  .pf-card:hover em .ic { transform: translateX(4px); }
}
@media (max-width: 860px) { .pf-grid { grid-template-columns: 1fr 1fr; } .pf-card, .pf-card:nth-child(-n+2) { grid-column: span 1; } .pf-card:first-child { grid-column: 1 / -1; } }
/* HP: portofolio jadi baris geser (swipe) supaya halaman tidak terlalu panjang */
@media (max-width: 560px) {
  .pf-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .pf-grid::-webkit-scrollbar { display: none; }
  .pf-card, .pf-card:first-child, .pf-card:nth-child(-n+2) { flex: 0 0 82%; scroll-snap-align: start; }
}

/* Galeri cuplikan desain (pengganti struktur folder server) */
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.shot { grid-column: span 2; position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--tint); aspect-ratio: 16 / 11; }
.shot:nth-child(-n+2) { grid-column: span 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.shot span { position: absolute; left: 8px; bottom: 8px; padding: 5px 9px; border-radius: 7px; background: rgba(14,26,51,.82); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.shot:hover img { transform: scale(1.05); }

/* Jaminan di atas kartu harga */
.assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 28px; border: 1px solid var(--border); border-radius: var(--r); background: var(--border); overflow: hidden; }
.assure li { display: grid; gap: 4px; padding: 18px 20px 18px 46px; background: var(--surface); position: relative; }
.assure li::before { content: ''; position: absolute; left: 18px; top: 20px; width: 18px; height: 18px; border-radius: 5px;
  background: var(--check-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232450e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.assure b { color: var(--heading); font-size: 15.5px; }
.assure span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 960px) { .assure { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .assure { grid-template-columns: 1fr; } }

/* Template di beranda: spanduk ringkas */
.tpl-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 28px 32px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
.tpl-banner h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 6px; }
.tpl-banner .label { margin-bottom: 10px; }
.tpl-banner p:not(.label) { color: var(--muted); max-width: 560px; }
.tpl-banner .hero-cta { margin: 0; }

/* Tombol WhatsApp mengambang */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 15px; border-radius: 999px; background: #1fa855; color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(14,26,51,.55); transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s, background .2s; }
.wa-float .ic.wa { width: 22px; height: 22px; }
.wa-float:hover { background: #17924a; transform: translateY(-2px); }
.wa-float.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; right: 16px; } .wa-float .ic.wa { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .wa-float, .pf-card, .pf-img img, .shot img, .fit-list a { transition: none !important; } }
