/* =========================================================
   Three Two Clip — website
   Mobile-first. Token warna & tipografi mengikuti CLAUDE.md.
   ========================================================= */

/* Teks website: Plus Jakarta Sans (variable, 200–800, lisensi OFL). Tulisan logo tetap Poppins SemiBold. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans-Variable.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  /* Brand */
  --bg: #0E0E14;
  --fg: #FFFFFF;
  --accent: #2F45FF;
  --accent-hover: #4659FF;
  --accent-soft: #8C9BFF;
  --accent-tint: #DDE2FF;
  --muted: #9A9AAA;
  --line: #C9CBD6;

  /* Turunan untuk UI gelap */
  --surface: #1C1D29;
  --surface-2: #161721;
  --border: rgba(255, 255, 255, .10);
  --rule: rgba(255, 255, 255, .55);

  /* Layout */
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1200px;
  --header-h: 64px;
  --radius: 20px;

  /* Tipografi fluid: 320px → 1440px */
  --fs-hero: clamp(2.375rem, 1.6rem + 3.8vw, 4.5rem);
  --fs-display: clamp(2rem, 1.45rem + 2.7vw, 3.5rem);
  --fs-title: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
  --fs-lead: clamp(1rem, .97rem + .12vw, 1.0625rem);
  --fs-h4: clamp(1.0625rem, 1rem + .25vw, 1.25rem);
  --section-y: clamp(48px, 3vw + 28px, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b, strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.ic { width: 1.15em; height: 1.15em; flex: none; }
.soft { color: var(--accent-soft); }
.muted { color: var(--muted); }

/* ---------- Tipografi ---------- */
.eyebrow {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .24em; color: var(--accent-tint); margin-bottom: 16px;
}
.eyebrow-soft { color: var(--accent-soft); }
.display {
  font-size: var(--fs-display); font-weight: 700; line-height: 1.1; letter-spacing: -.025em;
  text-wrap: balance;
}
.title {
  font-size: var(--fs-title); font-weight: 700; line-height: 1.05; letter-spacing: -.03em;
  text-wrap: balance;
}
.lead { font-size: var(--fs-lead); line-height: 1.7; max-width: 36em; margin-top: 16px; color: rgba(255, 255, 255, .72); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-accent { background: var(--accent); color: var(--fg); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-light { background: var(--fg); color: var(--bg); }
.btn-light:hover { background: var(--accent-tint); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: var(--fg); }

/* ---------- Layar loading ----------
   Tiga bingkai logo muncul satu per satu (3-2-1) lalu memudar, berulang sampai halaman siap.
   Yang dianimasikan hanya pembungkus luar tiap bingkai (scale + opacity), jadi sudut miring logo tetap. */
.preloader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--bg); transition: opacity .5s ease, visibility 0s linear .5s;
}
html:not(.js) .preloader { display: none; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-logo { width: clamp(64px, 12vw, 96px); height: auto; overflow: visible; }
.pf { transform-box: fill-box; transform-origin: center; opacity: 0; animation: pf-step 2s cubic-bezier(.2, .8, .2, 1) infinite; }
.pf-2 { animation-delay: .3s; }
.pf-3 { animation-delay: .6s; }
@keyframes pf-step {
  0% { opacity: 0; transform: scale(.7); }
  14%, 60% { opacity: 1; transform: scale(1); }
  78%, 100% { opacity: 0; transform: scale(1); }
}
/* Selama loading: halaman tidak bisa digulir, dan hitung mundur di hero ditahan supaya mulai setelah loading hilang */
html.is-loading { overflow: hidden; animation: loading-failsafe 0s linear 10s forwards; }
/* Pakai html.is-loading supaya lebih kuat dari aturan animasi hitung mundur yang ditulis belakangan */
html.is-loading .cd, html.is-loading .hero-flash { animation-play-state: paused; }
/* Cadangan kalau JS gagal dimuat: layar loading tetap hilang setelah 10 detik */
.preloader { animation: preloader-failsafe 0s linear 10s forwards; }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
@keyframes loading-failsafe { to { overflow: auto; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid var(--border);
}
/* Blur di pseudo-element: backdrop-filter di header sendiri akan mengurung menu fixed di dalamnya */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 14, 20, .6);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.menu-open .site-header::before { background: var(--bg); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Tulisan logo tetap Poppins SemiBold, sama dengan logo resmi */
.wordmark, .footer-brand { font-family: "Poppins", system-ui, sans-serif; }
.footer-brand b { font-weight: 600; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; white-space: nowrap; }
.wordmark b { font-weight: 600; color: var(--accent-soft); }
.wordmark-icon { width: 30px; height: 30px; }

.menu-toggle {
  width: 46px; height: 46px; margin-right: -8px; border: 0; background: none;
  display: grid; place-content: center; gap: 7px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s; }
.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Menu HP/tablet: panel penuh di bawah header */
.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav > a {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); font-weight: 700; letter-spacing: -.02em;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.nav-actions { display: grid; gap: 12px; margin-top: 28px; }
.nav-actions .btn { min-height: 54px; font-size: 1rem; }
body.menu-open { overflow: hidden; }

@media (min-width: 1180px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: none; }
  .nav {
    position: static; padding: 0; background: none; overflow: visible;
    flex-direction: row; align-items: center; gap: 32px;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav > a { font-size: .9375rem; font-weight: 500; padding: 0; border: 0; letter-spacing: 0; color: rgba(255, 255, 255, .88); transition: color .2s; }
  .nav > a:hover { color: var(--accent-tint); }
  .nav-actions { display: flex; margin: 0 0 0 8px; gap: 10px; }
  .nav-actions .btn { min-height: 42px; font-size: .9375rem; }
}

/* ---------- Hero ---------- */
/* Semua konten rata tengah */
.hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding-top: calc(var(--header-h) + clamp(56px, 7vw, 112px)); padding-bottom: clamp(40px, 5vw, 72px);
}

.hero-copy { max-width: 860px; margin-inline: auto; }
.hero .lead { margin-inline: auto; }

/* Latar bergerak di hero: gumpalan cahaya biru abstrak di atas.
   Kelembutannya dari gradasi radial (tanpa filter blur / blend mode, yang sangat berat dihitung ulang tiap frame).
   Gerakannya hanya transform (geser, putar, regang) + opacity, jadi ringan di HP. */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; will-change: transform; }
.hero-blob-1 {
  left: 10%; top: -45%; width: clamp(520px, 62vw, 980px); aspect-ratio: 1.4;
  background: radial-gradient(ellipse at center, rgba(60, 82, 255, .9), rgba(47, 69, 255, .42) 40%, transparent 70%);
  animation: hero-morph-1 17s ease-in-out infinite alternate, hero-breathe 7s ease-in-out infinite;
}
.hero-blob-2 {
  right: 6%; top: -40%; width: clamp(420px, 48vw, 760px); aspect-ratio: 1.2;
  background: radial-gradient(ellipse at center, rgba(140, 155, 255, .55), rgba(140, 155, 255, .2) 42%, transparent 70%);
  animation: hero-morph-2 21s ease-in-out infinite alternate, hero-breathe 7s ease-in-out -2.5s infinite;
}
.hero-blob-3 {
  left: 34%; top: -30%; width: clamp(320px, 34vw, 540px); aspect-ratio: 1.6;
  background: radial-gradient(ellipse at center, rgba(70, 89, 255, .7), transparent 68%);
  animation: hero-morph-3 13s ease-in-out infinite alternate, hero-breathe 7s ease-in-out -5s infinite;
}
/* Inti cahaya yang paling terang, lembut */
.hero-source {
  position: absolute; left: 50%; top: -150px; width: clamp(340px, 40vw, 600px); height: 260px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(221, 226, 255, .65), rgba(140, 155, 255, .28) 40%, transparent 72%);
  transform: translateX(-50%); animation: hero-source 7s ease-in-out infinite;
}
@media (max-width: 759px) {
  /* HP: gumpalan dibuat lebih lebar dan sedikit lebih redup supaya tulisan tetap terbaca */
  .hero-bg { opacity: .8; }
  .hero-blob-1 { left: -35%; width: 170vw; top: -30%; }
  .hero-blob-2 { right: -40%; width: 130vw; top: -26%; }
  .hero-blob-3 { left: 5%; width: 100vw; top: -20%; }
  .hero-source { width: 110vw; top: -120px; }
}
@keyframes hero-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .8; } }
@keyframes hero-source { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
/* Bentuk "berubah" lewat regangan dan putaran elips, bukan border-radius */
@keyframes hero-morph-1 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1, 1); }
  50% { transform: translate(8vw, 4%) rotate(14deg) scale(1.15, .85); }
  100% { transform: translate(-4vw, 8%) rotate(-10deg) scale(.9, 1.1); }
}
@keyframes hero-morph-2 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1, 1); }
  50% { transform: translate(-10vw, 6%) rotate(-18deg) scale(.85, 1.15); }
  100% { transform: translate(3vw, -4%) rotate(12deg) scale(1.1, .9); }
}
@keyframes hero-morph-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 10%) scale(1.2, .95); }
  100% { transform: translate(7vw, 2%) scale(.9, 1.1); }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Judul hitung mundur: Three, Two, Clip, Go muncul satu per satu (sekali saat dibuka).
   Lalu "Go" bergeser ke kanan sambil memudar dan lebarnya menyusut,
   sehingga "Three Two Clip" ikut bergeser pelan ke tengah. */
.hero-title { font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.countdown { display: flex; flex-wrap: wrap; justify-content: center; }
.cd { display: inline-block; white-space: nowrap; }
.cd + .cd { margin-left: .26em; }
.js .cd { opacity: 0; animation: cd-in .6s cubic-bezier(.2, 1.3, .4, 1) forwards; }
.js .cd-1 { animation-delay: .35s; }
.js .cd-2 { animation-delay: .95s; }
.js .cd-3 { animation-delay: 1.55s; }
.cd-4 { max-width: 2.2em; }
.js .cd-4 { animation: cd-in .6s cubic-bezier(.2, 1.3, .4, 1) 2.15s forwards, cd-go-out 1s cubic-bezier(.6, 0, .3, 1) 3.2s forwards; }
@keyframes cd-in {
  0% { opacity: 0; transform: scale(1.7); filter: blur(10px); }
  55% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes cd-go-out {
  from { opacity: 1; transform: none; max-width: 2.2em; margin-left: .26em; }
  to { opacity: 0; transform: translateX(.9em); max-width: 0; margin-left: 0; }
}
/* Eyebrow, paragraf, dan kartu jalur fade-in langsung saat dibuka (tidak menunggu hitung mundur), sedikit berurutan */
.hero-lead { margin-top: 20px; }
.js .hero .hero-title.reveal { transition-delay: .08s; }
.js .hero .hero-lead.reveal { transition-delay: .15s; }
.js .hero .paths.reveal { transition-delay: .3s; }

/* Kilatan cahaya lembut saat "Go." */
.hero-flash {
  position: absolute; left: 50%; top: -20%; width: clamp(420px, 70vw, 1000px); aspect-ratio: 2; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(221, 226, 255, .45), rgba(140, 155, 255, .18) 45%, transparent 70%);
  filter: blur(40px); transform: translateX(-50%); opacity: 0;
  animation: hero-go 1.4s ease-out 2.15s forwards;
}
@keyframes hero-go { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* Kartu jalur brand / clipper: kartu kaca dengan cahaya biru di atas, aksinya tombol pil biru bercahaya */
.paths { display: grid; gap: 14px; margin: clamp(40px, 4vw, 56px) auto 0; max-width: 760px; }
.path {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 24px 26px;
  background: rgba(28, 29, 41, .78); border: 1px solid rgba(255, 255, 255, .1); border-radius: calc(var(--radius) + 4px);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .3s;
}
/* Cahaya biru di dalam kartu. Diam di atas-tengah; saat hover cahayanya bergerak mengikuti kursor (posisi dari JS) */
/* Animasi cahaya yang jalan terus:
   1) cahaya di dalam kartu bergeser pelan (posisi --gx/--gy); saat hover, posisi kursor (--mx/--my dari JS) yang dipakai
   2) seberkas sinar yang berjalan mengelilingi bingkai kartu (sudut --beam) */
@property --gx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --gy { syntax: '<percentage>'; inherits: true; initial-value: -20%; }
@property --beam { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.path { animation: path-drift 9s ease-in-out infinite alternate; }
.path::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(320px circle at var(--mx, var(--gx)) var(--my, var(--gy)), rgba(47, 69, 255, .42), transparent 70%);
  opacity: .8; transition: opacity .3s;
}
.path::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2.5px; pointer-events: none;
  background: conic-gradient(from var(--beam), transparent 0deg 220deg, rgba(47, 69, 255, .6) 270deg, rgba(140, 155, 255, 1) 320deg, rgba(255, 255, 255, 1) 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: path-beam 5s linear infinite;
}
.path:nth-child(2) { animation-delay: -4.5s; }
.path:nth-child(2)::after { animation-delay: -2.5s; }
@keyframes path-drift {
  0% { --gx: 20%; --gy: -10%; }
  50% { --gx: 80%; --gy: 35%; }
  100% { --gx: 35%; --gy: 105%; }
}
@keyframes path-beam { to { --beam: 360deg; } }
.path:hover { border-color: rgba(140, 155, 255, .45); }
.path:hover::before { opacity: 1; }
.path-label { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-tint); }
.path-title { font-size: var(--fs-h4); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.path-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--accent-soft); font-weight: 500; }
.path-go .ic { transition: transform .2s; }
.path:hover .path-go .ic { transform: translateX(4px); }
@media (min-width: 600px) {
  .paths { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ---------- Section ---------- */
/* Pola sama di semua section, semuanya rata tengah: kepala (eyebrow, judul, lead) lalu blok-blok */
/* overflow-x: clip supaya cahaya di belakang section tidak membuat halaman bisa digeser ke samping */
.section { position: relative; isolation: isolate; overflow-x: clip; padding-block: var(--section-y) 0; text-align: center; }
@supports not (overflow: clip) {
  .section { overflow-x: hidden; }
}
/* Cahaya biru samar di belakang tiap section, bergeser pelan; bergantian kiri dan kanan */
.section::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 4%; left: -14%; width: clamp(420px, 56vw, 880px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 69, 255, .34), rgba(47, 69, 255, .08) 45%, transparent 68%);
  animation: section-glow 18s ease-in-out infinite alternate;
}
.section:nth-of-type(even)::before { left: auto; right: -16%; animation-name: section-glow-r; }
/* Cahaya kedua (biru muda), di sisi seberang */
.section::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  bottom: -10%; right: -10%; width: clamp(300px, 38vw, 620px); aspect-ratio: 1.2; border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 155, 255, .16), transparent 65%);
  animation: section-glow-r 22s ease-in-out -7s infinite alternate;
}
.section:nth-of-type(even)::after { right: auto; left: -10%; animation-name: section-glow; }

/* ---------- Latar hidup di seluruh halaman ---------- */
/* Partikel cahaya biru (digambar JS di canvas) */
.bg-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* Tekstur grain halus yang bergerak, supaya latar gelap tidak terasa mati */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 140; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 1.4s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}
@keyframes section-glow { to { transform: translate(10vw, 14%) scale(1.15); } }
@keyframes section-glow-r { to { transform: translate(-10vw, 18%) scale(1.1); } }
/* Jarak antar section dibuat rapat: jarak di atas garis + jarak di bawahnya, total ±130px di desktop (dulu ±220px) */
.section-divider { margin-top: clamp(36px, 2.5vw + 20px, 56px); border-top: 1px solid var(--border); }
/* Section pertama setelah hero dibuat lebih dekat supaya judulnya mengintip di bawah hero */
.hero + .section { padding-top: clamp(32px, 4vw, 56px); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); }
.section-head .lead { margin-inline: auto; }

/* Kartu keunggulan & langkah: satu gaya kartu */
/* HP pun 2 kolom supaya halaman tidak terlalu panjang */
.cards, .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card, .steps li { background: var(--surface); border-radius: var(--radius); padding: clamp(18px, 1.5vw + 12px, 30px) clamp(12px, 1.5vw + 8px, 30px); }
/* Kartu: garis cahaya tipis di atas, sedikit terangkat dengan pendaran biru saat hover */
.card {
  position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(140, 155, 255, .7), transparent);
}
/* Paragraf kartu rata kiri-kanan (justify biasa, baris terakhir rata kiri), di semua ukuran layar sesuai permintaan pemilik */
.card p { text-align: justify; }
/* Sinar yang berjalan di pinggiran kartu: lembut dan bergantian; saat hover lebih terang dan lebih cepat */
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--beam), transparent 0deg 250deg, rgba(47, 69, 255, .5) 290deg, rgba(140, 155, 255, .85) 330deg, rgba(255, 255, 255, .85) 348deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .55; transition: opacity .3s;
  animation: path-beam 8s linear infinite;
}
.card:nth-child(2)::after { animation-delay: -2s; }
.card:nth-child(3)::after { animation-delay: -4s; }
.card:nth-child(4)::after { animation-delay: -6s; }
.card:hover::after { opacity: 1; animation-duration: 3s; }
.card:hover { transform: translateY(-3px); border-color: rgba(140, 155, 255, .35); box-shadow: 0 18px 40px -22px rgba(47, 69, 255, .8); }
.card h4, .steps b { display: block; font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 6px; }
.card p, .steps li > span { display: block; color: var(--muted); font-size: clamp(.8125rem, .78rem + .2vw, .9375rem); line-height: 1.5; }
@media (min-width: 640px) {
  .cards { gap: 16px; }
}
@media (min-width: 1180px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Langkah bernomor: lingkaran biru berisi angka putih di atas teks */
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; margin: 0 auto 14px;
  width: 40px; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: var(--fg); font-weight: 600; font-size: 1rem;
}
@media (min-width: 640px) {
  .steps { gap: 16px; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Sub-judul "Caranya." / "Kenapa pilih kami?" di dalam section */
.sub-title { font-size: var(--fs-title); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; margin-bottom: clamp(20px, 2.5vw, 32px); }
.steps + .sub-title, .cards + .sub-title { margin-top: clamp(48px, 5vw, 72px); }

.statement {
  display: grid; justify-items: center; gap: 12px; margin-top: 16px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(28px, 2.5vw + 16px, 48px);
}
.statement-big { font-size: var(--fs-title); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.statement-note { color: var(--muted); max-width: 34em; }

.payouts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.payouts li { border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 5px 14px; font-size: .8125rem; font-weight: 600; color: var(--fg); }

/* Penutup tiap audiens: satu kalimat + satu tombol */
.action { display: grid; justify-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.action-text { font-size: var(--fs-lead); color: var(--muted); max-width: 34em; }
.action-text b { color: var(--fg); }
@media (max-width: 599px) {
  .action .btn { width: 100%; }
}

/* ---------- Ilustrasi alur ---------- */
/* Selalu di keadaan yang sama: potongan video tersambung ke klip di HP. Gerakannya kecil dan terus berjalan. */
.net-figure { position: relative; isolation: isolate; margin: 0 auto; max-width: 1000px; }
/* Pendaran lembut di belakang ilustrasi, bernapas pelan */
.net-figure::before {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; top: 8%; bottom: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 30%, rgba(47, 69, 255, .32), transparent 70%),
              radial-gradient(ellipse 50% 40% at 50% 85%, rgba(140, 155, 255, .14), transparent 70%);
  filter: blur(40px); animation: flow-ambient 8s ease-in-out infinite;
}
@keyframes flow-ambient { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .8; transform: scale(1.05); } }
.flow-art { width: 100%; height: auto; overflow: visible; }
@media (max-width: 759px) {
  /* HP: ilustrasi selebar layar */
  .flow-art { width: calc(100% + var(--gutter) * 2 - 8px); max-width: none; margin-inline: calc(var(--gutter) * -1 + 4px); }
}

.flow-track { fill: rgba(28, 29, 41, .9); stroke: rgba(255, 255, 255, .12); }
.flow-wave, .flow-cut, .flow-clip { fill: none; stroke-linecap: round; stroke-width: 4; }
.flow-wave { stroke: #3A3C52; }
/* Potongan & klip bercahaya tipis */
.flow-cut { stroke: var(--accent-soft); filter: drop-shadow(0 0 4px rgba(140, 155, 255, .75)); }
.flow-bracket { fill: rgba(140, 155, 255, .08); stroke: var(--accent-soft); stroke-width: 1.5; filter: drop-shadow(0 0 8px rgba(47, 69, 255, .9)); }
.flow-link { fill: none; stroke: url(#fl-link); stroke-width: 1.6; }
/* Kilau yang menyapu timeline */
.flow-shine { fill: url(#fl-shine); animation: flow-shine 5s ease-in-out infinite; }
@keyframes flow-shine { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(900px); } }

.flow-body { fill: var(--surface); stroke: url(#fl-sheen); stroke-width: 1.5; }
.flow-screen { fill: var(--surface-2); }
.flow-screen-glow { animation: flow-screen 4s ease-in-out calc(var(--k) * -.8s) infinite; }
@keyframes flow-screen { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.flow-floor { animation: flow-screen 4s ease-in-out calc(var(--k) * -.8s) infinite; }
.flow-clip { stroke: var(--accent-soft); filter: drop-shadow(0 0 5px rgba(140, 155, 255, .7)); }
.flow-caption { fill: rgba(255, 255, 255, .55); }
.flow-caption-2 { fill: rgba(255, 255, 255, .25); }
.flow-meter-track { fill: rgba(255, 255, 255, .1); }

/* Titik yang mengalir di garis, dari potongan ke HP */
.flow-pulse {
  fill: none; stroke: #FFFFFF; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: .07 .93; stroke-dashoffset: .07;
  filter: drop-shadow(0 0 4px rgba(140, 155, 255, 1)) drop-shadow(0 0 10px rgba(47, 69, 255, .9));
  animation: flow-run 1.5s linear calc(var(--k) * .25s) infinite;
}
@keyframes flow-run { from { stroke-dashoffset: .07; } to { stroke-dashoffset: -.93; } }

/* Klip "diputar": bar bergerak seperti equalizer, HP melayang pelan */
.flow-clip path { transform-box: fill-box; transform-origin: center; animation: flow-eq .8s ease-in-out calc(var(--b) * -.17s - var(--k) * .3s) infinite alternate; }
@keyframes flow-eq { from { transform: scaleY(1); } to { transform: scaleY(.4); } }
.flow-float { animation: flow-float 2.6s ease-in-out calc(var(--k) * -.55s) infinite alternate; }
@keyframes flow-float { from { transform: translateY(0); } to { transform: translateY(-7px); } }

/* ---------- Topik yang sama, beda peruntukan: kreator & brand kiri, clipper kanan ----------
   Hanya untuk cara kerja, keunggulan, dan ajakan mulai. Selebihnya rata tengah. Di HP bertumpuk. */
.split { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 48px); text-align: left; }
.section-head + .split { margin-top: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
}
.split-panel {
  display: flex; flex-direction: column; padding: clamp(24px, 2vw + 16px, 40px);
  background: rgba(22, 23, 33, .9); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
}
.split-title { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h4); font-weight: 600; color: var(--accent-soft); margin-bottom: 4px; }
/* Baris bernomor dengan garis pemisah */
.split-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.split-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.split-badge {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: var(--fg); font-weight: 600; font-size: .9375rem;
  box-shadow: 0 0 18px -4px rgba(47, 69, 255, .85);
}
.split-badge-check { background: rgba(47, 69, 255, .18); color: var(--accent-soft); box-shadow: none; }
.split-badge .ic { width: 16px; height: 16px; }
.split-list p { color: rgba(255, 255, 255, .85); line-height: 1.6; padding-top: 6px; }
.split-list p b { color: var(--fg); font-weight: 600; }
/* Panel bercahaya: pendaran biru di dalam yang bergeser pelan (ikut kursor saat hover, dari JS),
   plus sinar tipis yang berjalan di bingkai. Memakai --gx/--gy/--beam dan keyframes milik kartu jalur di hero. */
.split-panel { position: relative; isolation: isolate; overflow: hidden; animation: path-drift 12s ease-in-out infinite alternate; }
.split-panel::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, var(--gx)) var(--my, var(--gy)), rgba(47, 69, 255, .24), transparent 70%);
}
.split-panel::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2.5px; pointer-events: none;
  background: conic-gradient(from var(--beam), transparent 0deg 230deg, rgba(47, 69, 255, .55) 275deg, rgba(140, 155, 255, .95) 322deg, rgba(255, 255, 255, .95) 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: path-beam 9s linear infinite;
}
.split > .split-panel:nth-child(2) { animation-delay: -6s; }
.split > .split-panel:nth-child(2)::after { animation-delay: -4.5s; }

/* Nomor langkah menyala bergantian, berurutan seperti alur yang berjalan */
.split-badge { animation: badge-glow 4s ease-in-out infinite; }
.split-list li:nth-child(2) .split-badge { animation-delay: 1s; }
.split-list li:nth-child(3) .split-badge { animation-delay: 2s; }
.split-list li:nth-child(4) .split-badge { animation-delay: 3s; }
.split-badge-check { animation: none; }
@keyframes badge-glow {
  0%, 30%, 100% { box-shadow: 0 0 18px -4px rgba(47, 69, 255, .85); }
  12% { box-shadow: 0 0 28px 2px rgba(140, 155, 255, .9); background: var(--accent-hover); }
}

/* Panel ajakan: teks lalu tombol, latar biru lebih terasa */
.split-cta {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(47, 69, 255, .32), transparent 60%),
    linear-gradient(180deg, rgba(28, 30, 48, .95), rgba(18, 19, 28, .95));
}
.split-cta .split-text { color: var(--muted); margin: 12px 0 24px; }
.split-cta .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 599px) {
  .split-cta .btn { align-self: stretch; }
}

/* ---------- FAQ ---------- */
/* Isi tanya-jawab rata kiri supaya mudah dibaca */
.faq { max-width: 760px; margin-inline: auto; border-bottom: 1px solid var(--border); text-align: left; }
.faq details { border-top: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 0; font-weight: 600; font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--accent-soft), var(--accent-soft)) center / 100% 2px no-repeat,
              linear-gradient(var(--accent-soft), var(--accent-soft)) center / 2px 100% no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 40em; }

/* Placeholder yang belum diisi: dibuat mencolok supaya tidak lupa diganti */
.is-placeholder { color: var(--accent-tint); background: rgba(140, 155, 255, .14); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section-y); padding: clamp(48px, 5vw, 72px) 0 32px; border-top: 1px solid var(--border); text-align: center; }
.footer-grid { display: grid; justify-items: center; gap: 32px; }
.footer-desc { margin: 14px auto 0; max-width: 26em; font-size: .9375rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-weight: 600;
}
.copyright { color: var(--muted); font-weight: 400; font-size: .875rem; }
.copyright .footer-brand { color: var(--fg); }

/* ---------- Bar aksi bawah (HP & tablet layar sentuh) ---------- */
.mobile-bar { display: none; }
@media (max-width: 759px), (max-width: 1179px) and (hover: none) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(14, 14, 20, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    transform: translateY(110%); transition: transform .3s;
  }
  .mobile-bar.is-visible { transform: none; }  .menu-open .mobile-bar { transform: translateY(110%); }
  .mobile-bar .btn { min-height: 50px; padding: 0 12px; font-size: .9375rem; }
  .site-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 150;
  max-width: calc(100% - 32px); transform: translate(-50%, 20px);
  background: var(--fg); color: var(--bg); font-weight: 600; font-size: .9375rem;
  padding: 12px 18px; border-radius: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Muncul saat di-scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Layar sangat kecil (≤360px) */
@media (max-width: 360px) {
  .wordmark { font-size: 1rem; }
  .wordmark-icon { width: 26px; height: 26px; }
  .mobile-bar .btn .ic { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* Hitung mundur langsung tampil di keadaan akhir: "Three Two Clip" */
  .js .cd { opacity: 1; }
  .cd-4 { display: none; }
  /* Titik di garis disembunyikan, karena tanpa animasi posisinya diam di ujung */
  .flow-pulse { display: none; }
  /* Layar loading: logo tampil diam */
  .pf { opacity: 1; }
}
