/* ==========================================================================
   Yuk-Tech — landing page
   Palet & tipografi mengikuti brand kit (BRIEF §2).
   ========================================================================== */

:root {
  /* Brand */
  --navy: #071B49;
  --blue: #075BEB;
  --cyan: #00C9F2;
  --ice: #F5F8FF;
  --white: #FFFFFF;
  --muted: #5A6B8C;                       /* abu netral untuk teks sekunder */
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);

  /* Token semantik (nilai terang; tema gelap menimpa di bawah) */
  --bg: #FFFFFF;
  --bg-alt: var(--ice);
  --surface: #FFFFFF;
  --tile-bg: #FFFFFF;
  --text: var(--navy);
  --accent: var(--blue);               /* biru untuk teks/ikon/tautan */
  --header-bg: rgba(255, 255, 255, .92);
  --footer-bg: var(--navy);

  /* Turunan palet (transparansi dari warna brand, bukan warna baru) */
  --line: rgba(7, 27, 73, .10);
  --line-strong: rgba(7, 91, 235, .28);
  --shadow-sm: 0 1px 2px rgba(7, 27, 73, .05), 0 4px 14px rgba(7, 27, 73, .06);
  --shadow-md: 0 2px 4px rgba(7, 27, 73, .05), 0 14px 36px rgba(7, 91, 235, .12);

  --r-btn: 12px;
  --r-card: 16px;
  --r-tile: 12px;

  --header-h: 72px;
  --wrap: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050E26;
  --bg-alt: #081535;
  --surface: #0C1D4A;
  --tile-bg: #12296B;
  --text: #F5F8FF;
  --muted: #A3B5DA;
  --accent: #6AA6FF;                   /* tint Electric Blue agar kontras di latar gelap */
  --line: rgba(245, 248, 255, .12);
  --line-strong: rgba(106, 166, 255, .42);
  --header-bg: rgba(5, 14, 38, .88);
  --footer-bg: #030918;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .3);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .4), 0 14px 36px rgba(7, 91, 235, .28);
}
[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* Ikon (sprite SVG, garis tipis biru) */
.i {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Tipografi ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.85rem); letter-spacing: -0.03em; line-height: 1.07; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

/* Nama brand di dalam heading mengikuti wordmark: "Yuk" navy, "Tech!" biru */
.bn-y { color: var(--text); }
.bn-t { color: var(--accent); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.muted { color: var(--muted); }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--ice { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.075rem; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font);
  padding: 15px 22px; min-height: 48px;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(7, 91, 235, .28); }
.btn--primary:hover { background: #0650d0; transform: translateY(-1px); }
.btn--secondary { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--bg-alt); }
.btn--sm { padding: 11px 18px; min-height: 42px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--ice); transform: translateY(-1px); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .975rem; padding: 6px 0; }
.nav__links a:hover { color: var(--accent); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-btn);
  color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .i { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-alt);
  padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px);
}
.hero__grid { display: grid; grid-template-columns: .95fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 22px; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tagline { margin-top: 30px; font-style: italic; font-weight: 500; color: var(--muted); font-size: .975rem; }

.hero__visual { position: relative; z-index: 1; aspect-ratio: 1 / .82; max-width: 700px; width: 100%; justify-self: end; --rw: 36%; --travel: 168%; }
.hero__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; }
.sparkle { position: absolute; fill: var(--accent); }
.sparkle--a { width: 44px; height: 44px; top: 4%; right: 6%; }
.sparkle--b { width: 22px; height: 22px; top: 30%; right: 0; fill: var(--cyan); }
.sparkle--c { width: 18px; height: 18px; bottom: 26%; left: 0; fill: var(--cyan); }

/* Panggung: lantai + pelari */
.stage__ground {
  position: absolute; left: 3%; right: 3%; bottom: 15%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--blue) 15%, var(--cyan) 85%, transparent); opacity: .45;
}
.runner {
  position: absolute; left: 2%; bottom: 15%; width: var(--rw); z-index: 2;
  animation: run-x 12s infinite;
}
.runner__shadow {
  position: absolute; left: 14%; right: 14%; bottom: -3%; height: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(7, 27, 73, .32), transparent);
  animation: shadow 3s infinite;
}
.runner__flip { position: relative; animation: run-flip 12s infinite; }
.runner__jump { transform-origin: 50% 100%; animation: jump 3s infinite; }
.runner__bob { position: relative; transform-origin: 50% 100%; filter: drop-shadow(0 10px 14px rgba(7, 27, 73, .16)); animation: bob .42s ease-in-out infinite alternate; }
.sprite { width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); }
.sprite--air { position: absolute; left: 0; top: 0; opacity: 0; animation: swap-air 3s infinite; }
.sprite--run { animation: swap-run 3s infinite; }

.runner__trail { position: absolute; right: 78%; top: 38%; width: 40%; display: grid; gap: 10px; }
.runner__trail span { display: block; height: 5px; border-radius: 5px; background: var(--grad); opacity: 0; animation: trail .5s linear infinite; }
.runner__trail span:nth-child(1) { width: 70%; margin-left: 30%; }
.runner__trail span:nth-child(2) { width: 100%; animation-delay: .12s; }
.runner__trail span:nth-child(3) { width: 55%; margin-left: 45%; animation-delay: .24s; }

.stage__pause {
  position: absolute; right: 0; bottom: -6px; z-index: 3;
  font: 600 .8rem/1 var(--font); color: var(--accent); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; min-height: 36px; cursor: pointer;
}
.stage__pause:hover { background: var(--bg-alt); }
.hero__visual.is-paused *, .hero__visual.is-paused *::before { animation-play-state: paused !important; }

@keyframes run-x {      /* kiri → kanan → kiri */
  0%   { transform: translateX(0); animation-timing-function: ease-in-out; }
  44%  { transform: translateX(var(--travel, 168%)); }
  50%  { transform: translateX(var(--travel, 168%)); animation-timing-function: ease-in-out; }
  94%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}
@keyframes run-flip {   /* menghadap arah lari */
  0%, 45%   { transform: scaleX(1); }
  49%, 95%  { transform: scaleX(-1); }
  99%, 100% { transform: scaleX(1); }
}
@keyframes bob {
  from { transform: translateY(0) rotate(-3deg); }
  to   { transform: translateY(-5%) rotate(3deg); }
}
@keyframes jump {       /* jongkok → lompat tinggi → mendarat gepeng */
  0%   { transform: translateY(0) scale(1, 1); animation-timing-function: ease-out; }
  12%  { transform: translateY(0) scale(1.08, .9); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  36%  { transform: translateY(-78%) scale(.94, 1.07); animation-timing-function: cubic-bezier(.6, 0, .9, .4); }
  60%  { transform: translateY(0) scale(1.1, .88); animation-timing-function: ease-out; }
  68%  { transform: translateY(0) scale(1, 1); }
  100% { transform: translateY(0) scale(1, 1); }
}
@keyframes shadow {
  0%, 12%, 60%, 100% { transform: scale(1); opacity: 1; }
  36% { transform: scale(.5); opacity: .45; }
}
@keyframes swap-air { 0%, 13% { opacity: 0; } 15%, 58% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes swap-run { 0%, 13% { opacity: 1; } 15%, 58% { opacity: 0; } 61%, 100% { opacity: 1; } }
@keyframes trail {
  0% { opacity: 0; transform: translateX(10px); }
  30% { opacity: .75; }
  100% { opacity: 0; transform: translateX(-26px); }
}

/* ---------- Keunggulan ---------- */
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.perk {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 24px 28px;
}
.perk h3 { margin-top: 18px; }
.perk p { margin-top: 8px; color: var(--muted); font-size: .975rem; }

.tile {
  width: 52px; height: 52px; border-radius: var(--r-tile);
  background: var(--tile-bg); color: var(--accent);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.tile .i { width: 26px; height: 26px; }

/* ---------- Produk (komponen kartu yang dipakai ulang) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

.product-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 28px 28px; box-shadow: var(--shadow-sm);
}
.product-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill {
  display: inline-block; font-size: .8rem; font-weight: 600; line-height: 1;
  padding: 8px 12px; border-radius: 999px;
  color: var(--accent); background: var(--bg-alt); border: 1px solid var(--line-strong);
}
.product-card h3 { margin-top: 22px; font-size: 1.4rem; }
.product-card__desc { margin-top: 12px; color: var(--muted); font-size: .975rem; }

.features { margin-top: 22px; display: grid; gap: 12px; flex: 1; align-content: start; }
.features li { position: relative; padding-left: 30px; font-size: .96rem; line-height: 1.5; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad);
}
.features li::after {
  content: ""; position: absolute; left: 6.5px; top: 6px; width: 7px; height: 4px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}
.product-card .btn { margin-top: 28px; }

/* Kartu "Segera Hadir" */
.product-card--soon {
  background: transparent; border: 2px dashed var(--line-strong); box-shadow: none;
  align-items: flex-start; justify-content: center;
}
.product-card--soon .tile { background: var(--tile-bg); }
.product-card--soon p { margin-top: 12px; color: var(--muted); }

/* ---------- Cara kerja ---------- */
.steps-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 32px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.3rem; color: var(--white); background: var(--grad);
  box-shadow: 0 8px 20px rgba(7, 91, 235, .25);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 62px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--line-strong), transparent);
}
.step h3 { margin-top: 4px; }
.step p { margin-top: 6px; color: var(--muted); max-width: 52ch; }
.steps-art { justify-self: center; width: min(100%, 300px); }
.steps-art { filter: drop-shadow(0 16px 22px rgba(7, 27, 73, .14)); }

/* ---------- Harga ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.price-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 32px 30px 30px; box-shadow: var(--shadow-sm);
}
.price-card--feature { border-color: var(--blue); box-shadow: var(--shadow-md); }
.price-card h3 { font-size: 1.3rem; }
.price-card__kind { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.price { margin-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.price__amount { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price__unit { color: var(--muted); font-weight: 500; }
.price-card .features { margin-top: 24px; }
.price-card .btn { margin-top: 28px; }


.pay-note {
  margin-top: 28px; display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font-size: .975rem;
}
.pay-note .i { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: background-color .18s ease, border-color .18s ease;
}
.faq details[open] { background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; font-size: 1.05rem; border-radius: var(--r-card);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq__body { padding: 0 24px 22px; color: var(--muted); max-width: 66ch; }

/* ---------- Kontak ---------- */
.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
  background: linear-gradient(120deg, var(--navy) 0%, #0a2a73 70%, #08419f 100%);
  border-radius: 24px; padding: clamp(32px, 5vw, 60px);
  color: var(--white);
}
.contact-card::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(ellipse 62% 125% at 100% 100%,
    transparent 60%, rgba(7, 91, 235, .95) 60.4%, rgba(0, 201, 242, .9) 74%, transparent 74.4%);
}
.contact-card h2 { color: var(--white); }
.contact-card p { margin-top: 14px; color: rgba(245, 248, 255, .82); max-width: 50ch; font-size: 1.075rem; }
.contact-card .btn { margin-top: 28px; }
.contact-handle { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 600; font-size: 1.1rem; }
.contact-handle .i { color: var(--cyan); }
.contact-art { justify-self: center; width: min(100%, 230px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(245, 248, 255, .82); padding-block: 56px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 64px; width: auto; }
.footer__tag { margin-top: 14px; font-style: italic; font-weight: 500; color: var(--cyan); }
.site-footer h2 { font-size: .95rem; color: var(--white); letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: rgba(245, 248, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer__ig { display: inline-flex; align-items: center; gap: 10px; }
.footer__ig .i { color: var(--cyan); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(245, 248, 255, .14); font-size: .9rem; }

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card--soon { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; }
  .product-card--soon .soon__text { flex: 1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(7, 27, 73, .10);
    padding: 8px 20px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero__visual { justify-self: center; max-width: 560px; margin-top: 8px; --rw: 42%; --travel: 130%; }

  .steps-layout { grid-template-columns: 1fr; }
  .steps-art { order: -1; width: 200px; justify-self: start; }
  .price-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-art { width: 160px; justify-self: start; order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .perks, .product-grid { grid-template-columns: 1fr; }
  .product-card--soon { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { flex: 1 1 100%; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step::before { width: 48px; height: 48px; font-size: 1.1rem; }
  .step:not(:last-child)::after { left: 23px; top: 54px; }
  .faq summary { padding: 18px 18px; font-size: 1rem; }
  .faq__body { padding: 0 18px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pembantu kecil (menggantikan gaya inline) */
.steps { margin: 0; padding: 0; list-style: none; }
.price-card--feature .features { margin-top: 34px; }
.soon__text h3 { margin-top: 20px; }

/* Maskot hasil potongan punya tepi bawah datar: pudarkan, atau tempelkan ke dasar kartu */
.steps-art img, .contact-art img {
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}
@media (min-width: 861px) {
  .contact-art { align-self: end; margin-bottom: calc(-1 * clamp(32px, 5vw, 60px)); }
  .contact-art img { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Tombol tema & logo ganti-tema ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 46px; height: 46px; padding: 0; display: inline-grid; place-items: center;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--line-strong); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.logo .logo-img--dark { display: none; }
[data-theme="dark"] .logo .logo-img--light { display: none; }
[data-theme="dark"] .logo .logo-img--dark { display: block; }

/* Penyesuaian khusus tema gelap */
[data-theme="dark"] .runner__bob { filter: drop-shadow(0 0 20px rgba(0, 201, 242, .28)); }
[data-theme="dark"] .runner__shadow { background: radial-gradient(closest-side, rgba(0, 201, 242, .35), transparent); }
[data-theme="dark"] .steps-art { filter: drop-shadow(0 0 24px rgba(0, 201, 242, .22)); }
[data-theme="dark"] .skip-link { border: 1px solid var(--accent); }
[data-theme="dark"] .contact-card { box-shadow: 0 0 0 1px rgba(106, 166, 255, .22); }
[data-theme="dark"] .btn--primary { box-shadow: 0 6px 22px rgba(7, 91, 235, .5); }

/* ---------- Mode malam: Sentra tertidur ---------- */
.sleeper, .moon, .stage__caption, .sparkle--d, .sparkle--e, .sparkle--f { display: none; }
.sparkle--d { width: 14px; height: 14px; top: 14%; left: 30%; fill: var(--cyan); }
.sparkle--e { width: 12px; height: 12px; top: 46%; left: 9%; }
.sparkle--f { width: 10px; height: 10px; top: 22%; right: 27%; fill: var(--cyan); }

[data-theme="dark"] .runner { display: none; }
[data-theme="dark"] .sleeper, [data-theme="dark"] .moon,
[data-theme="dark"] .stage__caption,
[data-theme="dark"] .sparkle--d, [data-theme="dark"] .sparkle--e, [data-theme="dark"] .sparkle--f { display: block; }

.moon { position: absolute; left: 5%; top: 5%; width: 13%; fill: var(--ice); filter: drop-shadow(0 0 14px rgba(0, 201, 242, .55)); animation: moon-glow 6s ease-in-out infinite; }
.stage__caption { position: absolute; left: 0; bottom: -2px; margin: 0; font-style: italic; font-weight: 500; font-size: .9rem; color: var(--muted); }

.sleeper { position: absolute; left: 20%; bottom: 15%; width: 56%; z-index: 2; }
.sleeper__shadow {
  position: absolute; left: 10%; right: 10%; bottom: -3%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 201, 242, .32), transparent);
  animation: sleep-shadow 5s ease-in-out infinite;
}
.sleeper__float { position: relative; animation: sleep-float 5s ease-in-out infinite; }
.sleeper__body { transform-origin: 50% 100%; filter: drop-shadow(0 0 22px rgba(0, 201, 242, .25)); animation: breathe 4.5s ease-in-out infinite; }
.sleeper__nod { transform-origin: 50% 96%; animation: nod 9s ease-in-out infinite; }
.sleeper__img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent);
}

.zzz { position: absolute; left: 90%; top: 22%; width: 0; height: 0; --zx: 70px; --zy: -70px; }
.zzz span {
  position: absolute; font-weight: 700; line-height: 1; color: var(--cyan); opacity: .85;
  font-size: clamp(1.3rem, 3.4vw, 2.4rem); text-shadow: 0 0 14px rgba(0, 201, 242, .7);
  animation: zzz 4.5s ease-out infinite;
}
.zzz span:nth-child(1) { left: 0; top: 0; }
.zzz span:nth-child(2) { left: .9em; top: -1em; font-size: 1.25em; animation-delay: 1.5s; }
.zzz span:nth-child(3) { left: 1.9em; top: -2.2em; font-size: 1.6em; animation-delay: 3s; }

[data-theme="dark"] .sparkle { animation: twinkle 3.2s ease-in-out infinite; }
[data-theme="dark"] .sparkle--b { animation-delay: .8s; }
[data-theme="dark"] .sparkle--c { animation-delay: 1.6s; }
[data-theme="dark"] .sparkle--d { animation-delay: 2.2s; }
[data-theme="dark"] .sparkle--e { animation-delay: .3s; animation-duration: 4s; }
[data-theme="dark"] .sparkle--f { animation-delay: 1.2s; animation-duration: 2.6s; }

@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, 1.03); } }
@keyframes sleep-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5%); } }
@keyframes sleep-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.88); opacity: .65; } }
@keyframes nod {         /* kepala mengangguk ngantuk, sesekali tersentak */
  0%   { transform: rotate(-1deg); }
  32%  { transform: rotate(1.6deg); }
  56%  { transform: rotate(3.6deg) translateY(1.5%); }
  62%  { transform: rotate(-2.4deg); }
  76%  { transform: rotate(0deg); }
  100% { transform: rotate(-1deg); }
}
@keyframes zzz {
  0%   { opacity: 0; transform: translate(0, 0) scale(.55); }
  18%  { opacity: .95; }
  70%  { opacity: .8; }
  100% { opacity: 0; transform: translate(var(--zx), var(--zy)) scale(1.35); }
}
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.78); } }
@keyframes moon-glow { 0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 201, 242, .4)); } 50% { filter: drop-shadow(0 0 20px rgba(0, 201, 242, .75)); } }

@media (max-width: 860px) {
  .sleeper { left: 10%; width: 66%; }
  .zzz { --zx: 36px; --zy: -46px; }
}

.site-header { top: 0; padding-top: env(safe-area-inset-top, 0px); height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Catatan kecil di bawah tombol ---------- */
.btn-note { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- Daftar aplikasi ---------- */
.price-line { margin-top: 14px; font-size: 1.05rem; }
.price-line strong { font-size: 1.35rem; letter-spacing: -0.02em; }
.apps-note { margin-top: 36px; text-align: center; color: var(--muted); }
