/* =========================================================
   BedAbed — Halaman utama
   Warna diambil dari warna bata klasik (merah, kuning, biru, hijau)
   di atas latar "baseplate" abu-abu terang bertekstur stud.
   ========================================================= */

:root {
  --base: #EEF1F6;      /* baseplate */
  --base-2: #E3E8F0;
  --paper: #FFFFFF;
  --ink: #182033;       /* teks utama & latar gelap */
  --ink-2: #222C44;
  --muted: #5B6478;
  --line: #D3D9E4;

  --red: #D63A2F;
  --red-d: #A82A21;
  --yellow: #F5C431;
  --yellow-d: #C99A12;
  --blue: #1E6FD9;
  --blue-d: #1553A6;
  --green: #3FA34D;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--base);
  /* tekstur stud baseplate */
  background-image: radial-gradient(circle at center, rgba(24, 32, 51, .07) 1.6px, transparent 2px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }

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

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

/* ---------- Tombol ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  --edge: #0A0F1C;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .9em 1.4em;
  font: 650 15px/1 var(--font);
  font-stretch: 110%;
  color: var(--fg);
  background: var(--bg);
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  /* tombol "bata": sisi bawah lebih gelap */
  box-shadow: 0 4px 0 var(--edge);
  transform: translateY(0);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--edge); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--edge); }

.btn--red    { --bg: var(--red);    --edge: var(--red-d); }
.btn--blue   { --bg: var(--blue);   --edge: var(--blue-d); }
.btn--yellow { --bg: var(--yellow); --edge: var(--yellow-d); --fg: var(--ink); }
.btn--ink    { --bg: var(--ink);    --edge: #070B15; }
.btn--ghost {
  --bg: var(--paper);
  --fg: var(--ink);
  --edge: var(--line);
  outline: 1.5px solid var(--line);
  outline-offset: -1.5px;
}
.btn--small { padding: .7em 1.1em; font-size: 14px; box-shadow: 0 3px 0 var(--edge); }

.link {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: currentColor;
}

/* ---------- Tag status ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .35em .75em;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--base-2);
  color: var(--muted);
}
.tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.tag--green { background: rgba(63, 163, 77, .14); color: #237A31; }
.tag--green::before { animation: pulse 2s infinite; }
.tag--soon  { background: rgba(245, 196, 49, .2); color: #8A6800; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 163, 77, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(63, 163, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 163, 77, 0); }
}

/* =========================================================
   NAVIGASI
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(238, 241, 246, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark { width: 30px; height: 30px; transition: transform .5s var(--ease-bounce); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.08); }
.brand__name {
  font-size: 21px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a:not(.btn) {
  position: relative;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  color: var(--ink-2);
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__links a:not(.btn):hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child  { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 40px 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: min(680px, calc(100vh - 150px));
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 0 0 1.5px var(--line);
  opacity: 0;
  animation: fadeUp .7s var(--ease-out) .1s forwards;
}
.status-pill strong { color: var(--ink); font-weight: 650; }
.status-pill__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(40px, 5.3vw, 74px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.035em;
  line-height: .98;
}
/* animasi judul: tiap baris naik dari balik "masker" */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp .9s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: .15s; }
.hero__title .line:nth-child(2) > span { animation-delay: .25s; color: var(--red); }
.hero__title .line:nth-child(3) > span { animation-delay: .35s; }
.hero__title .line:nth-child(4) > span { animation-delay: .45s; }

@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__lead {
  max-width: 34em;
  margin-top: 26px;
  font-size: 19px;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .65s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .8s forwards;
}

/* --- pulau voxel --- */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.voxel {
  width: 100%;
  max-width: 560px;
  overflow: visible;
  transition: transform .6s var(--ease-out);
  animation: floatIsland 7s ease-in-out 2.6s infinite;
}
.hero__shadow {
  position: absolute;
  bottom: 2%;
  left: 18%; right: 18%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(24, 32, 51, .22), transparent 70%);
  animation: shadowPulse 7s ease-in-out 2.6s infinite;
  z-index: -1;
}
@keyframes floatIsland {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}
@keyframes shadowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(.9); opacity: .7; }
}

/* tiap kubus jatuh dan memantul saat halaman dibuka */
.vx {
  opacity: 0;
  transform: translateY(-260px);
  animation: drop .7s var(--ease-bounce) forwards;
}
@keyframes drop {
  60% { opacity: 1; }
  to  { opacity: 1; transform: translateY(0); }
}
.vx-float { animation: drop .7s var(--ease-bounce) forwards, bob 3.2s ease-in-out 2.8s infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.vx-sparkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: twinkle 2.4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0); }
  50%      { opacity: 1; transform: scale(1) rotate(45deg); }
}

.divisions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin: 40px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1.5px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) 1s forwards;
}
.divisions li { display: flex; align-items: center; gap: 10px; }
.chip { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.chip--red { background: var(--red); }
.chip--blue { background: var(--blue); }
.chip--yellow { background: var(--yellow); }

/* =========================================================
   SECTION UMUM
   ========================================================= */
.section { padding: 120px 0; }
.game { padding-bottom: 72px; }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.03em;
}
.section__lead { margin-top: 18px; font-size: 19px; color: var(--muted); }

/* reveal saat discroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   GAME
   ========================================================= */
.feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
  background: var(--paper);
  border-radius: var(--radius-l);
  box-shadow: 0 0 0 1.5px var(--line), 0 30px 60px -40px rgba(24, 32, 51, .35);
}
.feature__copy { display: grid; gap: 18px; justify-items: start; }
.feature__title {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: -.025em;
}
.feature__copy > p { color: var(--muted); max-width: 30em; }
.ticks { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
}

/* mockup katalog */
.catalog {
  position: relative;
  background: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 24px 50px -20px rgba(24, 32, 51, .55);
}
.catalog__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--ink-2);
}
.catalog__bar span { width: 10px; height: 10px; border-radius: 50%; background: #3A4562; }
.catalog__bar p { margin-left: 10px; font-size: 13px; font-weight: 600; color: #AEB7CC; }
.catalog__body { display: grid; grid-template-columns: 96px minmax(0, 1fr); min-height: 300px; }
.catalog__side { display: grid; align-content: start; gap: 4px; padding: 14px 10px; border-right: 1px solid #2A3550; }
.catalog__side i {
  font-style: normal;
  font-size: 12px;
  padding: 7px 9px;
  border-radius: 7px;
  color: #AEB7CC;
}
.catalog__side i.on { background: var(--red); color: #fff; }
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}
.tile {
  position: relative;
  aspect-ratio: 1 / 1.15;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 10px 8px 8px;
  border-radius: 10px;
  background: #24304B;
  transition: transform .35s var(--ease-bounce), background .3s, box-shadow .3s;
  opacity: 0;
  animation: fadeUp .5s var(--ease-out) forwards;
}
.tile svg { width: 62%; margin: auto; }
.tile span {
  font-size: 11px;
  font-weight: 650;
  color: var(--yellow);
}
.tile.is-hot {
  transform: translateY(-5px) scale(1.04);
  background: #2E3D60;
  box-shadow: 0 0 0 2px var(--yellow);
}
.catalog__toast {
  position: absolute;
  right: 16px; bottom: 16px;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--yellow-d), 0 16px 30px -10px rgba(0,0,0,.5);
  transform: translateY(140%);
  transition: transform .5s var(--ease-bounce);
}
.catalog__toast strong { font-size: 14px; }
.catalog__toast.is-show { transform: translateY(0); }

/* layanan */
.services {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-top: 72px;
}
.services__title {
  font-size: 24px;
  font-weight: 750;
  font-stretch: 115%;
  letter-spacing: -.015em;
}
.services__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
.services__list li {
  padding: 22px 0;
  border-top: 1.5px solid var(--line);
}
.services__list h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.services__list p { color: var(--muted); font-size: 16px; }

/* =========================================================
   LAB AI
   ========================================================= */
.lab { padding-top: 40px; background: linear-gradient(180deg, transparent, rgba(30, 111, 217, .06) 30%, transparent); }

.raita {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-l);
  color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.16), transparent 70%),
    var(--blue);
  box-shadow: 0 30px 60px -30px rgba(21, 83, 166, .6);
  overflow: hidden;
}
.raita .tag--green { background: rgba(255,255,255,.18); color: #fff; }
.raita__copy { display: grid; gap: 18px; justify-items: start; }
.raita__title {
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.03em;
}
.raita__copy p { color: rgba(255,255,255,.85); max-width: 28em; }
.raita .btn--blue { --bg: #fff; --fg: var(--blue-d); --edge: #B9D2F5; }

.raita__demo {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: rgba(10, 30, 70, .35);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.raita__input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  font-size: 15px;
}
.raita__label {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--base-2);
  color: var(--muted);
}
.raita__out { display: grid; gap: 10px; min-height: 196px; }
.raita__line {
  min-height: 56px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  opacity: .35;
  transition: opacity .3s;
}
.raita__line.is-typing,
.raita__line.is-done { opacity: 1; }
.raita__line.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px; height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #fff;
  animation: blink .8s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }


/* ---------- Ungkapan ---------- */
.ungkapan {
  --leaf: #2E7D4F;
  --leaf-d: #1F5C39;
  --lime: #C8E86B;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 28px;
  padding: 48px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(520px 300px at 0% 0%, rgba(200, 232, 107, .55), transparent 70%),
    #E4F2D9;
  box-shadow: inset 0 0 0 1.5px #CFE5BE;
}
.ungkapan__copy { display: grid; gap: 18px; justify-items: start; color: #173A27; }
.ungkapan__title {
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.03em;
  color: var(--leaf-d);
}
.ungkapan__copy > p { color: #3D5A48; max-width: 30em; }
.ungkapan .tag--green { background: #fff; color: var(--leaf); }
.ungkapan__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ungkapan__facts li {
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--leaf-d);
  background: var(--lime);
  border-radius: 999px;
}
.btn--leaf { --bg: var(--leaf); --edge: var(--leaf-d); }

.ungkapan__shot { position: relative; }
.ungkapan__frame {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(31, 92, 57, .55), 0 0 0 1px #CFE5BE;
  transform: rotate(-2deg);
  transition: transform .6s var(--ease-out);
}
.ungkapan:hover .ungkapan__frame { transform: rotate(0); }
.ungkapan__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F8EE; border-bottom: 1px solid #E1EDD6; }
.ungkapan__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3E3C6; }
.ungkapan__bar span { margin-left: 10px; font-size: 12px; font-weight: 600; color: #6A8A74; }
.ungkapan__view { height: 360px; overflow: hidden; }
/* tangkapan layar bergulir pelan seperti sedang dilihat */
.ungkapan__view img {
  width: 100%;
  height: auto;
  animation: browseShot 18s ease-in-out infinite;
}
@keyframes browseShot {
  0%, 10%   { transform: translateY(0); }
  45%, 55%  { transform: translateY(calc(-100% + 360px)); }
  90%, 100% { transform: translateY(0); }
}
.ungkapan__note {
  position: absolute;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 10px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.3);
  animation: floatNote 5s ease-in-out infinite;
}
.ungkapan__note--a { top: 18%; right: -18px; background: #fff; color: var(--leaf-d); }
.ungkapan__note--a::before { content: "\2713  "; color: var(--leaf); }
.ungkapan__note--b { bottom: 14%; left: -18px; background: var(--lime); color: var(--leaf-d); animation-delay: -2.5s; }
@keyframes floatNote {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}
.heart {
  position: absolute;
  width: 14px; height: 14px;
  background: #E5677C;
  transform: rotate(45deg);
  opacity: 0;
  animation: heartUp 4.5s ease-in infinite;
}
.heart::before, .heart::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: inherit;
}
.heart::before { left: -7px; }
.heart::after  { top: -7px; }
.heart--1 { left: 12%; bottom: 0; }
.heart--2 { left: 50%; bottom: -10px; animation-delay: 1.5s; transform: rotate(45deg) scale(.7); }
.heart--3 { right: 10%; bottom: 5%; animation-delay: 3s; }
@keyframes heartUp {
  0%   { opacity: 0; translate: 0 0; }
  20%  { opacity: .9; }
  100% { opacity: 0; translate: 0 -160px; }
}

/* ---------- BedClip ---------- */
.bedclip {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 28px;
  padding: 48px;
  background: var(--paper);
  border-radius: var(--radius-l);
  box-shadow: 0 0 0 1.5px var(--line), 0 30px 60px -40px rgba(24, 32, 51, .35);
}
.bedclip__copy { display: grid; gap: 18px; justify-items: start; }
.bedclip__title {
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.03em;
}
.bedclip__copy > p { color: var(--muted); max-width: 30em; }
.tag--beta { background: rgba(30, 111, 217, .12); color: var(--blue-d); }
.ticks--ink li::before { background-color: var(--ink); }

.clipapp {
  background: #10172A;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 24px 50px -20px rgba(24, 32, 51, .55);
}
.clipapp__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #1A2238; }
.clipapp__bar span { width: 10px; height: 10px; border-radius: 50%; background: #3A4562; }
.clipapp__bar p { margin-left: 10px; font-size: 13px; font-weight: 600; color: #AEB7CC; }
.clipapp__body { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; padding: 16px; }
.clipapp__main { display: grid; gap: 12px; align-content: start; }
.clipapp__source {
  position: relative;
  padding: 12px;
  background: #1A2238;
  border-radius: 10px;
}
.clipapp__label { font-size: 11.5px; color: #8E99B3; }
.wave { display: flex; align-items: center; gap: 2px; height: 70px; margin-top: 6px; }
.wave i { flex: 1; min-width: 0; background: #3A4A70; border-radius: 2px; }
.clipapp__marks { position: absolute; left: 12px; right: 12px; top: 32px; height: 70px; pointer-events: none; }
.clipapp__marks i {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 4px;
  background: rgba(245, 196, 49, .22);
  box-shadow: inset 0 0 0 1.5px var(--yellow);
}
.playhead {
  position: absolute;
  top: 28px; bottom: 8px;
  left: 12px;
  width: 2px;
  background: #FE5C4F;
  animation: playhead 8s linear infinite;
}
@keyframes playhead { from { left: 12px; } to { left: calc(100% - 14px); } }
.clipapp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.clipapp__list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 9px 12px;
  font-size: 13px;
  background: #1A2238;
  border-radius: 8px;
  transition: background .3s, box-shadow .3s;
}
.clipapp__list li.on { background: #26314F; box-shadow: inset 3px 0 0 var(--yellow); }
.clipapp__list span { color: #8E99B3; }
.clipapp__list em { font-style: normal; font-weight: 750; color: var(--yellow); }
.clipapp__phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(170deg, #3B4D7A, #1A2238 70%);
  box-shadow: 0 0 0 3px #2A3550;
}
.clipapp__face {
  position: absolute;
  left: 50%; top: 24%;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #E8B48A;
  transform: translateX(-50%);
  box-shadow: 0 64px 0 18px #D63A2F;
  animation: talk 1.6s ease-in-out infinite;
}
@keyframes talk { 50% { transform: translateX(-50%) translateY(-3px); } }
.clipapp__sub {
  position: absolute;
  left: 8px; right: 8px; bottom: 18%;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 0 rgba(0,0,0,.6);
}
.clipapp__sub span { transition: color .2s; }
.clipapp__sub span.on { color: var(--yellow); }

.robux-img {
  width: 96px; height: 96px;
  margin-bottom: 6px;
  filter: drop-shadow(0 12px 22px rgba(63, 163, 77, .45));
  animation: robuxFloat 4s ease-in-out infinite;
}
@keyframes robuxFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-10px) rotate(6deg); }
}

/* segera hadir */
.soon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.soon__item {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding: 22px 22px 28px;
  background: var(--paper);
  border-radius: var(--radius-m);
  box-shadow: 0 0 0 1.5px var(--line);
}
.soon__item h3 { font-size: 21px; font-weight: 750; font-stretch: 110%; letter-spacing: -.01em; }
.soon__item p { color: var(--muted); font-size: 16px; }
.soon__item:nth-child(2) { transition-delay: .1s; }
.soon__item:nth-child(3) { transition-delay: .2s; }

.soon__demo {
  position: relative;
  width: 100%;
  height: 190px;
  margin-bottom: 8px;
  border-radius: 12px;
  overflow: hidden;
}

/* demo pembuat web */
.demo-web { background: var(--base); box-shadow: inset 0 0 0 1.5px var(--line); padding: 10px; display: grid; grid-template-rows: auto auto 1fr; gap: 8px; }
.demo-web__bar { display: flex; gap: 5px; }
.demo-web__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.demo-web__prompt {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  font-size: 12.5px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1.5px var(--line);
  white-space: nowrap;
  overflow: hidden;
}
.caret { display: inline-block; width: 2px; height: 14px; margin-left: 2px; background: var(--blue); animation: blink .8s steps(1) infinite; }
.demo-web__page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 12px 1fr 34px;
  gap: 6px;
}
.blk {
  border-radius: 5px;
  background: var(--base-2);
  transform: scale(.6);
  opacity: 0;
  transition: transform .45s var(--ease-bounce), opacity .3s;
}
.blk--nav  { grid-column: 1 / -1; background: var(--ink); }
.blk--hero { grid-column: 1 / -1; background: linear-gradient(120deg, var(--blue), #5A9BF0); }
.blk--a { background: var(--red); }
.blk--b { background: var(--yellow); }
.blk--c { background: var(--green); }
.demo-web.is-built .blk { transform: scale(1); opacity: 1; }
.demo-web.is-built .blk:nth-child(2) { transition-delay: .12s; }
.demo-web.is-built .blk:nth-child(3) { transition-delay: .24s; }
.demo-web.is-built .blk:nth-child(4) { transition-delay: .32s; }
.demo-web.is-built .blk:nth-child(5) { transition-delay: .4s; }

/* demo overlay live */
.demo-live {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  padding: 12px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(254, 44, 85, .35), transparent 50%),
    linear-gradient(330deg, rgba(37, 244, 238, .25), transparent 50%),
    var(--ink);
}
.demo-live__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.live-badge { padding: 3px 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; background: #FE2C55; border-radius: 4px; }
.demo-live__viewers::before { content: "● "; color: #25F4EE; }
.demo-live__feed { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; }
.gift {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  font-size: 12px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
  animation: giftIn .5s var(--ease-bounce);
}
.gift b { font-weight: 700; }
.gift__ava { width: 20px; height: 20px; border-radius: 50%; flex: none; }
@keyframes giftIn {
  from { opacity: 0; transform: translateX(-30px) scale(.9); }
  to   { opacity: 1; transform: none; }
}
.demo-live__goal { display: grid; gap: 4px; font-size: 11px; color: #C9D1E3; }
.goal { height: 8px; background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden; }
.goal i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, #25F4EE, #FE2C55); border-radius: inherit; transition: width .6s var(--ease-out); }

/* demo 3D */
.demo-3d {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(24,32,51,.06) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(24,32,51,.06) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--base);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.demo-3d__scene { perspective: 500px; }
.cube3d {
  position: relative;
  width: 74px; height: 74px;
  transform-style: preserve-3d;
  animation: spin3d 9s linear infinite;
}
.cube3d .f {
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  background: rgba(214, 58, 47, .1);
  background-image:
    linear-gradient(var(--red) 1px, transparent 1px),
    linear-gradient(90deg, var(--red) 1px, transparent 1px);
  background-size: 50% 50%;
  background-position: -1px -1px;
  opacity: .9;
}
.f1 { transform: translateZ(37px); }
.f2 { transform: rotateY(180deg) translateZ(37px); }
.f3 { transform: rotateY(90deg) translateZ(37px); }
.f4 { transform: rotateY(-90deg) translateZ(37px); }
.f5 { transform: rotateX(90deg) translateZ(37px); }
.f6 { transform: rotateX(-90deg) translateZ(37px); }
@keyframes spin3d {
  from { transform: rotateX(-22deg) rotateY(0); }
  to   { transform: rotateX(-22deg) rotateY(360deg); }
}
/* model "terisi" perlahan dari wireframe jadi padat */
.demo-3d.is-solid .f { background-color: rgba(214, 58, 47, .85); transition: background-color 1.4s; }
.demo-3d__label {
  position: absolute;
  left: 10px; bottom: 10px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  box-shadow: 0 0 0 1px var(--line);
}

/* =========================================================
   TOKO
   ========================================================= */
.shop {
  color: #fff;
  background-color: var(--ink);
  background-image: radial-gradient(circle at center, rgba(255,255,255,.06) 1.6px, transparent 2px);
  background-size: 28px 28px;
  border-radius: 40px 40px 0 0;
}
.shop .section__lead { color: #AEB7CC; }

.shop__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.product {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding: 28px;
  background: var(--ink-2);
  border-radius: var(--radius-m);
  box-shadow: inset 0 0 0 1px #2E3A58;
}
.product h3 { font-size: 22px; font-weight: 750; font-stretch: 112%; }
.product p { color: #AEB7CC; font-size: 16px; }
.product .link { margin-top: auto; padding-top: 6px; color: var(--yellow); }
.product:nth-child(2) { transition-delay: .08s; }
.product:nth-child(3) { transition-delay: .16s; }
.product:nth-child(4) { transition-delay: .24s; grid-column: span 2; }

.product--robux {
  grid-row: span 2;
  padding: 36px;
  background:
    radial-gradient(400px 260px at 80% 10%, rgba(245, 196, 49, .22), transparent 70%),
    var(--ink-2);
  box-shadow: inset 0 0 0 1.5px rgba(245, 196, 49, .45);
}
.product--robux h3 { font-size: 34px; font-stretch: 125%; letter-spacing: -.02em; }
.product--robux .btn { margin-top: 10px; }
.product__opts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.product__opts li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px #34405F;
}
.product__opts strong { font-size: 16px; }
.product__opts span { font-size: 14.5px; color: #AEB7CC; }

/* koin berputar */
.coin {
  width: 84px; height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 24px;
  color: #6B4E00;
  background: radial-gradient(circle at 35% 30%, #FFE58A, var(--yellow) 55%, var(--yellow-d));
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.15), 0 10px 30px -6px rgba(245,196,49,.6);
  animation: coinSpin 4s ease-in-out infinite;
}
@keyframes coinSpin {
  0%, 60%  { transform: rotateY(0) translateY(0); }
  75%      { transform: rotateY(180deg) translateY(-12px); }
  90%,100% { transform: rotateY(360deg) translateY(0); }
}

.product__icon { width: 52px; height: 52px; border-radius: 12px; position: relative; margin-bottom: 4px; }
.product__icon--items { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.product__icon--items i { border-radius: 5px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.product__icon--items i:nth-child(1) { background: var(--red); }
.product__icon--items i:nth-child(2) { background: var(--blue); }
.product__icon--items i:nth-child(3) { background: var(--green); }
.product__icon--items i:nth-child(4) { background: var(--yellow); }
.product:hover .product__icon--items i:nth-child(1) { transform: translate(-3px, -3px); }
.product:hover .product__icon--items i:nth-child(4) { transform: translate(3px, 3px); }
.product__icon--items i { transition: transform .3s var(--ease-bounce); }

.product__icon--photo { background: var(--blue); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2); }
.product__icon--photo::before { content: ""; position: absolute; top: -5px; left: 10px; width: 16px; height: 8px; background: var(--blue); border-radius: 3px 3px 0 0; }
.product__icon--photo i { position: absolute; inset: 13px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 6px var(--ink-2); }

.product__icon--pass { background: var(--green); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2); }
.product__icon--pass i { position: absolute; inset: 14px; border-radius: 50%; border: 4px dashed rgba(255,255,255,.85); animation: spinSlow 8s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* langkah beli */
.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: none;
}
.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 22px;
  border-top: 1.5px solid #2E3A58;
}
.steps__n {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 10px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
}
.steps h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.steps p { font-size: 15px; color: #AEB7CC; }

/* =========================================================
   KONTAK & FOOTER
   ========================================================= */
.contact { background: var(--ink); color: #fff; padding-top: 0; padding-bottom: 72px; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(500px 260px at 0% 100%, rgba(255,255,255,.14), transparent 70%),
    var(--red);
  box-shadow: 0 8px 0 var(--red-d);
}
.contact__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.contact__inner p { color: rgba(255,255,255,.88); font-size: 18px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; max-width: 460px; }
.contact .btn--red { --bg: var(--ink); --edge: #070B15; }
.contact .btn--ghost { outline: 0; --edge: #E9C9C6; }

.footer { background: var(--ink); color: #AEB7CC; padding: 40px 0 48px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid #2E3A58;
}
.brand--small { color: #fff; }
.brand--small .brand__mark { width: 24px; height: 24px; }
.brand--small .brand__name { font-size: 18px; }
.footer__social { display: flex; gap: 22px; }
.footer__social a { text-decoration: none; font-size: 15px; }
.footer__social a:hover { color: #fff; }
.footer__note { width: 100%; font-size: 14px; }

/* =========================================================
   RESPONSIF
   ========================================================= */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .feature, .raita, .ungkapan, .bedclip { grid-template-columns: 1fr; padding: 32px; gap: 36px; }
  .ungkapan__shot { order: 2; }
  .services { grid-template-columns: 1fr; gap: 16px; }
  .soon { grid-template-columns: 1fr 1fr; }
  .shop__grid { grid-template-columns: 1fr 1fr; }
  .product--robux { grid-column: 1 / -1; grid-row: auto; }
  .product:nth-child(4) { grid-column: auto; }
  .shop__grid > .product:last-child { grid-column: 1 / -1; }
  .contact__inner { grid-template-columns: 1fr; padding: 40px; }
  .contact__links { justify-content: flex-start; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--base);
    box-shadow: 0 20px 30px -20px rgba(24,32,51,.3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease-out), opacity .3s, visibility .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 14px; }
  .nav.menu-open { background: var(--base); }

  .hero { padding-top: 24px; }
  .hero__lead { font-size: 17px; }
  .section { padding: 84px 0; }
  .section__lead { font-size: 17px; }
  .feature, .raita, .ungkapan, .bedclip { padding: 22px; border-radius: 18px; }
  .ungkapan__note--a { right: -6px; }
  .ungkapan__note--b { left: -6px; }
  .ungkapan__view { height: 300px; }
  .clipapp__body { grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; padding: 10px; }
  .clipapp__sub { font-size: 10px; }
  .clipapp__face { width: 38px; height: 38px; box-shadow: 0 46px 0 12px #D63A2F; }
  .catalog__body { grid-template-columns: 1fr; }
  .catalog__side { display: flex; overflow: hidden; border-right: 0; border-bottom: 1px solid #2A3550; padding: 10px; }
  .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog__grid .tile:nth-child(n+7) { display: none; }
  .services__list { grid-template-columns: 1fr; }
  .soon { grid-template-columns: 1fr; }
  .shop { border-radius: 26px 26px 0 0; }
  .shop__grid { grid-template-columns: 1fr; }
  .product--robux { padding: 26px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 18px 0; }
  .contact__inner { padding: 28px; }
  .contact__links .btn { flex: 1 1 100%; }
}

/* Hormati pengguna yang mematikan animasi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
