/* =========================================================
   PORTIBI STORE — style
   Warna diambil dari logo & poster: biru, oranye, navy.
   ========================================================= */
:root {
  --blue: #1668e3;
  --blue-600: #0f55c4;
  --blue-50: #eaf2fd;
  --sky: #13b6f5;
  --orange: #f7931e;
  --orange-600: #e2560c;
  --navy: #0d1a3a;
  --ink: #1d2433;
  --muted: #5d6676;
  --line: #e3e8f0;
  --bg: #ffffff;
  --tint: #f3f7fd;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(13, 26, 58, .25);
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; color: var(--navy); }
h3 { font-weight: 800; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(22,104,227,.7); }
.btn--primary:hover { background: var(--blue-600); }
.btn--orange { background: var(--orange); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(247,147,30,.9); }
.btn--orange:hover { background: #ffa232; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--sm { padding: .65em 1.15em; font-size: .9rem; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 .9rem; font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247,147,30,.25); }
.dot--blue { background: var(--blue); box-shadow: 0 0 0 4px rgba(22,104,227,.18); }
.dot--orange { background: var(--orange-600); box-shadow: 0 0 0 4px rgba(226,86,12,.18); }
.hl { color: var(--orange); }

/* ---------- navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(13,26,58,.5); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-family: var(--font-display); font-size: 1.35rem; color: #4a5160; letter-spacing: -.01em; }
.brand__text small { font-weight: 700; font-size: .62rem; letter-spacing: .38em; color: #4a5160; margin-top: 3px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { white-space: nowrap;
  padding: .5em .85em; border-radius: 999px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .94rem;
}
.nav__links a:hover { background: var(--blue-50); color: var(--blue); }
.nav__toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #2d82f5 0%, transparent 60%), var(--blue);
  color: #fff;
}
/* Animasi background hero: logo Portibi + gelombang sinyal */
.hero { isolation: isolate; }
.hero__signal { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__signal img, .hero__signal svg { max-width: none; }
.hero__signal .glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.hero__signal .glow--a { width: 420px; height: 420px; background: var(--sky); right: -80px; top: -120px; animation: sigDrift 14s ease-in-out infinite; }
.hero__signal .glow--b { width: 300px; height: 300px; background: var(--orange); left: -120px; bottom: -140px; opacity: .25; animation: sigDrift 18s ease-in-out infinite reverse; }
.sig { position: absolute; right: 2%; top: 46%; width: 0; height: 0; }
.sig__logo {
  position: absolute; width: 300px; height: auto; left: -230px; top: -190px; opacity: .22;
  filter: brightness(0) invert(1); animation: sigBreathe 4s ease-in-out infinite;
}
.sig__ring {
  position: absolute; left: 0; top: 0; width: 220px; height: 220px; margin: -110px 0 0 -110px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.35); opacity: 0;
  animation: sigRing 6s cubic-bezier(.2,.6,.3,1) infinite;
}
.sig__ring:nth-child(odd) { border-color: rgba(247,147,30,.55); }
.sig__ring:nth-child(2) { animation-delay: 1.2s; }
.sig__ring:nth-child(3) { animation-delay: 2.4s; }
.sig__ring:nth-child(4) { animation-delay: 3.6s; }
.sig__ring:nth-child(5) { animation-delay: 4.8s; }
.sig__arcs { position: absolute; left: -10px; top: -250px; width: 200px; }
.sig__arcs path { fill: none; stroke: var(--orange); stroke-width: 10; stroke-linecap: round; opacity: .3; animation: sigArc 2.4s ease-in-out infinite; }
.sig__arcs path:nth-child(2) { animation-delay: .25s; }
.sig__arcs path:nth-child(3) { animation-delay: .5s; }
/* hemat baterai: animasi berhenti saat hero tidak terlihat */
.hero.is-offscreen .hero__signal * { animation-play-state: paused; }
@keyframes sigRing { 0% { transform: scale(.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(5.5); opacity: 0; } }
@keyframes sigArc { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes sigBreathe { 50% { transform: scale(1.05); opacity: .3; } }
@keyframes sigDrift { 50% { transform: translate(-60px, 40px) scale(1.1); } }
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px);
}
.hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); font-weight: 800; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34ch; color: rgba(255,255,255,.9); margin: 1.4rem 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 14px 36px; list-style: none; padding: 0; margin: 2.6rem 0 0;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.hero__stats span { font-size: .88rem; color: rgba(255,255,255,.75); }

.hero__visual { position: relative; height: 470px; }
.pcard {
  position: absolute; margin: 0; padding: 10px; background: #fff; border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(5,15,45,.55);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.pcard img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.pcard--a { width: 230px; height: 300px; left: 4%; top: 40px; transform: rotate(-7deg); }
.pcard--b { width: 260px; height: 210px; right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.pcard--c { width: 210px; height: 270px; right: 12%; bottom: 0; transform: rotate(3deg); z-index: 3; }
.hero__visual:hover .pcard--a { transform: rotate(-9deg) translateY(-6px); }
.hero__visual:hover .pcard--b { transform: rotate(7deg) translateY(-6px); }
.hero__visual:hover .pcard--c { transform: rotate(1deg) translateY(-6px); }
.stamp {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%) rotate(-8deg);
  background: var(--orange-600); color: #fff; font: 800 .95rem/1 var(--font-display);
  letter-spacing: .1em; padding: .5em .9em; border-radius: 6px;
  outline: 2px solid #fff; outline-offset: -5px;
}
.stamp--blue { background: var(--blue); }
.hero__badge {
  position: absolute; left: 30%; bottom: 30px; z-index: 4;
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--orange); color: var(--navy);
  font: 800 1.45rem/.95 var(--font-display);
  transform: rotate(-12deg);
  box-shadow: 0 16px 30px -10px rgba(0,0,0,.4), inset 0 0 0 6px var(--orange), inset 0 0 0 8px rgba(13,26,58,.5);
  animation: wobble 6s ease-in-out infinite;
}
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.04); } }

/* ---------- trust ---------- */
.trust { background: var(--navy); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.08); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust__item b { display: block; font-size: 1rem; }
.trust__item span { font-size: .86rem; color: rgba(255,255,255,.65); line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--tint); }
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px;
  flex-wrap: wrap; margin-bottom: 40px;
}
.section__sub { max-width: 44ch; color: var(--muted); margin: 0; }

/* ---------- ready stock ---------- */
.ready__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.rcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.rcard__img { position: relative; aspect-ratio: 4 / 3.4; background: var(--tint); overflow: hidden; }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rcard:hover .rcard__img img { transform: scale(1.04); }
.tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .4em .75em; border-radius: 999px;
}
.tag--loc { left: auto; right: 12px; background: rgba(13,26,58,.75); backdrop-filter: blur(6px); text-transform: none; letter-spacing: 0; }
.rcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.rcard__cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.rcard h3 { font-family: var(--font); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: .3em 0 .15em; color: var(--navy); }
.rcard__variant { font-size: .87rem; color: var(--muted); margin: 0; }
.rcard ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 6px; font-size: .86rem; color: #3b4352; }
.rcard li { position: relative; padding-left: 20px; line-height: 1.4; }
.rcard li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%231668e3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.rcard__price { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.rcard__price b { font-family: var(--font-display); font-size: 1.55rem; color: var(--navy); letter-spacing: -.01em; }
.rcard__price small { color: var(--orange-600); font-weight: 700; font-size: .78rem; }
.rcard__actions { display: flex; gap: 8px; margin-top: 14px; }
.rcard__actions .btn { flex: 1; padding: .75em 1em; font-size: .88rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding: .55em 1.05em; border-radius: 999px; font: 600 .9rem/1 var(--font); cursor: pointer;
  transition: all .15s;
}
.chip small { color: var(--muted); font-weight: 700; margin-left: 4px; }
.chip:hover { border-color: var(--blue); }
.chip[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-selected="true"] small { color: var(--orange); }

/* ---------- sold out ---------- */
.sold__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.scard {
  position: relative; border: 0; padding: 0; text-align: left; cursor: zoom-in;
  background: #fff; border-radius: 16px; overflow: hidden; font: inherit; color: inherit;
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: fadeUp .4s ease both;
}
.scard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.scard__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.scard__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); transition: filter .3s, transform .5s; }
.scard:hover .scard__img img { filter: saturate(1); transform: scale(1.04); }
.scard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,26,58,.45)); }
.scard .stamp { bottom: auto; top: 14px; left: auto; right: 10px; transform: rotate(6deg); font-size: .78rem; z-index: 1; }
.scard__qty {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  background: #fff; color: var(--navy); font-weight: 800; font-size: .74rem;
  padding: .35em .7em; border-radius: 999px;
}
.scard__body { padding: 12px 14px 14px; }
.scard__body b { display: block; font-size: .95rem; line-height: 1.3; color: var(--navy); }
.scard__body span { display: block; font-size: .8rem; color: var(--muted); }
.scard__body span + b { margin-top: 6px; }
.sold__note { margin: 30px 0 0; color: var(--muted); text-align: center; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---------- testimoni ---------- */
.testi { position: relative; }
.testi__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(16px, calc((100% - 1180px) / 2)) 22px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.testi__item {
  flex: none; width: 210px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  scroll-snap-align: start; border: 0; padding: 0; cursor: zoom-in; background: var(--tint);
  box-shadow: 0 12px 26px -16px rgba(13,26,58,.6);
  transition: transform .2s;
}
.testi__item:hover { transform: translateY(-4px) rotate(-.6deg); }
.testi__item img { width: 100%; height: 100%; object-fit: cover; }
.testi__nav {
  position: absolute; top: calc(50% - 30px); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--navy); font-size: 1.8rem; line-height: 1;
  box-shadow: var(--shadow);
}
.testi__nav--prev { left: 16px; }
.testi__nav--next { right: 16px; }

/* ---------- sell ---------- */
.sell {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 500px at 0% 100%, #2d82f5 0%, transparent 60%), var(--blue);
  padding: clamp(64px, 9vw, 110px) 0;
}
.sell::before {
  content: ""; position: absolute; left: -240px; bottom: -300px; width: 700px; height: 700px; border-radius: 50%;
  border: 70px solid rgba(255,255,255,.05);
}
.sell__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sell h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.sell__lead { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 40ch; margin: 1.2rem 0 2rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; min-height: 42px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); font: 800 1.1rem var(--font-display); color: var(--orange);
}
.steps b { display: block; }
.steps span { color: rgba(255,255,255,.75); font-size: .92rem; }

.sell__form {
  background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 40px 80px -30px rgba(5,15,45,.6);
  display: grid; gap: 14px;
}
.sell__form h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 4px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 .95rem var(--font); color: var(--ink);
  padding: .75em .9em; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,104,227,.12); background: #fff;
}
.field-row--model { grid-template-columns: 1.4fr 1fr; }
[hidden] { display: none !important; }
.field select:disabled { opacity: .55; cursor: not-allowed; }
.field input.is-invalid, .field select.is-invalid { border-color: var(--orange-600); box-shadow: 0 0 0 4px rgba(226,86,12,.12); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: block; text-align: center; padding: .6em .4em; border-radius: 10px;
  border: 1.5px solid var(--line); font-size: .86rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.seg input:checked + span { background: var(--blue-50); border-color: var(--blue); color: var(--blue); }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(22,104,227,.2); }
.form__hint { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; min-height: 1.2em; }

/* ---------- how ---------- */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how li { padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.how li::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--blue-50); }
.how__n { position: relative; z-index: 1; font: 800 1rem var(--font-display); color: var(--orange-600); }
.how b { display: block; font-size: 1.15rem; margin: 10px 0 6px; color: var(--navy); }
.how p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq .section__sub { margin-top: 1rem; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 0 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font: 600 1.5rem/1 var(--font); color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .94rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
/* (logo footer: lihat .flogo) */
.footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.footer p { margin: 0 0 6px; line-height: 1.8; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .84rem; }

/* ---------- fab ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--navy); text-decoration: none;
  padding: 14px 20px 14px 16px; border-radius: 999px; font-weight: 800;
  box-shadow: 0 14px 30px -10px rgba(226,86,12,.7);
  transition: transform .2s;
}
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; margin: 0;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(6, 12, 30, .88); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(92vw, 520px); }
.lightbox img { max-height: 82vh; width: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; }
.lightbox figcaption small { display: block; font-weight: 500; color: rgba(255,255,255,.65); }
.lightbox__close, .lightbox__nav {
  position: fixed; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.12);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 60;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: .92rem;
  opacity: 0; pointer-events: none; transition: all .25s; max-width: calc(100% - 32px); text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 380px; max-width: 520px; width: 100%; margin-inline: auto; }
  .pcard--a { width: 190px; height: 250px; }
  .pcard--b { width: 220px; height: 180px; }
  .pcard--c { width: 180px; height: 230px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__item { border-top: 1px solid rgba(255,255,255,.08); }
  .trust__item:nth-child(-n+2) { border-top: 0; }
  .sell__inner, .faq { grid-template-columns: 1fr; gap: 40px; }
  .how { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; gap: 5px; margin-left: auto; width: 44px; height: 44px; place-content: center;
    border: 0; background: var(--blue-50); border-radius: 12px; cursor: pointer;
  }
  .nav__toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: 0 20px 30px -20px rgba(13,26,58,.4);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .85em .6em; border-radius: 10px; }
}
@media (max-width: 560px) {
  .hero__visual { height: 320px; }
  .pcard--a { width: 150px; height: 200px; left: 0; top: 30px; }
  .pcard--b { width: 180px; height: 145px; }
  .pcard--c { width: 150px; height: 195px; right: 4%; }
  .hero__badge { width: 92px; height: 92px; font-size: 1.15rem; left: 34%; bottom: 10px; }
  .hero__stats b { font-size: 1.8rem; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item, .trust__item:nth-child(3) { border-left: 0; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .trust__item:first-child { border-top: 0; }
  .sold__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .scard__body { padding: 10px 11px 12px; }
  .scard__body b { font-size: .86rem; }
  .testi__item { width: 168px; }
  .testi__nav { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .fab span { display: none; }
  .fab { padding: 16px; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .lightbox img { max-height: 74vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- cari unit (form pembeli) ---------- */
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.buy__copy .section__sub { margin: 1.1rem 0 1.6rem; }
.buy__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.buy__perks li { position: relative; padding-left: 34px; font-weight: 600; color: var(--navy); }
.buy__perks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.buy__form { box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- popup pesan siap ---------- */
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px -10px rgba(37,211,102,.8); }
.btn--wa:hover { background: #1fbe5b; }
.btn--ig { background: linear-gradient(45deg, #f9a825, #e1306c 45%, #833ab4); color: #fff; box-shadow: 0 10px 24px -10px rgba(225,48,108,.7); }
.btn--ig-soft { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--wa svg, .btn--ig svg { width: 20px; height: 20px; flex: none; }
.btn--wa svg { fill: currentColor; }
.btn--ig svg { fill: none; stroke: currentColor; stroke-width: 2; }
.chatbox {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  border: 0; border-radius: 24px; padding: 28px 24px 22px; text-align: center;
  box-shadow: 0 40px 80px -20px rgba(5,15,45,.5); color: var(--ink);
}
.chatbox::backdrop { background: rgba(6, 12, 30, .6); backdrop-filter: blur(4px); }
.chatbox img { margin: 0 auto 10px; width: 40px; height: auto; }
.chatbox h3 { font-size: 1.45rem; color: var(--navy); }
.chatbox__sub { color: var(--muted); margin: 6px 0 16px; font-size: .95rem; }
.chatbox__msg {
  text-align: left; white-space: pre-wrap; font: 500 .88rem/1.55 var(--font);
  background: #e9f9ef; border-radius: 14px 14px 4px 14px; padding: 14px 16px; margin: 0 0 18px;
  max-height: 210px; overflow: auto; color: #1d2b22;
}
.chatbox__actions { display: grid; gap: 10px; }
.chatbox__hint { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.chatbox__close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--tint); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer;
}

@media (max-width: 980px) {
  .buy { grid-template-columns: 1fr; gap: 32px; }
}

/* tombol putih di hero (Tanya / cari unit) */
.btn--white { background: #fff; color: var(--blue); box-shadow: 0 10px 24px -12px rgba(5,15,45,.5); }
.btn--white:hover { background: var(--blue-50); }
.btn--white svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (max-width: 560px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- katalog: tombol tampilkan semua ---------- */
.more { display: flex; justify-content: center; margin-top: 28px; }
.more__btn { background: #fff; min-width: 260px; }
.more__btn[hidden] { display: none; }
#readyFilters, #soldFilters { margin-bottom: 22px; }

/* ---------- kartu katalog sold out ---------- */
.scard { cursor: default; display: flex; flex-direction: column; }
.scard__img { aspect-ratio: 1 / 1; }
.scard__body { display: flex; flex-direction: column; flex: 1; }
.scard__cat { font-size: .68rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue) !important; margin-bottom: 2px; }
.scard__ask {
  margin-top: auto; padding: 10px 0 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: 700 .8rem var(--font); color: var(--orange-600);
}
.scard__ask:hover { text-decoration: underline; }
.scard__body > span:not(.scard__cat) { margin-bottom: 4px; }

/* tile untuk unit tanpa foto produk */
.stile {
  position: relative; width: 100%; height: 100%; padding: 18px 16px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden;
  color: #fff; background: linear-gradient(150deg, #2d82f5, #0d1a3a);
}
.stile svg {
  position: absolute; right: -14%; top: -6%; width: 78%; height: auto; opacity: .16;
  fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.stile b { position: relative; font: 800 clamp(1.05rem, 2.2vw, 1.4rem)/1.05 var(--font-display); letter-spacing: -.01em; }
.stile span {
  position: relative; align-self: flex-start; font-weight: 800; font-size: .78rem;
  background: rgba(255,255,255,.18); padding: .3em .7em; border-radius: 999px;
}
.stile--iphone  { background: linear-gradient(150deg, #2d82f5, #0d1a3a); }
.stile--android { background: linear-gradient(150deg, #22b07d, #0b3b30); }
.stile--ipad    { background: linear-gradient(150deg, #13b6f5, #0c3d78); }
.stile--drone   { background: linear-gradient(150deg, #6b7a90, #1d2433); }
.stile--pc      { background: linear-gradient(150deg, #7c5cf5, #24124f); }
.stile--konsol  { background: linear-gradient(150deg, #f04848, #4a0f19); }
.stile--lainnya { background: linear-gradient(150deg, #f7931e, #6b2c05); }
.scard:hover .stile { filter: brightness(1.08); }
.scard__img::after { display: none; }

/* grid katalog: kolom tetap supaya baris selalu penuh */
.ready__grid { grid-template-columns: repeat(4, 1fr); }
.sold__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .ready__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .sold__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 560px) { .ready__grid { grid-template-columns: 1fr; } }

/* =========================================================
   LAYAR TERPISAH + TOP APP BAR KATALOG
   ========================================================= */
[data-screen] { display: none; }
[data-screen].is-active { display: block; animation: screenIn .35s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.section--screen { min-height: calc(100vh - 70px - 260px); }

.nav__links a.is-active { background: var(--blue-50); color: var(--blue); }

/* top app bar: tab Ready Stock / Sold Out */
.appbar {
  position: sticky; top: 70px; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.appbar.is-active { display: block; }
.appbar__inner { position: relative; display: flex; gap: 4px; }
.appbar__tab {
  flex: 1; max-width: 260px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 12px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .98rem;
  transition: color .2s;
}
.appbar__tab:hover { color: var(--navy); }
.appbar__tab[aria-selected="true"] { color: var(--navy); }
.appbar__tab b {
  min-width: 26px; padding: .15em .55em; border-radius: 999px; font-size: .78rem;
  background: var(--tint); color: var(--muted);
}
.appbar__tab[aria-selected="true"] b { background: var(--navy); color: #fff; }
.appbar__dot { width: 9px; height: 9px; border-radius: 50%; }
.appbar__dot--ready { background: #22b07d; box-shadow: 0 0 0 4px rgba(34,176,125,.18); }
.appbar__dot--sold { background: var(--orange-600); box-shadow: 0 0 0 4px rgba(226,86,12,.18); }
.appbar__ink {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; border-radius: 3px 3px 0 0;
  background: var(--blue); transition: transform .3s cubic-bezier(.2,.8,.2,1), width .3s;
}
.section--tab { padding-top: clamp(36px, 5vw, 56px); min-height: calc(100vh - 140px); }
.section--tab .section__head { margin-bottom: 26px; }


@media (max-width: 560px) {
  .appbar__tab { font-size: .9rem; padding: 14px 6px; max-width: none; }
}

/* ---------- logo footer (di atas background navy) ---------- */
.flogo { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 18px; text-decoration: none; }
.flogo__mark {
  position: relative; flex: none; width: 76px; height: 76px; border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #ffffff 0%, #e6f0ff 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.6) inset,
    0 14px 30px -10px rgba(22,104,227,.75),
    0 0 40px -6px rgba(19,182,245,.45);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.flogo__mark img { position: relative; z-index: 1; width: 44px; height: auto; filter: drop-shadow(0 4px 6px rgba(22,104,227,.35)); }
.flogo:hover .flogo__mark { transform: rotate(-6deg) scale(1.05); }
/* gelombang sinyal oranye, seperti di logo */
.flogo__wave {
  position: absolute; top: -10px; right: -10px; border-radius: 50%;
  border: 3px solid var(--orange); border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(0deg); opacity: .9; animation: flogoPing 2.4s ease-out infinite;
}
.flogo__wave--1 { width: 26px; height: 26px; }
.flogo__wave--2 { width: 42px; height: 42px; top: -18px; right: -18px; opacity: .55; animation-delay: .35s; }
@keyframes flogoPing { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.flogo__text { display: flex; flex-direction: column; line-height: 1; }
.flogo__text b { font: 800 2rem/1 var(--font-display); color: #fff; letter-spacing: -.02em; }
.flogo__text small {
  margin-top: 6px; font-weight: 800; font-size: .72rem; letter-spacing: .5em;
  background: linear-gradient(90deg, var(--orange), #ffc46b); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flogo:hover .flogo__text b { color: #fff; }

/* ---------- carousel testimoni berputar ---------- */
.testi__track { scroll-snap-type: none; scrollbar-width: none; }
.testi__track::-webkit-scrollbar { display: none; }
.testi__item, .testi__item img, .lightbox img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.testi__item { cursor: pointer; }
.testi__item:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- cara belanja: lebih berwarna ---------- */
.cara { background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%); position: relative; overflow: hidden; }
.cara::before {
  content: ""; position: absolute; right: -160px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,30,.16), transparent 70%); pointer-events: none;
}
.cara .wrap { position: relative; }
.how { counter-reset: none; }
.how li {
  --c: var(--blue); --c2: #2d82f5;
  background: #fff; border: 0; border-radius: 20px; padding: 24px 22px 26px;
  box-shadow: 0 1px 0 rgba(13,26,58,.04), 0 14px 30px -18px rgba(13,26,58,.35);
  border-top: 4px solid var(--c);
  transition: transform .2s ease, box-shadow .2s ease;
}
.how li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(13,26,58,.45); }
.how li::after { display: none; }
.how li.how--1 { --c: #1668e3; --c2: #4b9bff; }
.how li.how--2 { --c: #13b6f5; --c2: #6fd6ff; }
.how li.how--3 { --c: #22b07d; --c2: #5fd6a8; }
.how li.how--4 { --c: #f7931e; --c2: #ffc46b; }
.how__ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--c), var(--c2));
  box-shadow: 0 10px 20px -10px var(--c);
}
.how__ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.how__n { display: inline-block; font: 800 .72rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.how b { font-size: 1.2rem; margin: 8px 0 6px; }
.how p { color: #4d5666; }

/* Animasi hero: susunan & ukuran layar kecil */
.hero__inner { z-index: 2; }
@media (max-width: 980px) {
  .sig { right: 14%; top: 24%; }
}
@media (max-width: 560px) {
  .sig { right: 6%; top: 16%; }
  .sig__logo { width: 220px; left: -170px; top: -140px; opacity: .12; animation: none; }
  .sig__arcs { width: 150px; left: -20px; top: -185px; }
  .sig__ring { width: 160px; height: 160px; margin: -80px 0 0 -80px; }
}

/* =========================================================
   ANIMASI KATALOG "Kartu Hidup" (Ready Stock & Sold Out)
   Kartu hanya bergerak saat muncul / disentuh — ringan di HP.
   ========================================================= */
.scard { animation: none; }
.rcard, .scard { position: relative; }

/* 1. Muncul bergelombang saat di-scroll (kelas .is-in dari JS) */
.js-cards .rcard, .js-cards .scard {
  opacity: 0; transform: translateY(34px) scale(.96);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.9,.25,1.15), box-shadow .2s;
  transition-delay: var(--delay, 0ms);
}
.js-cards .rcard.is-in, .js-cards .scard.is-in { opacity: 1; transform: none; }

/* 2. Miring 3D + kilau (hanya perangkat dengan mouse) */
.card-shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.38), transparent 45%);
  mix-blend-mode: soft-light; transition: opacity .25s;
}
@media (hover: hover) and (pointer: fine) {
  .js-cards .rcard.is-in:hover, .js-cards .scard.is-in:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
    transition: transform .12s ease-out, box-shadow .2s, opacity .6s; transition-delay: 0ms;
  }
  .rcard:hover .card-shine, .scard:hover .card-shine { opacity: 1; }
}
.js-cards .rcard.is-in:active, .js-cards .scard.is-in:active { transform: scale(.97); transition: transform .1s; }

/* 3. Stempel SOLD OUT "dicap" saat kartu muncul */
.js-cards .scard .stamp { opacity: 0; transform: rotate(-14deg) scale(2.6); }
.js-cards .scard.is-in .stamp { animation: stampHit .5s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay: calc(var(--delay, 0ms) + 380ms); }
.js-cards .scard.is-in .scard__img > img, .js-cards .scard.is-in .stile { animation: stampShake .3s ease; animation-delay: calc(var(--delay, 0ms) + 640ms); }
@keyframes stampHit {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.6); }
  60% { opacity: 1; transform: rotate(8deg) scale(.92); }
  100% { opacity: 1; transform: rotate(6deg) scale(1); }
}
@keyframes stampShake { 30% { transform: translate(1px, 2px); } 60% { transform: translate(-1px, -1px); } }

/* 4. Ready stock: label READY berdenyut + kilau di harga */
.rcard .tag:not(.tag--loc)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  animation: readyPulse 2.4s ease-out infinite;
}
.rcard .tag:not(.tag--loc)::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #7dffb0;
  margin-right: 6px; vertical-align: 1px; animation: dotBlink 1.2s ease-in-out infinite;
}
@keyframes readyPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
@keyframes dotBlink { 50% { opacity: .25; } }
.rcard__price b {
  background: linear-gradient(100deg, var(--navy) 40%, var(--orange) 50%, var(--navy) 60%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rcard.is-in .rcard__price b { animation: priceShine 3.6s ease-in-out infinite; animation-delay: calc(var(--delay, 0ms) + 600ms); }
@keyframes priceShine { 0% { background-position: 100% 0; } 35%, 100% { background-position: 0 0; } }

/* 5. Ganti filter: kartu lama mengecil-hilang, kartu baru muncul berurutan */
.is-leaving > * {
  transition: opacity .18s ease, transform .2s ease !important; transition-delay: 0ms !important;
  opacity: 0 !important; transform: scale(.92) translateY(8px) !important;
}
.chip:active { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  .rcard, .scard, .stamp, .rcard__price b { opacity: 1 !important; transform: none !important; animation: none !important; }
  .rcard__price b { color: var(--navy); background: none; }
}

/* =========================================================
   ANIMASI BAGIAN LAIN: Keunggulan · Testimoni · Form Jual · FAQ
   ========================================================= */

/* ---------- Keunggulan: ikon tergambar sendiri ---------- */
.trust__item.reveal { transition: opacity .5s ease, transform .6s cubic-bezier(.2,.9,.25,1.2); transition-delay: var(--delay, 0ms); }
.trust__ico { position: relative; flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(247,147,30,.12); }
.trust__item .trust__ico svg { width: 26px; height: 26px; }
.trust__item.reveal .trust__ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.trust__item.reveal.is-in .trust__ico svg * { animation: draw 1s cubic-bezier(.6,0,.2,1) forwards; animation-delay: calc(var(--delay, 0ms) + 250ms); }
.trust__item.reveal.is-in .trust__ico svg *:nth-child(2) { animation-delay: calc(var(--delay, 0ms) + 900ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.trust__ico::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--orange); opacity: 0; }
.trust__item.is-in .trust__ico::after { animation: icoRing 1s ease-out forwards; animation-delay: calc(var(--delay, 0ms) + 1300ms); }
@keyframes icoRing { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.trust__item:hover .trust__ico { animation: icoHop .5s ease; }
@keyframes icoHop { 40% { transform: translateY(-5px) rotate(-8deg) scale(1.1); } 70% { transform: translateY(1px) rotate(3deg); } }

/* ---------- Testimoni: fokus tengah + keterangan + zoom ---------- */
.testi__item { position: relative; transform-origin: 50% 60%; will-change: transform; transition: box-shadow .25s; }
.testi__item:hover { transform: translateY(-8px) scale(1.04) !important; opacity: 1 !important; box-shadow: 0 22px 40px -18px rgba(13,26,58,.7); }
.testi__cap {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; padding: 9px 10px; border-radius: 12px;
  background: rgba(13,26,58,.82); backdrop-filter: blur(6px); color: #fff; text-align: left;
  font: 700 .74rem/1.3 var(--font); transform: translateY(calc(100% + 12px)); opacity: 0;
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2), opacity .2s; pointer-events: none;
}
.testi__cap small { display: block; margin-top: 3px; font-weight: 600; color: #7dffb0; }
.testi__item:hover .testi__cap, .testi__item:focus-visible .testi__cap { transform: none; opacity: 1; }

/* ---------- Form jual: progres, ceklis, pil geser, pesawat ---------- */
.fprog { margin: -2px 0 2px; }
.fprog__top { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.fprog__top b { color: var(--blue); transition: color .3s; }
.fprog__bar { height: 8px; border-radius: 99px; background: var(--blue-50); overflow: hidden; }
.fprog__bar i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sky), var(--orange)); background-size: 200% 100%; transition: width .5s cubic-bezier(.2,.9,.3,1.1); animation: barFlow 3s linear infinite; }
@keyframes barFlow { to { background-position: -200% 0; } }
.sell__form.is-ready .fprog__top b { color: #12a150; }
.sell__form .field[data-req] > span { display: flex; align-items: center; gap: 6px; }
.sell__form .field[data-req] > span::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; transform: scale(0);
  background: #12b76a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  transition: transform .35s cubic-bezier(.3,1.8,.5,1);
}
.sell__form .field.is-filled > span::after { transform: scale(1); }
.sell__form .seg { position: relative; }
.seg__pill { position: absolute; top: 0; bottom: 0; left: 0; z-index: 0; border-radius: 10px; background: var(--blue-50); border: 1.5px solid var(--blue); transition: transform .35s cubic-bezier(.2,.9,.3,1.15), width .35s; }
.sell__form .seg label { z-index: 1; }
.sell__form .seg.has-pill input:checked + span { background: transparent; border-color: transparent; }
.send { position: relative; overflow: hidden; }
.send__plane { display: inline-block; width: 20px; height: 20px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.sell__form.is-ready .send { animation: sendGlow 1.6s ease-in-out infinite; }
@keyframes sendGlow { 50% { box-shadow: 0 0 0 6px rgba(247,147,30,.25), 0 10px 24px -10px rgba(247,147,30,.9); } }
.send.is-sent .send__plane { animation: fly 1s cubic-bezier(.5,0,.6,1) forwards; }
.send.is-sent .send__txt { display: inline-block; animation: txtSwap 1s ease forwards; }
@keyframes fly { 0% { transform: none; } 25% { transform: translate(-6px, 4px) rotate(-10deg); } 100% { transform: translate(260px, -120px) rotate(18deg) scale(.6); opacity: 0; } }
@keyframes txtSwap { 0%, 40% { opacity: 1; } 55% { opacity: 0; transform: translateY(-8px); } 56% { transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
.steps li::before { transition: background .3s, color .3s, transform .3s; }
.steps li.is-active::before { background: var(--orange); color: var(--navy); transform: scale(1.1); }
.steps li.is-done::before { content: "✓"; background: #12b76a; color: #fff; }

/* ---------- FAQ: buka-tutup halus ---------- */
.faq__list details.reveal { transform: translateX(26px); transition: opacity .5s, transform .6s cubic-bezier(.2,.9,.3,1.1), box-shadow .3s, border-color .3s; transition-delay: var(--delay, 0ms); }
.faq__list details.reveal.is-in { transform: none; }
.faq details { position: relative; overflow: hidden; }
.faq details[open] { border-color: var(--blue); box-shadow: 0 14px 30px -20px rgba(22,104,227,.7); }
.faq details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s; }
.faq details[open]::before { transform: scaleY(1); }
.faq summary { transition: color .25s; }
.faq details[open] summary { color: var(--blue); }
.faq summary::after { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.faq details.is-opening p { animation: ansIn .4s ease .08s both; }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .trust__ico svg * { stroke-dashoffset: 0 !important; }
}

/* ---------- Sold out: foto & tautan ke postingan Instagram ---------- */
.scard__img--link { display: block; color: inherit; cursor: pointer; }
.scard__ig {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 99px;
  background: rgba(13,26,58,.78); backdrop-filter: blur(6px); color: #fff; font: 700 .72rem/1 var(--font);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.2), opacity .2s, background .2s;
}
.scard__ig svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.scard__img--link:hover .scard__ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
@media (hover: hover) {
  .scard__ig { opacity: 0; transform: translateY(8px); }
  .scard:hover .scard__ig, .scard__img--link:focus-visible .scard__ig { opacity: 1; transform: none; }
}
.scard__links { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.scard__links .scard__ask { margin-top: 0; padding: 0; }
.scard__post { font: 700 .8rem var(--font); color: var(--blue); text-decoration: none; }
.scard__post:hover { text-decoration: underline; }

/* =========================================================
   CARA BELANJA "Perjalanan Unit" (varian gelap)
   Logo Portibi berjalan dari langkah 1 → 4, langkah aktif menyala.
   ========================================================= */
.cara2 {
  position: relative; overflow: hidden; padding: clamp(64px, 9vw, 110px) 0; color: #fff;
  background: radial-gradient(900px 500px at 80% 0%, #1d4fae 0%, transparent 60%), var(--navy);
}
.cara2::before, .cara2::after { content: ""; position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.cara2::before { width: 420px; height: 420px; right: -120px; top: -140px; background: rgba(247,147,30,.22); animation: caraBlob 16s ease-in-out infinite; }
.cara2::after { width: 380px; height: 380px; left: -140px; bottom: -160px; background: rgba(19,182,245,.22); animation: caraBlob 20s ease-in-out infinite reverse; }
@keyframes caraBlob { 50% { transform: translate(-50px, 40px) scale(1.15); } }
.cara2 .wrap { position: relative; z-index: 1; }
.cara2 .section__head h2 { color: #fff; }
.cara2 .section__sub { color: rgba(255,255,255,.75); }
.cara2 .hl2 { background: linear-gradient(90deg, #4b9bff, #13b6f5, #22b07d, #f7931e, #4b9bff); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: hlFlow 6s linear infinite; }
@keyframes hlFlow { to { background-position: -200% 0; } }

.journey { position: relative; }
.journey__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.journey__path .base { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.journey__path .flow { fill: none; stroke: url(#jg); stroke-width: 4; stroke-linecap: round; stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.6s cubic-bezier(.6,0,.2,1); }
.journey.is-in .journey__path .flow { stroke-dashoffset: var(--off, 0); }
.traveler {
  position: absolute; left: 0; top: 0; z-index: 3; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6), 0 0 0 4px rgba(255,255,255,.25);
  transition: transform 1.1s cubic-bezier(.6,0,.2,1), opacity .4s; pointer-events: none; opacity: 0;
}
.journey.is-in .traveler { opacity: 1; }
.traveler img { width: 21px; height: auto; max-width: none; }
.traveler::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--tc, #1668e3); animation: trv 1.6s ease-out infinite; }
@keyframes trv { from { opacity: .8; transform: scale(.8); } to { opacity: 0; transform: scale(1.5); } }

.how2 { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.how2 li {
  --c: #1668e3; --c2: #4b9bff; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #172852, #111e42); border: 2px solid rgba(255,255,255,.08); border-radius: 22px; padding: 24px 22px 26px;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1.2), box-shadow .35s, border-color .35s, background .35s;
  transition-delay: var(--delay, 0ms);
}
.js-journey .how2 li { opacity: 0; transform: translateY(26px); }
.js-journey .journey.is-in .how2 li { opacity: 1; transform: none; }
.how2 li.s1 { --c: #1668e3; --c2: #4b9bff; }
.how2 li.s2 { --c: #0aa5e3; --c2: #6fd6ff; }
.how2 li.s3 { --c: #1fa673; --c2: #5fd6a8; }
.how2 li.s4 { --c: #f08a12; --c2: #ffc46b; }
.how2 li::before { content: attr(data-n); position: absolute; right: 12px; top: -10px; font: 800 5.4rem/1 var(--font-display); color: var(--c); opacity: .12; transition: opacity .35s, transform .5s; }
.how2 li.is-active { transition-delay: 0ms; border-color: var(--c); box-shadow: 0 0 40px -10px var(--c); background: linear-gradient(180deg, #1b2e5c, color-mix(in srgb, var(--c) 28%, #111e42)); }
.js-journey .journey.is-in .how2 li.is-active { transform: translateY(-8px); }
.how2 li.is-active::before { opacity: .22; transform: translateY(6px) scale(1.06); }
.how2 .ico { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 16px; background: linear-gradient(140deg, var(--c), var(--c2)); box-shadow: 0 10px 20px -10px var(--c); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.how2 li.is-active .ico { transform: scale(1.12) rotate(-4deg); }
.how2 .ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.how2 .n { display: inline-flex; align-items: center; gap: 6px; font: 800 .72rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--c2); }
.how2 .n i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: var(--c2); transform-origin: left; transform: scaleX(.4); transition: transform .4s; }
.how2 li.is-active .n i { transform: scaleX(1); }
.how2 b { display: block; font-size: 1.2rem; margin: 8px 0 6px; color: #fff; }
.how2 p { margin: 0; color: rgba(255,255,255,.72); font-size: .92rem; }
.how2 li .bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--c); transform-origin: left; transform: scaleX(0); }
.how2 li.is-active .bar { animation: barRun var(--step, 2600ms) linear forwards; }
@keyframes barRun { to { transform: scaleX(1); } }
/* animasi ikon per langkah (saat aktif) */
.how2 .dot { fill: #fff; stroke: none; }
.how2 li.is-active .dot { animation: typing 1s ease-in-out infinite; }
.how2 li.is-active .dot:nth-of-type(2) { animation-delay: .15s; }
.how2 li.is-active .dot:nth-of-type(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-2.5px); } }
.how2 .scan { stroke: #fff; stroke-width: 1.6; opacity: 0; }
.how2 li.is-active .scan { animation: scan 1.3s ease-in-out infinite; }
@keyframes scan { 0% { opacity: 0; transform: translateY(-5px); } 30%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(6px); } }
.how2 .chk { stroke-dasharray: 1; stroke-dashoffset: 0; }
.how2 li.is-active .chk { animation: chk 1.4s ease infinite; }
@keyframes chk { 0%, 20% { stroke-dashoffset: 1; } 60%, 100% { stroke-dashoffset: 0; } }
.how2 .ico::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 250% 100%; background-position: 120% 0; }
.how2 li.s3.is-active .ico::after { animation: shine 1.4s ease infinite; }
@keyframes shine { to { background-position: -120% 0; } }
.how2 li.s4.is-active .box { animation: boxHop .9s cubic-bezier(.3,1.6,.5,1) infinite; transform-origin: 12px 20px; }
@keyframes boxHop { 0%, 100% { transform: none; } 35% { transform: translateY(-3px) scale(1.05, .95); } 55% { transform: translateY(0) scale(.97, 1.03); } }
.cara2.is-offscreen *, .cara2.is-offscreen::before, .cara2.is-offscreen::after { animation-play-state: paused !important; }

@media (max-width: 980px) { .how2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .how2 { grid-template-columns: 1fr; gap: 16px; }
  .how2 li { padding-left: 86px; }
  .how2 .ico { position: absolute; left: 20px; top: 24px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .how2 li, .traveler { opacity: 1 !important; transform: none !important; }
  .how2 *, .cara2::before, .cara2::after, .cara2 .hl2 { animation: none !important; }
}

/* =========================================================
   PANEL BAGIAN: Ready Stock (etalase malam), Sold Out (arsip terjual),
   Cari Unit (radar), Testimoni (panggung), FAQ (ruang tanya)
   ========================================================= */

/* elemen hiasan yang disisipkan JS pratinjau */
.pnl-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pnl-host { position: relative; isolation: isolate; overflow: hidden; }
.pnl-host > .wrap, .pnl-host > .testi { position: relative; z-index: 1; }

/* ---------- 1. READY STOCK: Etalase malam ---------- */
#ready { background: radial-gradient(900px 420px at 15% 0%, #1d4fae 0%, transparent 60%), radial-gradient(700px 380px at 100% 100%, rgba(19,182,245,.25), transparent 60%), var(--navy); color: #fff; }
#ready .pnl-deco { display: block; }
#ready .pnl-deco::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); animation: dotsDrift 30s linear infinite; }
#ready .pnl-deco::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); box-shadow: 0 0 0 90px rgba(255,255,255,.02); }
@keyframes dotsDrift { to { background-position: 26px 260px; } }
#ready .section__head h2 { color: #fff; }
#ready .section__sub, #ready .eyebrow { color: rgba(255,255,255,.75); }
#ready .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }
#ready .chip small { color: rgba(255,255,255,.6); }
#ready .chip:hover { border-color: rgba(255,255,255,.4); }
#ready .chip[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }
#ready .chip[aria-selected="true"] small { color: var(--navy); }
#ready .rcard { border-color: transparent; box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); }
#ready .more__btn { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
#ready .pnl-badge { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 5px 11px 5px 9px; border-radius: 99px; background: rgba(125,255,176,.12); border: 1px solid rgba(125,255,176,.35); color: #b6ffd3; font: 800 .7rem/1 var(--font); letter-spacing: .08em; vertical-align: 2px; }
#ready .pnl-badge i { width: 8px; height: 8px; border-radius: 50%; background: #3ee68a; box-shadow: 0 0 0 0 rgba(62,230,138,.7); animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse { to { box-shadow: 0 0 0 10px rgba(62,230,138,0); } }

/* ---------- 2. SOLD OUT: Arsip terjual ---------- */
#sold { background: radial-gradient(800px 400px at 100% 0%, rgba(247,147,30,.22), transparent 60%), linear-gradient(180deg, #fff6ec 0%, #fffaf4 60%, #fff 100%); }
#sold .pnl-deco { display: block; }
.pnl-ticker { position: absolute; left: -10%; right: -10%; top: 30px; transform: rotate(-6deg); display: grid; gap: 18px; opacity: 1; }
.pnl-ticker div { display: flex; width: max-content; animation: soldSlide 70s linear infinite; }
.pnl-ticker div:nth-child(2) { animation-direction: reverse; animation-duration: 90s; }
.pnl-ticker span { font: 800 clamp(4rem, 11vw, 9rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 2px rgba(226,86,12,.14); white-space: nowrap; padding-right: .5em; letter-spacing: -.02em; }
@keyframes soldSlide { to { transform: translateX(-50%); } }
#sold .section__head h2 { color: #3b1d06; }
#sold .eyebrow { color: #a8530f; }
#sold .chip[aria-selected="true"] { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
#sold .chip[aria-selected="true"] small { color: #ffe0c2; }
#sold .chip { border-color: #f3dcc4; }
#sold .scard { box-shadow: 0 1px 0 #f3dcc4, 0 0 0 1px #f3dcc4, 0 18px 34px -26px rgba(120,50,0,.45); }
#sold .pnl-badge { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 14px; padding: 8px 14px; border-radius: 14px; background: #fff; border: 1px solid #f3dcc4; box-shadow: 0 10px 24px -16px rgba(120,50,0,.5); font: 600 .84rem var(--font); color: #7a4a22; }
#sold .pnl-badge b { font: 800 1.5rem/1 var(--font-display); color: var(--orange-600); }

/* ---------- 3. CARI UNIT: Radar ---------- */
#cari { background: radial-gradient(900px 500px at 0% 100%, #2d82f5 0%, transparent 60%), linear-gradient(135deg, #1668e3 0%, #0f4fc0 100%); color: #fff; }
#cari .pnl-deco { display: block; }
.pnl-radar { position: absolute; right: 18%; top: 50%; width: 0; height: 0; }
.pnl-radar span { position: absolute; left: -110px; top: -110px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(255,255,255,.28); opacity: 0; animation: radarRing 4.8s cubic-bezier(.2,.6,.3,1) infinite; }
.pnl-radar span:nth-child(2) { animation-delay: 1.2s; } .pnl-radar span:nth-child(3) { animation-delay: 2.4s; } .pnl-radar span:nth-child(4) { animation-delay: 3.6s; }
.pnl-radar span:nth-child(odd) { border-color: rgba(247,147,30,.45); }
@keyframes radarRing { 0% { transform: scale(.3); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(4.6); opacity: 0; } }
.pnl-radar em { position: absolute; left: -380px; top: -380px; width: 760px; height: 760px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,255,255,.18), transparent 22%); animation: sweep 6s linear infinite; -webkit-mask-image: radial-gradient(circle, #000 0 60%, transparent 70%); mask-image: radial-gradient(circle, #000 0 60%, transparent 70%); }
@keyframes sweep { to { transform: rotate(360deg); } }
.pnl-blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); animation: blip 6s ease-in-out infinite; opacity: 0; }
@keyframes blip { 0%, 60%, 100% { opacity: 0; transform: scale(.5); } 66% { opacity: 1; transform: scale(1.2); } 80% { opacity: .8; transform: scale(1); } }
#cari .section__sub, #cari .eyebrow, #cari .buy__perks { color: rgba(255,255,255,.85); }
#cari h2 { color: #fff; }
#cari .buy__perks li { color: #fff; }
#cari .buy__perks li::before { background-color: var(--orange); }
#cari .eyebrow .dot { background: var(--orange); box-shadow: 0 0 0 4px rgba(247,147,30,.3); }
#cari .buy__form { box-shadow: 0 40px 80px -30px rgba(5,15,45,.65); }

/* ---------- 4. TESTIMONI: Panggung ---------- */
#testimoni { background: radial-gradient(700px 520px at 50% -10%, rgba(75,155,255,.45), transparent 65%), linear-gradient(180deg, #0d1a3a, #0a1430); color: #fff; }
#testimoni .pnl-deco { display: block; }
.pnl-spot { position: absolute; top: -10%; width: 40%; height: 120%; transform-origin: 50% 0; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 70%); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); filter: blur(8px); animation: spotSway 9s ease-in-out infinite alternate; }
.pnl-spot--a { left: 8%; --a: -12deg; --b: 8deg; } .pnl-spot--b { right: 8%; --a: 10deg; --b: -8deg; animation-duration: 11s; background: linear-gradient(180deg, rgba(247,147,30,.18), transparent 70%); }
@keyframes spotSway { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
.pnl-star { position: absolute; width: var(--z); height: var(--z); background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twk var(--d) ease-in-out infinite; animation-delay: var(--dl); opacity: 0; }
.pnl-star--o { background: #ffc46b; }
@keyframes twk { 0%, 100% { opacity: 0; transform: scale(.3); } 50% { opacity: .9; transform: scale(1) rotate(45deg); } }
#testimoni .section__head h2 { color: #fff; }
#testimoni .section__sub, #testimoni .eyebrow { color: rgba(255,255,255,.75); }
#testimoni .testi__item { box-shadow: 0 20px 40px -18px rgba(0,0,0,.8); }
#testimoni .pnl-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font: 600 .84rem var(--font); color: rgba(255,255,255,.85); }
#testimoni .pnl-badge .stars { color: #ffc46b; letter-spacing: 2px; font-size: 1rem; }
#testimoni .pnl-badge b { color: #fff; font: 800 1.05rem var(--font-display); }

/* ---------- 5. FAQ: Ruang tanya ---------- */
#faq { background: radial-gradient(800px 420px at 0% 0%, rgba(22,104,227,.14), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(247,147,30,.12), transparent 60%), linear-gradient(180deg, #eef4ff, #f8fbff); }
#faq .pnl-deco { display: block; }
.pnl-bub { position: absolute; display: grid; place-items: center; width: var(--z); height: var(--z); border-radius: 50% 50% 50% 12%; background: #fff; color: var(--blue); font: 800 calc(var(--z) * .45)/1 var(--font-display); box-shadow: 0 14px 30px -16px rgba(13,26,58,.45); opacity: .55; animation: bubFloat var(--d) ease-in-out infinite; animation-delay: var(--dl); }
.pnl-bub--o { color: var(--orange-600); border-radius: 50% 50% 12% 50%; }
@keyframes bubFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-22px) rotate(4deg); } }
#faq .faq details { box-shadow: 0 10px 24px -20px rgba(13,26,58,.5); }
#faq .pnl-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 16px; border-radius: 16px; background: var(--navy); color: #fff; font: 600 .86rem var(--font); box-shadow: 0 14px 30px -16px rgba(13,26,58,.6); }
#faq .pnl-badge i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy); font-style: normal; font-weight: 800; }
#faq .pnl-badge a { color: #ffc46b; }

@media (max-width: 760px) {
  .pnl-radar { right: 50%; top: 18%; }
  .pnl-bub { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
  .pnl-deco *, .pnl-deco::before, .pnl-badge i { animation: none !important; }
}


/* =========================================================
   MODE GELAP / TERANG
   - Default mengikuti pengaturan HP/laptop pengunjung (prefers-color-scheme)
   - Pilihan manual disimpan di browser pengunjung (localStorage)
   - Aktif lewat atribut <html data-theme="dark">
   ========================================================= */

/* ---------- tombol ganti mode (di menu atas) ---------- */
.theme-btn {
  position: relative; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--blue-50); color: var(--navy);
  transition: background .3s, color .3s, transform .15s;
}
.theme-btn:hover { transform: translateY(-1px); }
.theme-btn:active { transform: scale(.92); }
.theme-btn svg { position: absolute; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s cubic-bezier(.3,1.5,.5,1), opacity .3s; }
.theme-btn .i-moon { opacity: 1; transform: none; }
.theme-btn .i-sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="dark"] .theme-btn .i-moon { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="dark"] .theme-btn .i-sun { opacity: 1; transform: none; }
/* tampilan menu HP (≤1080px): tombol mode di kanan, sebelah tombol menu */
@media (max-width: 1080px) {
  .theme-btn { margin-left: auto; }
  .nav__toggle { margin-left: 8px !important; }
}
/* transisi halus saat ganti mode (hanya sebentar, supaya tidak memberatkan) */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease !important;
}

/* =========================================================
   WARNA MODE GELAP
   ========================================================= */
[data-theme="dark"] {
  color-scheme: dark;
  --d-bg: #0a1430;
  --d-surface: #13213f;
  --d-surface-2: #1a2b52;
  --d-line: rgba(255,255,255,.1);
  --d-ink: #e6edfb;
  --d-muted: #9fb0cc;
  --d-link: #7db4ff;
  --ink: var(--d-ink);
  --muted: var(--d-muted);
  --line: var(--d-line);
  --bg: var(--d-bg);
  --tint: #0f1c3b;
  --blue-50: rgba(75,155,255,.14);
  --shadow: 0 18px 40px -18px rgba(0,0,0,.75);
}
[data-theme="dark"] body { background: var(--d-bg); color: var(--d-ink); }
[data-theme="dark"] h2, [data-theme="dark"] h3 { color: #fff; }
[data-theme="dark"] a:not([class]) { color: var(--d-link); } /* hanya tautan teks, bukan tombol */

/* menu atas & tab katalog */
[data-theme="dark"] .nav { background: rgba(10,20,48,.82); }
[data-theme="dark"] .nav.is-scrolled { border-color: var(--d-line); box-shadow: 0 6px 20px -14px rgba(0,0,0,.9); }
[data-theme="dark"] .brand__text b, [data-theme="dark"] .brand__text small { color: #e6edfb; }
[data-theme="dark"] .nav__links a { color: var(--d-ink); }
[data-theme="dark"] .nav__links a:hover, [data-theme="dark"] .nav__links a.is-active { background: rgba(75,155,255,.16); color: #9cc6ff; }
[data-theme="dark"] .nav__toggle { background: rgba(255,255,255,.08); }
[data-theme="dark"] .nav__toggle span { background: #e6edfb; }
[data-theme="dark"] .theme-btn { background: rgba(255,255,255,.08); color: #ffc46b; }
@media (max-width: 1080px) { [data-theme="dark"] .nav__links { background: var(--d-surface); border-color: var(--d-line); } }
[data-theme="dark"] .appbar { background: rgba(10,20,48,.92); border-color: var(--d-line); }
[data-theme="dark"] .appbar__tab { color: var(--d-muted); }
[data-theme="dark"] .appbar__tab[aria-selected="true"] { color: #fff; }
[data-theme="dark"] .appbar__tab b { background: rgba(255,255,255,.1); color: #fff; }

/* tombol */
[data-theme="dark"] .btn--primary { color: #fff; }
[data-theme="dark"] .btn--orange { color: var(--navy); }
[data-theme="dark"] .btn--white { color: var(--blue); }
[data-theme="dark"] .btn--outline { color: #cfe0ff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }
[data-theme="dark"] .btn--outline:hover { box-shadow: inset 0 0 0 1.5px #7db4ff; }
[data-theme="dark"] .btn--ig-soft { background: var(--d-surface-2); color: #fff; box-shadow: inset 0 0 0 1.5px var(--d-line); }
[data-theme="dark"] .more__btn { background: var(--d-surface); color: #fff; }

/* chip filter */
[data-theme="dark"] .chip { background: var(--d-surface); border-color: var(--d-line); color: var(--d-ink); }
[data-theme="dark"] .chip small { color: var(--d-muted); }
[data-theme="dark"] .chip[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--navy); }
[data-theme="dark"] .chip[aria-selected="true"] small { color: var(--orange-600); }

/* kartu ready stock */
[data-theme="dark"] .rcard { background: var(--d-surface); border-color: var(--d-line); }
[data-theme="dark"] .rcard h3 { color: #fff; }
[data-theme="dark"] .rcard__cat, [data-theme="dark"] .scard__cat { color: #7db4ff !important; }
[data-theme="dark"] .rcard ul { color: #c9d5ea; }
[data-theme="dark"] .rcard__price b { background-image: linear-gradient(100deg, #fff 40%, var(--orange) 50%, #fff 60%); }

/* kartu sold out */
[data-theme="dark"] .scard { background: var(--d-surface); box-shadow: 0 0 0 1px var(--d-line); }
[data-theme="dark"] .scard__body b { color: #fff; }
[data-theme="dark"] .scard__post { color: var(--d-link); }
[data-theme="dark"] .scard__qty { background: var(--d-surface-2); color: #fff; }

/* panel Sold Out: arsip terjual versi malam */
[data-theme="dark"] #sold { background: radial-gradient(800px 400px at 100% 0%, rgba(247,147,30,.22), transparent 60%), linear-gradient(180deg, #1e140c 0%, #120d0b 70%, var(--d-bg) 100%); }
[data-theme="dark"] #sold .section__head h2 { color: #ffe9d4; }
[data-theme="dark"] #sold .eyebrow { color: #ffb36b; }
[data-theme="dark"] #sold .pnl-ticker span { -webkit-text-stroke-color: rgba(255,150,60,.13); }
[data-theme="dark"] #sold .chip { border-color: rgba(255,180,110,.18); background: rgba(255,255,255,.04); }
[data-theme="dark"] #sold .chip[aria-selected="true"] { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
[data-theme="dark"] #sold .scard { box-shadow: 0 0 0 1px rgba(255,180,110,.14), 0 18px 34px -24px rgba(0,0,0,.9); background: #1c1612; }
[data-theme="dark"] #sold .pnl-badge { background: #241a12; border-color: rgba(255,180,110,.2); color: #f3d2b0; }

/* panel FAQ: ruang tanya versi malam */
[data-theme="dark"] #faq { background: radial-gradient(800px 420px at 0% 0%, rgba(22,104,227,.25), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(247,147,30,.14), transparent 60%), var(--d-bg); }
[data-theme="dark"] #faq .pnl-bub { background: var(--d-surface-2); color: #7db4ff; box-shadow: 0 14px 30px -16px rgba(0,0,0,.9); }
[data-theme="dark"] #faq .pnl-bub--o { color: #ffb36b; }
[data-theme="dark"] #faq .pnl-badge { background: var(--d-surface-2); box-shadow: 0 0 0 1px var(--d-line); }
[data-theme="dark"] .faq details { background: var(--d-surface); border-color: var(--d-line); }
[data-theme="dark"] .faq summary { color: #fff; }
[data-theme="dark"] .faq details[open] summary { color: #9cc6ff; }

/* form (jual & cari unit) */
[data-theme="dark"] .sell__form { background: var(--d-surface); color: var(--d-ink); }
[data-theme="dark"] .buy__form { border-color: var(--d-line); }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { background: #0d1934; border-color: rgba(255,255,255,.14); color: #fff; }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field select:focus, [data-theme="dark"] .field textarea:focus { background: #0f1e3e; border-color: #4b9bff; }
[data-theme="dark"] .field input::placeholder, [data-theme="dark"] .field textarea::placeholder { color: #6f82a3; }
[data-theme="dark"] .field option, [data-theme="dark"] .field optgroup { background: #13213f; color: #fff; }
[data-theme="dark"] .seg span { border-color: rgba(255,255,255,.14); color: var(--d-ink); }
[data-theme="dark"] .seg input:checked + span { color: #9cc6ff; }
[data-theme="dark"] .seg__pill { background: rgba(75,155,255,.18); border-color: #4b9bff; }
[data-theme="dark"] .fprog__bar { background: rgba(255,255,255,.08); }

/* testimoni, lightbox, chat */
[data-theme="dark"] .testi__nav { background: var(--d-surface-2); color: #fff; }
[data-theme="dark"] .chatbox { background: var(--d-surface); color: var(--d-ink); }
[data-theme="dark"] .chatbox h3 { color: #fff; }
[data-theme="dark"] .chatbox__msg { background: #12301f; color: #d8f5e2; }
[data-theme="dark"] .chatbox__close { background: var(--d-surface-2); color: #fff; }

/* footer: garis pemisah supaya tidak menyatu dengan latar */
[data-theme="dark"] .footer { border-top: 1px solid var(--d-line); background: #081027; }

/* =========================================================
   TESTIMONI: tombol kaca transparan + 3 lampu sorot
   (sorot tengah terang jatuh di foto tengah, 2 sorot samping redup)
   ========================================================= */
#testimoni .testi__nav {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.6);
  display: grid; place-items: center; font-size: 0;
  transition: background .2s, border-color .2s, transform .15s;
}
#testimoni .testi__nav::before { content: ""; width: 12px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(135deg); margin-left: 4px; }
#testimoni .testi__nav--next::before { transform: rotate(-45deg); margin: 0 4px 0 0; }
#testimoni .testi__nav:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
#testimoni .testi__nav:active { transform: scale(.92); }
@media (max-width: 560px) { #testimoni .testi__nav { display: none; } } /* di HP cukup geser pakai jari */

#testimoni .pnl-spot--a, #testimoni .pnl-spot--b { opacity: .55; }
.spot-lamp { position: absolute; left: 50%; top: -18px; width: 120px; height: 36px; margin-left: -60px; border-radius: 0 0 60px 60px; background: radial-gradient(ellipse at 50% 0, #fff 0%, rgba(255,255,255,.6) 30%, transparent 70%); filter: blur(4px); }
.spot-c {
  position: absolute; left: 50%; top: -6%; width: min(560px, 70%); height: var(--beam-h, 95%);
  transform: translateX(-50%); transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(190,220,255,.16) 45%, rgba(190,220,255,.04) 80%, transparent 100%);
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%); filter: blur(6px);
  animation: beamSway 8s ease-in-out infinite alternate, beamFlicker 5s ease-in-out infinite;
}
.spot-c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 70%); clip-path: polygon(47% 0, 53% 0, 72% 100%, 28% 100%); filter: blur(10px); }
@keyframes beamSway { from { transform: translateX(-50%) rotate(-2.5deg); } to { transform: translateX(-50%) rotate(2.5deg); } }
@keyframes beamFlicker { 0%, 100% { opacity: 1; } 47% { opacity: .9; } 50% { opacity: .78; } 53% { opacity: .95; } }
.spot-dust { position: absolute; left: 50%; top: 0; width: min(420px, 60%); height: var(--beam-h, 95%); transform: translateX(-50%); pointer-events: none; overflow: hidden; }
.spot-dust i { position: absolute; bottom: -10px; width: var(--z); height: var(--z); border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 0 6px rgba(255,255,255,.8); animation: dustUp var(--d) linear infinite; animation-delay: var(--dl); opacity: 0; }
@keyframes dustUp { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .6; } 100% { transform: translate(var(--dx), -90vh); opacity: 0; } }
/* cahaya di belakang foto tengah + lingkaran cahaya di "lantai" */
.testi { position: relative; }
.testi__track { position: relative; z-index: 1; }
.spot-halo { position: absolute; left: 50%; top: 50%; width: 360px; height: 520px; transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(120,180,255,.45), rgba(120,180,255,.12) 60%, transparent); filter: blur(20px); animation: haloPulse 4s ease-in-out infinite; }
.spot-halo::after { content: ""; position: absolute; left: 50%; bottom: -40px; width: 340px; height: 60px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent); filter: blur(6px); }
@keyframes haloPulse { 50% { opacity: .75; transform: translate(-50%, -50%) scale(.94); } }
/* foto yang sedang di tengah: diterangi lampu */
.testi__item.is-center { box-shadow: 0 0 0 2px rgba(255,255,255,.55), 0 0 50px -6px rgba(150,200,255,.75), 0 30px 60px -24px rgba(0,0,0,.8); }
.testi__item.is-center img { filter: brightness(1.08) contrast(1.03); }
@media (max-width: 560px) { .spot-c { width: 90%; } .spot-halo { width: 260px; height: 420px; } }
@media (prefers-reduced-motion: reduce) { .spot-c, .spot-halo, .spot-dust i { animation: none !important; } }

/* =========================================================
   FOTO HERO BERGANTI (lihat main.js)
   ========================================================= */
.pcard img { transition: opacity .35s ease; }
.pcard.is-swapping img { opacity: 0; }
