/* ============================================================
   TOQOPIN — style.css
   Dark premium · 3D interaktif · mobile & desktop
   ============================================================ */

:root {
  --bg: #0b100d;
  --bg-alt: #10160f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f7f7f4;
  --text-dim: #9fb0a5;
  --accent: #23d06e;
  --accent-2: #16a355;
  --accent-3: #ffc933;
  --grad: linear-gradient(120deg, #35e087, #17a857);
  --radius: 14px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* aksen judul: miring serif + sapuan stabilo di belakang kata
   (bukan underline — underline menabrak baris di bawahnya) */
.grad-text {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
  padding: 0 0.08em;
  background: linear-gradient(transparent 64%, rgba(255, 201, 51, 0.32) 64%, rgba(255, 201, 51, 0.32) 94%, transparent 94%);
}
html.light .grad-text {
  background: linear-gradient(transparent 64%, rgba(255, 183, 52, 0.35) 64%, rgba(255, 183, 52, 0.35) 94%, transparent 94%);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-size: 44px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: spinY 1.6s linear infinite;
}
@keyframes spinY { to { transform: rotateY(360deg); } }
.preloader-bar {
  width: 160px; height: 3px; border-radius: 99px;
  background: var(--surface-2); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 40%;
  background: var(--grad); border-radius: 99px;
  animation: loadbar 1.1s var(--ease) infinite;
}
@keyframes loadbar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9990;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px; background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(35, 208, 110, 0.5);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.hovering {
  width: 58px; height: 58px;
  border-color: rgba(22, 163, 85, 0.8);
  background: rgba(22, 163, 85, 0.08);
}
@media (hover: none), (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9980;
  height: 3px; width: 0;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(35, 208, 110, 0.6);
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 20px 0;
  transition: padding 0.4s var(--ease);
}
/* Efek kaca lewat ::before — backdrop-filter di .nav sendiri membuat
   overlay .nav-links (position:fixed) ikut terkurung setinggi navbar */
.nav::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 16, 13, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav.scrolled { padding: 10px 0; }
.nav.scrolled::before { opacity: 1; }
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
  letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px;
}
.nav-logo-mark {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  display: inline-block;
  animation: spinY 6s linear infinite;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn) {
  font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  position: relative; transition: color 0.3s;
}
.nav-links > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; background: var(--grad); border-radius: 2px;
  transition: width 0.35s var(--ease);
}
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-links > a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 12px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
  will-change: transform;
}
.btn-primary {
  background: var(--accent);
  color: #0a130e;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
  background: var(--accent-3);
}
.btn-ghost {
  border: 1.5px solid var(--accent);
  color: var(--text);
  background: var(--surface-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(35,208,110,0.12); border-color: var(--accent); color: var(--accent); }
.btn-ghost .arrow { transition: transform 0.3s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(5px); }
.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: rgba(35, 208, 110, 0.06);
  justify-content: center;
  font-weight: 700;
}
.btn-outline:hover { background: var(--accent); color: #0a130e; }
.btn-nav { padding: 10px 22px; font-size: 13.5px; background: var(--accent); color: #0a130e; }
.btn-lg { padding: 18px 38px; font-size: 17px; }
.btn .mdi { font-size: 21px; line-height: 1; }
.btn-lg .mdi { font-size: 24px; }
.footer-col a .mdi { margin-right: 6px; color: var(--accent); }

/* ---------- Hero ----------
   .hero tinggi 190svh → .hero-pin nempel (sticky) selama ±90svh scroll
   pertama. Selama fase itu JS menggeser nebula ke kiri & teks ke kanan;
   halaman baru benar-benar turun setelah transisi selesai. */
.hero {
  position: relative;
  height: 190vh;
  height: 190svh;
}
.hero-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  align-items: safe center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.orb-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px);
  z-index: 0; pointer-events: none;
}
.hero-glow-1 {
  width: 520px; height: 520px; top: -140px; right: -120px;
  background: radial-gradient(circle, rgba(22, 163, 85, 0.22), transparent 65%);
}
.hero-glow-2 {
  width: 460px; height: 460px; bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(35, 208, 110, 0.15), transparent 65%);
}

.hero-content {
  position: relative; z-index: 3;
  text-align: center; max-width: 860px;
  will-change: transform;
}
/* badge = stiker kuning miring yang playful (bukan pill kaca) */
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.2px;
  color: #22201c;
  background: var(--accent-3);
  border: 2px solid #22201c;
  padding: 8px 16px; border-radius: 10px;
  margin-bottom: 28px;
  transform: rotate(-1.6deg);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease);
}
.hero-badge:hover { transform: rotate(0.5deg) scale(1.03); }
.hero-badge .pulse-dot { background: #22201c; }
.hero-badge .pulse-dot::after { display: none; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); position: relative;
}
.pulse-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
  font-size: clamp(38px, 6.5vw, 72px);
  font-weight: 600; letter-spacing: -0.5px;
  margin-bottom: 26px;
}
.line-mask { display: block; overflow: hidden; }
.line {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease) forwards;
}
.line-mask:nth-child(1) .line { animation-delay: 0.35s; }
.line-mask:nth-child(2) .line { animation-delay: 0.5s; }
.line-mask:nth-child(3) .line { animation-delay: 0.65s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-sub {
  font-size: clamp(15.5px, 2vw, 18.5px);
  color: var(--text-dim);
  max-width: 620px; margin: 0 auto 38px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(18px, 4vw, 44px);
}
.stat { text-align: center; }
.stat-num, .stat-suffix {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-suffix { font-size: clamp(15px, 2vw, 20px); margin-left: 3px; }
.stat p { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; letter-spacing: 0.3px; }
.stat-divider { width: 1px; height: 44px; background: var(--border); }

/* Hint scroll di sisi kanan — memudar & hilang sendiri saat transisi hero selesai (JS) */
.hero-scroll-hint {
  position: absolute; right: 26px; top: 50%; left: auto; bottom: auto;
  transform: translateY(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.hero-scroll-hint p {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.mouse-icon {
  width: 24px; height: 38px; border: 1.5px solid var(--text-dim);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.mouse-icon span {
  width: 3px; height: 8px; border-radius: 3px; background: var(--accent);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 130px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: clamp(44px, 6vw, 70px); }
.section-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 600; letter-spacing: -0.4px;
  max-width: 720px; margin: 0 auto;
}
.section-sub {
  color: var(--text-dim); margin-top: 16px; font-size: 16px;
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  transition: border-color 0.4s, background 0.4s, transform 0.12s ease;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%),
              rgba(35, 208, 110, 0.08), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(35, 208, 110, 0.35); background: var(--surface-2); }
.card-icon { margin-bottom: 20px; transform: translateZ(34px); }
.card-icon .mdi {
  font-size: 40px; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.card h3 {
  font-size: 19px; font-weight: 700; margin-bottom: 10px;
  transform: translateZ(26px);
}
.card p {
  font-size: 14.5px; color: var(--text-dim);
  transform: translateZ(18px);
}

/* ---------- Steps ---------- */
.steps {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.step {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 26px; position: relative;
  padding-bottom: 52px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 40px; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}
.step-line {
  position: absolute; left: 44px; top: 52px; bottom: 8px;
  width: 1.5px;
  background: linear-gradient(to bottom, rgba(35,208,110,0.5), rgba(22,163,85,0.15));
}
.step-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step-body p { color: var(--text-dim); font-size: 15px; max-width: 520px; }
.step-ico {
  font-size: 20px; margin-right: 6px; vertical-align: -2px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Showcase ---------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  max-width: 960px; margin: 0 auto;
}
.show-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.show-card:hover {
  border-color: rgba(35, 208, 110, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.show-browser {
  position: relative;
  background: #141a16;
  border-bottom: 1px solid var(--border);
}
.show-browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.show-browser-bar > span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.show-browser-bar > span:nth-child(1) { background: #ff5f57; }
.show-browser-bar > span:nth-child(2) { background: #febc2e; }
.show-browser-bar > span:nth-child(3) { background: #28c840; }
.show-url {
  flex: 1; margin-left: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 11px; color: var(--text-dim);
  padding: 4px 12px; max-width: 220px;
}
.show-screen { padding: 18px; min-height: 190px; }

/* skeleton mockup — toko */
.sk-hero {
  height: 64px; border-radius: 10px;
  background: linear-gradient(120deg, rgba(35,208,110,0.22), rgba(22,163,85,0.28));
  margin-bottom: 14px;
  position: relative; overflow: hidden;
}
.sk-hero::after, .sk-visual::after, .sk-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.09) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 2.6s ease-in-out infinite;
}
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
.sk-row { display: flex; gap: 12px; }
.sk-product { flex: 1; }
.sk-img {
  height: 52px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
  position: relative; overflow: hidden;
}
.sk-line {
  height: 7px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 6px;
}
.sk-line.short { width: 55%; background: rgba(35, 208, 110, 0.3); }
.sk-line.long { width: 85%; height: 10px; background: rgba(255, 255, 255, 0.18); }

/* skeleton mockup — compro */
.sk-nav {
  height: 14px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}
.sk-split { display: flex; gap: 14px; align-items: stretch; }
.sk-col { flex: 1.2; display: flex; flex-direction: column; justify-content: center; }
.sk-btn {
  width: 74px; height: 20px; border-radius: 99px;
  background: linear-gradient(120deg, rgba(35,208,110,0.5), rgba(22,163,85,0.5));
  margin-top: 8px;
}
.sk-visual {
  flex: 1; min-height: 110px; border-radius: 10px;
  background: linear-gradient(160deg, rgba(255,201,51,0.22), rgba(22,163,85,0.3));
  position: relative; overflow: hidden;
}

.live-badge {
  position: absolute; top: 46px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(11, 16, 13, 0.75);
  border: 1px solid rgba(35, 208, 110, 0.4);
  padding: 5px 11px; border-radius: 99px;
  backdrop-filter: blur(6px);
}
.show-body { padding: 28px 30px 32px; }
.show-body h3 {
  font-size: 21px; font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.show-body h3 .mdi {
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.show-body > p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 18px; }
.show-list {
  list-style: none; margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 9px;
}
.show-list li {
  font-size: 14px; padding-left: 26px; position: relative;
}
.show-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 17px; height: 17px; border-radius: 50%;
  background: rgba(35, 208, 110, 0.12);
  color: var(--accent);
  font-size: 10.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* daftar section & fitur produk (chip kecil) */
.show-chips { margin-bottom: 22px; }
.show-chips b {
  display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin: 12px 0 7px;
}
.show-chips span {
  display: inline-block; font-size: 11.5px; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 99px;
  padding: 3px 10px; margin: 0 4px 6px 0;
  background: var(--surface);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  max-width: 900px; margin: 0 auto;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 42px 36px;
  display: flex; flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
}
.price-card:hover { border-color: rgba(35, 208, 110, 0.3); }
.price-featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 24px 70px rgba(22, 163, 85, 0.18);
}
.price-ribbon {
  position: absolute; top: 20px; right: -42px;
  transform: rotate(38deg);
  background: var(--grad); color: #0a130e;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 48px;
}
.price-head h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.price-desc { color: var(--text-dim); font-size: 14px; }
.price-tag { margin: 26px 0; }
.price-label {
  display: block; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px;
}
.price-value {
  font-family: var(--font-head); font-size: 34px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-value small {
  font-size: 14px; font-weight: 500;
  -webkit-text-fill-color: var(--text-dim);
}
.price-list {
  list-style: none; margin-bottom: 34px; flex: 1;
  display: flex; flex-direction: column; gap: 13px;
}
.price-list li {
  font-size: 14.5px; padding-left: 30px; position: relative;
}
.price-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(35, 208, 110, 0.12);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.price-list li.muted { color: var(--text-dim); }
.price-list li.muted::before {
  content: 'ℹ';
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-dim);
}
.pricing-note {
  text-align: center; margin-top: 40px;
  color: var(--text-dim); font-size: 14.5px;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(35, 208, 110, 0.35); }
.faq-item summary {
  padding: 22px 56px 22px 26px;
  cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  position: relative;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 300; color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 26px 24px;
  color: var(--text-dim); font-size: 14.5px;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: clamp(90px, 12vw, 150px) 0;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 85, 0.16), rgba(35, 208, 110, 0.06) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.12); }
}
.cta-box { text-align: center; position: relative; z-index: 2; }
.cta-box h2 {
  font-size: clamp(30px, 4.8vw, 52px);
  font-weight: 600; letter-spacing: -0.5px;
  max-width: 680px; margin: 0 auto 18px;
}
.cta-box p { color: var(--text-dim); font-size: 17px; margin-bottom: 38px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 50px;
}
.footer-brand p {
  color: var(--text-dim); font-size: 14px;
  margin-top: 14px; max-width: 300px;
}
.footer-col h4 {
  font-size: 14px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 18px; color: var(--text);
}
.footer-col a {
  display: block; color: var(--text-dim);
  font-size: 14px; margin-bottom: 11px;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 22px;
  font-size: 13px; color: var(--text-dim);
}

/* ---------- Floating WA ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: waBob 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
}
@keyframes waBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Reveal on scroll (blur + rise + settle) ---------- */
.reveal {
  opacity: 0;
  translate: 0 44px;
  scale: 0.98;
  filter: blur(10px);
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease),
              scale 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .shape-cube { width: 70px; left: 4%; }
  .shape-ring { width: 100px; }
  .shape-icosa { width: 54px; }
  .shape-pyramid { width: 60px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-links {
    position: fixed; inset: 0;
    background: #0b100d;
    flex-direction: column; justify-content: center;
    gap: 34px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    z-index: 1000;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links > a:not(.btn) { font-size: 22px; }
  body.menu-open { overflow: hidden; }

  /* HP: pin lebih pendek — nebula naik ke atas, teks turun & rata kiri (JS) */
  .hero { height: 165vh; height: 165svh; }
  .hero-pin { padding-top: 100px; }
  .hero-stats { gap: 14px; }
  .hero-scroll-hint { right: 10px; }
  .stat p { font-size: 11px; }

  .step { grid-template-columns: 62px 1fr; gap: 18px; }
  .step-num { font-size: 30px; }
  .step-line { left: 30px; top: 44px; }

  .price-card { padding: 34px 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}

/* Reduce-motion dihormati, KECUALI html.fx-force (override ?fx=on dari JS —
   penghemat baterai Android sering menyalakan reduce-motion diam-diam). */
@media (prefers-reduced-motion: reduce) {
  html:not(.fx-force) *,
  html:not(.fx-force) *::before,
  html:not(.fx-force) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html:not(.fx-force) { scroll-behavior: auto; }
  html:not(.fx-force) .hero { height: auto; min-height: 100svh; }
  html:not(.fx-force) .hero-pin { position: relative; height: auto; min-height: 100svh; }
}

/* Browser lama tanpa properti `translate` terpisah: reveal pakai transform */
@supports not (translate: 0px) {
  .reveal {
    transform: translateY(44px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .reveal.visible { transform: none; }
}

/* ============================================================
   V4 — Deck kartu 3D per-langkah + deko geometri scroll
   ============================================================ */

/* ---------- Deck: section nempel, kartu ganti per langkah scroll ----------
   Tinggi section = 110svh + (jumlah kartu × 58svh). Container sticky
   satu layar (MUAT); JS mengganti kartu aktif per langkah — kartu baru
   datang dari arah pemirsa, kartu lama mundur ke belakang lalu hilang. */
.deck-section {
  height: calc(110vh + var(--n, 4) * 58vh);
  height: calc(110svh + var(--n, 4) * 58svh);
}
.section.deck-section > .container {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 64px;
}
.deck-section .section-head { margin-bottom: 26px; }
.deck-section .cards-grid {
  display: grid; grid-template-columns: min(480px, 100%);
  justify-content: center; gap: 0;
  perspective: 1200px;
}
.deck-section .cards-grid > .card {
  grid-area: 1 / 1;
  min-height: 230px;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 1; translate: 0 0; scale: 1; filter: none;
  /* SOLID — kartu tidak tembus pandang */
  background: #0b1f13;
  border-color: rgba(35, 208, 110, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  transition: transform 0.55s var(--ease), opacity 0.4s ease;
  will-change: transform, opacity;
}
html.light .deck-section .cards-grid > .card {
  background: #ffffff;
  border-color: rgba(232, 64, 42, 0.18);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.08);
}
.deck-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.deck-dots span {
  width: 26px; height: 4px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: background 0.3s, width 0.3s;
}
.deck-dots span.on { background: var(--grad); width: 46px; }

/* ---------- Deko geometri per-section (bangun ruang ikut scroll) ----------
   Semua digerakkan var(--sp); warna ikut tema via var(--accent). */
.section::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
}
#keunggulan::after {            /* wajik kawat berputar */
  width: 150px; height: 150px; right: 4%; top: 13%;
  border: 2px dashed var(--accent); opacity: 0.28;
  transform: rotate(calc(45deg + var(--sp, 0) * 160deg));
}
#cara-kerja::after {            /* panel kaca miring */
  width: 34%; height: 120%; left: -14%; top: -10%;
  background: linear-gradient(115deg, var(--accent), transparent 62%);
  border-right: 1px solid var(--accent);
  opacity: 0.07;
  transform: skewX(-16deg) translateY(calc((var(--sp, 0.5) - 0.5) * -120px));
}
#integrasi::after {             /* cincin garis putus berputar */
  width: 190px; height: 190px; left: 3%; bottom: 9%;
  border: 2px dashed var(--accent-3); border-radius: 50%;
  opacity: 0.3;
  transform: rotate(calc(var(--sp, 0) * 220deg));
}
#kerjasama::after {             /* kotak membulat berputar balik */
  width: 120px; height: 120px; right: 6%; bottom: 15%;
  border: 2px solid var(--accent); border-radius: 18px;
  opacity: 0.22;
  transform: rotate(calc(var(--sp, 0) * -140deg));
}
#harga::after {                 /* panel kaca miring kanan */
  width: 30%; height: 130%; right: -12%; top: -15%;
  background: linear-gradient(245deg, var(--accent), transparent 65%);
  border-left: 1px solid var(--accent);
  opacity: 0.06;
  transform: skewX(14deg) translateY(calc((var(--sp, 0.5) - 0.5) * 140px));
}
#faq::after {                   /* wajik kecil */
  width: 90px; height: 90px; right: 8%; top: 18%;
  border: 2px dashed var(--accent); opacity: 0.24;
  transform: rotate(calc(var(--sp, 0) * 200deg));
}

/* ---------- Garis animasi di samping tombol CTA hero ---------- */
.hero-cta { position: relative; }
.hero-cta::before, .hero-cta::after {
  content: ''; position: absolute; top: 50%; margin-top: -1px;
  width: min(90px, 8vw); height: 2px;
  background: repeating-linear-gradient(90deg,
    var(--accent) 0 12px, transparent 12px 22px);
  opacity: 0.5;
  animation: fxDash 1.4s linear infinite;
}
.hero-cta::before { right: 100%; margin-right: 18px; }
.hero-cta::after { left: 100%; margin-left: 18px; animation-direction: reverse; }
@keyframes fxDash { to { background-position: 44px 0; } }

@media (max-width: 768px) {
  #keunggulan::after, #faq::after { width: 70px; height: 70px; }
  #integrasi::after { width: 110px; height: 110px; }
  #kerjasama::after { width: 70px; height: 70px; }
  .deck-section .cards-grid { grid-template-columns: min(480px, 100%); }
  .deck-section .cards-grid > .card { min-height: 200px; }
}

/* ============================================================
   V2 — Logo brand, tema terang, animasi section
   ============================================================ */

/* ---------- Logo ---------- */
.logo-badge {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.logo-svg {
  width: 20px; height: 23px;
  fill: #fff;
  filter: drop-shadow(0 0 8px rgba(22, 163, 85, 0.5));
  animation: logoSwing 5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes logoSwing {
  0%, 100% { transform: rotateY(0deg) translateY(0); }
  25%       { transform: rotateY(32deg) translateY(-1.5px); }
  75%       { transform: rotateY(-32deg) translateY(1px); }
}
.logo-badge-lg { width: 92px; height: 92px; }
.logo-badge-lg .logo-svg {
  width: 48px; height: 55px;
  animation: logoSwing 2.2s ease-in-out infinite;
}
.nav-logo { gap: 10px; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 19px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.theme-toggle:hover {
  border-color: rgba(35, 208, 110, 0.5);
  transform: rotate(40deg) scale(1.08);
}

/* ---------- TEMA TERANG ---------- */
html.light {
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-2: #ffffff;
  --border: rgba(17, 17, 17, 0.13);
  --text: #111111;
  --text-dim: #61615c;
  --accent: #e8402a;
  --accent-2: #111111;
  --accent-3: #ffb01f;
  --grad: linear-gradient(120deg, #f4502f, #cf2c15);
}
html.light body { background: var(--bg); }
html.light .nav::before {
  background: rgba(250, 250, 250, 0.8);
  border-bottom-color: var(--border);
}
html.light .logo-badge {
  background: linear-gradient(135deg, #f4502f, #b52a12);
  box-shadow: 0 6px 18px rgba(232, 64, 42, 0.35);
}
html.light .logo-svg { filter: none; }
html.light .btn-primary { color: #ffffff; box-shadow: 0 8px 26px rgba(232, 64, 42, 0.35); }
html.light .btn-nav { color: #ffffff; }
html.light .hero-glow-1 { background: radial-gradient(circle, rgba(207, 44, 21, 0.16), transparent 65%); }
html.light .hero-glow-2 { background: radial-gradient(circle, rgba(232, 64, 42, 0.13), transparent 65%); }
html.light .hero-badge { background: rgba(232, 64, 42, 0.08); border-color: rgba(232, 64, 42, 0.35); }
html.light .card::before {
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%),
              rgba(232, 64, 42, 0.09), transparent 45%);
}
html.light .card:hover { border-color: rgba(232, 64, 42, 0.35); }
html.light .price-featured {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--grad) border-box;
  box-shadow: 0 24px 60px rgba(207, 44, 21, 0.16);
}
html.light .price-ribbon, html.light .btn-primary { color: #fff; }
html.light .price-list li::before { background: rgba(232, 64, 42, 0.13); }
html.light .cursor-dot { background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
html.light .cursor-ring { border-color: rgba(207, 44, 21, 0.5); }
html.light .cursor-ring.hovering { border-color: rgba(232, 64, 42, 0.8); background: rgba(232, 64, 42, 0.08); }
html.light .cta-glow {
  background: radial-gradient(circle, rgba(207, 44, 21, 0.13), rgba(232, 64, 42, 0.05) 45%, transparent 70%);
}
html.light .scroll-progress { box-shadow: 0 0 14px rgba(232, 64, 42, 0.5); }
html.light .live-badge { color: #ff7a5c; }
html.light .show-card { background: #ffffff; }
html.light .faq-item, html.light .card, html.light .price-card:not(.price-featured) { background: #ffffff; }
html.light .theme-toggle { background: #ffffff; }
html.light .nav-links.open { background: #fafafa; }
html.light .preloader { background: var(--bg); }
html.light .preloader-logo.logo-badge-lg { background: linear-gradient(135deg, #f4502f, #b52a12); }
html.light .btn-ghost:hover { background: rgba(232, 64, 42, 0.07); }
html.light .btn-outline:hover { color: #fff; }
html.light .show-list li::before { background: rgba(232, 64, 42, 0.1); }
html.light .faq-item[open] { border-color: rgba(232, 64, 42, 0.35); }
html.light .step-line { background: linear-gradient(to bottom, rgba(232, 64, 42, 0.5), rgba(24, 24, 27, 0.15)); }
html.light .theme-toggle:hover { border-color: rgba(232, 64, 42, 0.5); }
html.light .logo-svg { filter: none; }

/* ---------- Latar section: noise halus + sapuan warna blur (tanpa grid) ---------- */
.section { overflow: hidden; overflow: clip; }   /* clip: sticky deck tetap jalan */
.section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 55% 45% at 72% 18%, rgba(35, 208, 110, 0.06), transparent 70%),
    radial-gradient(ellipse 45% 40% at 15% 85%, rgba(255, 201, 51, 0.05), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
}
html.light .section::before {
  background-image:
    radial-gradient(ellipse 55% 45% at 72% 18%, rgba(232, 64, 42, 0.05), transparent 70%),
    radial-gradient(ellipse 45% 40% at 15% 85%, rgba(28, 26, 23, 0.04), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
.section > .container { position: relative; z-index: 1; }

/* ---------- Section tag: chip berpendar ---------- */
.section-tag {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  padding: 7px 18px; border-radius: 99px;
}
.section-alt .section-tag {
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--grad) border-box;
}

/* ---------- Judul section: garis sapu ---------- */
.section-head h2 { position: relative; padding-bottom: 18px; }
.section-head h2::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 0; height: 3px; border-radius: 3px;
  background: var(--grad);
  transition: width 1.1s var(--ease) 0.35s;
}
.section-head.visible h2::after { width: 90px; }

/* ---------- Reveal variasi arah ---------- */
.reveal-l { transform: translateX(-48px); }
.reveal-r { transform: translateX(48px); }
.reveal-s { transform: scale(0.92); }
.reveal-l.visible, .reveal-r.visible { transform: translateX(0); }
.reveal-s.visible { transform: scale(1); }

/* ---------- Steps: garis menggambar sendiri ---------- */
.step .step-line {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s var(--ease) 0.5s;
}
.step.visible .step-line { transform: scaleY(1); }
.step .step-num { transition: text-shadow 0.5s; }
.step.visible .step-num { animation: numPop 0.7s var(--ease) 0.2s both; }
@keyframes numPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Card icon mengambang ---------- */
.card:hover .card-icon .mdi { animation: icoFloat 1.6s ease-in-out infinite; }
@keyframes icoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-6deg); }
}

/* ---------- Ribbon berkilau ---------- */
.price-ribbon { overflow: hidden; }
.price-ribbon::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: ribbonShine 3.2s ease-in-out infinite;
}
@keyframes ribbonShine { 55%, 100% { transform: translateX(100%); } }

/* ---------- Kartu unggulan berdenyut ---------- */
.price-featured { animation: featPulse 4s ease-in-out infinite; }
@keyframes featPulse {
  0%, 100% { box-shadow: 0 24px 70px rgba(22, 163, 85, 0.18); }
  50% { box-shadow: 0 24px 88px rgba(22, 163, 85, 0.34); }
}
html.light .price-featured { animation: featPulseLight 4s ease-in-out infinite; }
@keyframes featPulseLight {
  0%, 100% { box-shadow: 0 24px 60px rgba(207, 44, 21, 0.16); }
  50% { box-shadow: 0 24px 78px rgba(207, 44, 21, 0.3); }
}

/* ---------- Marquee: fade tepi ---------- */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

@media (max-width: 768px) {
  .theme-toggle { width: 52px; height: 52px; font-size: 24px; }
}

/* ============================================================
   V3 — Rata kiri pasca-transisi, glitch judul, scroll-alive
   ============================================================ */

/* ---------- Hero rata kiri setelah transisi (di-toggle JS) ---------- */
.hero-content.hero-align-left { text-align: left; }
.hero-content.hero-align-left .hero-sub { margin-left: 0; }
.hero-content.hero-align-left .hero-cta,
.hero-content.hero-align-left .hero-stats { justify-content: flex-start; }

/* ---------- Glitch judul hero (burst singkat, di-toggle JS) ---------- */
.hero-title .line { position: relative; }
.glitch-burst .line::before,
.glitch-burst .line::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; width: 100%;
  pointer-events: none;
}
.glitch-burst .line::before {
  color: var(--accent); -webkit-text-fill-color: var(--accent);
  animation: glitchA 0.4s steps(3, jump-none) both;
}
.glitch-burst .line::after {
  color: var(--accent-3); -webkit-text-fill-color: var(--accent-3);
  animation: glitchB 0.4s steps(3, jump-none) both;
}
/* skew di h1-nya (bukan .line) — kalau di .line, melepas kelas glitch
   me-reset animasi lineUp sehingga judul "pop up" ulang */
.hero-title.glitch-burst { animation: glitchSkew 0.4s steps(3, jump-none) both; }
@keyframes glitchA {
  0%   { clip-path: inset(0 0 62% 0);  transform: translate(-7px, -3px); opacity: 0.85; }
  33%  { clip-path: inset(24% 0 40% 0); transform: translate(5px, 2px); }
  66%  { clip-path: inset(52% 0 8% 0);  transform: translate(-4px, 1px); }
  100% { clip-path: inset(0 0 62% 0);  transform: translate(0);          opacity: 0; }
}
@keyframes glitchB {
  0%   { clip-path: inset(58% 0 0 0);   transform: translate(6px, 2px);  opacity: 0.85; }
  33%  { clip-path: inset(8% 0 66% 0);  transform: translate(-6px, -1px); }
  66%  { clip-path: inset(30% 0 34% 0); transform: translate(4px, -2px); }
  100% { clip-path: inset(58% 0 0 0);   transform: translate(0);          opacity: 0; }
}
@keyframes glitchSkew {
  0%, 100% { transform: skewX(0); }
  30%      { transform: skewX(-3deg); }
  60%      { transform: skewX(2deg); }
}

/* ---------- SCROLL-ALIVE ----------
   JS mengisi --sp (0..1 progres section di viewport). Elemen bergerak
   dengan kecepatan berbeda + transisi berlapis → terasa "diam tapi
   hidup" saat scroll. Pakai properti `translate` (bukan transform)
   supaya tidak bentrok dengan tilt 3D & reveal. */
@media (prefers-reduced-motion: no-preference) {
  .section::before {
    inset: -90px 0;
    transform: translateY(calc((var(--sp, 0.5) - 0.5) * -70px));
  }
  .section:not(.deck-section) > .container {
    translate: 0 calc((0.5 - var(--sp, 0.5)) * 44px);
    transition: translate 0.45s var(--ease);
  }
  /* elemen bergerak SERAGAM (rata) — kartu 3 section utama diatur deck 3D */
  .showcase-grid .show-card.visible { translate: 0 calc((1 - var(--sp, 1)) * 44px); }
  .pricing-grid .price-card.visible { translate: 0 calc((1 - var(--sp, 1)) * 44px); }
  .step.visible .step-body {
    translate: calc((1 - var(--sp, 1)) * 30px) 0;
    transition: translate 0.7s var(--ease);
  }
  .faq-item.visible { translate: 0 calc((1 - var(--sp, 1)) * 24px); }
  .cta-section .cta-box.visible { translate: 0 calc((0.5 - var(--sp, 0.5)) * 50px); }
}
