/* ============================================================
   Kevin T. Gunawan — Portofolio AI Agent / Agentic AI
   Tema: "Ultraviolet Lab" (violet · magenta · amber di atas ink gelap)
   Scope: body.pf
   ============================================================ */

:root {
  --v: #8b5cf6;
  --v2: #a78bfa;
  --m: #ec4899;
  --a: #f59e0b;
  --wa: #25d366;
  --tick: #53bdeb;

  --bg: #0a0713;
  --bg2: #100b1c;
  --bg3: #150e26;
  --ink: #f3effb;
  --muted: #a396c2;
  --dim: #6f6390;

  --line: rgba(167, 139, 250, .14);
  --line-2: rgba(167, 139, 250, .28);
  --glass: rgba(139, 92, 246, .05);
  --grad: linear-gradient(120deg, var(--v) 0%, var(--m) 52%, var(--a) 100%);
  --grad-soft: linear-gradient(120deg, rgba(139, 92, 246, .22), rgba(236, 72, 153, .18) 55%, rgba(245, 158, 11, .16));

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 74px;
  --r: 18px;

  --f-disp: 'Sora', 'Segoe UI', sans-serif;
  --f-body: 'Outfit', 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
body.pf,
body.pf *,
body.pf *::before,
body.pf *::after { box-sizing: border-box; }
body.pf {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.pf.is-locked { overflow: hidden; }
body.pf ::selection { background: rgba(236, 72, 153, .38); color: #fff; }
/* Reset dibungkus :where() supaya spesifisitasnya nol — kalau tidak,
   `body.pf button` (0,1,2) mengalahkan aturan komponen seperti .pf-burger. */
:where(body.pf) a { color: inherit; text-decoration: none; }
:where(body.pf) img { max-width: 100%; display: block; }
:where(body.pf) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.pf::-webkit-scrollbar { width: 9px; }
body.pf::-webkit-scrollbar-track { background: #07050d; }
body.pf::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: linear-gradient(180deg, var(--v), var(--m) 60%, var(--a));
}
.pf-mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .04em; }
.pf-wrap {
  width: min(1240px, 100% - 44px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
/* ============================================================
   PRELOADER
   ============================================================ */
.pf-boot { display: none; }
.pf-js .pf-boot {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity .55s var(--ease), visibility .55s var(--ease);
}
.pf-boot.is-done { opacity: 0; visibility: hidden; }
.pf-boot::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 40%, rgba(139, 92, 246, .18), transparent 70%),
    radial-gradient(40% 30% at 70% 70%, rgba(236, 72, 153, .12), transparent 70%);
}
.pf-boot-inner {
  position: relative;
  width: min(460px, 84vw);
  text-align: center;
}
.pf-boot-mark {
  display: flex;
  justify-content: center;
  gap: clamp(2px, 1.4vw, 10px);
  font-family: var(--f-disp);
  font-size: clamp(38px, 9vw, 72px);
  font-weight: 800;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pf-boot-mark span {
  display: inline-block;
  animation: pfBootLetter 1.15s var(--ease) infinite alternate;
}
.pf-boot-mark span:nth-child(2) { animation-delay: .09s; }
.pf-boot-mark span:nth-child(3) { animation-delay: .18s; }
.pf-boot-mark span:nth-child(4) { animation-delay: .27s; }
.pf-boot-mark span:nth-child(5) { animation-delay: .36s; }
@keyframes pfBootLetter {
  from { transform: translateY(10px) rotate(-2deg); opacity: .5; }
  to   { transform: translateY(-10px) rotate(2deg); opacity: 1; }
}
.pf-boot-log {
  margin: 22px 0 18px;
  min-height: 96px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--dim);
  text-align: left;
  white-space: pre-wrap;
}
.pf-boot-log b { color: var(--v2); font-weight: 500; }
.pf-boot-log i { color: var(--wa); font-style: normal; }
.pf-boot-bar {
  height: 2px;
  border-radius: 99px;
  background: rgba(167, 139, 250, .16);
  overflow: hidden;
}
.pf-boot-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .25s linear; }
.pf-boot-pct {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .2em;
}
.pf-curtain {
  position: fixed;
  inset: 0;
  z-index: 8900;
  background: var(--grad);
  transform: translateY(100%);
  pointer-events: none;
  transition: transform .85s var(--ease-io);
}
.pf-curtain.is-reveal { transform: translateY(0); }
/* ============================================================
   LATAR
   ============================================================ */
.pf-net {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .6;
  pointer-events: none;
}
.pf-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pf-aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .32;
  will-change: transform;
}
.pf-aurora .a1 { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: var(--v); animation: pfDrift1 26s ease-in-out infinite; }
.pf-aurora .a2 { width: 40vw; height: 40vw; right: -10vw; top: 24vh; background: var(--m); animation: pfDrift2 32s ease-in-out infinite; }
.pf-aurora .a3 { width: 34vw; height: 34vw; left: 28vw; bottom: -14vw; background: var(--a); opacity: .18; animation: pfDrift3 38s ease-in-out infinite; }
@keyframes pfDrift1 { 50% { transform: translate3d(14vw, 12vh, 0) scale(1.18); } }
@keyframes pfDrift2 { 50% { transform: translate3d(-16vw, -8vh, 0) scale(.86); } }
@keyframes pfDrift3 { 50% { transform: translate3d(10vw, -14vh, 0) scale(1.22); } }
.pf-gridbg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 139, 250, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.pf-grain {
  position: fixed;
  /* Dulu inset: -200% — artinya 25x luas layar ikut digambar ulang tiap denyut
     animasi. Sekarang seukuran layar saja, dan yang bergerak background-position,
     bukan transform, sehingga tidak perlu lapisan komposit sebesar itu. */
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: pfGrain 8s steps(6) infinite;
}
@keyframes pfGrain {
  0%   { background-position: 0 0; }
  20%  { background-position: -18px 12px; }
  40%  { background-position: 12px -18px; }
  60%  { background-position: -12px -12px; }
  80%  { background-position: 18px 6px; }
  100% { background-position: 0 0; }
}

.pf-scanline {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 4px);
}
/* ============================================================
   CURSOR
   ============================================================ */
.pf-cur-dot,
.pf-cur-ring { display: none; }
@media (pointer: fine) {
  .pf-js .pf-cur-dot,
  .pf-js .pf-cur-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 9500;
    pointer-events: none;
    border-radius: 50%;
    will-change: transform;
  }
  .pf-cur-dot {
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--m);
    box-shadow: 0 0 12px rgba(236, 72, 153, .9);
  }
  /* Ukuran ring diubah lewat scale pada transform, bukan width/height/margin.
     Ketiga properti itu memicu layout ulang seluruh dokumen setiap kali kursor
     masuk atau keluar sebuah tautan — penyebab halaman terlihat berkedip. */
  .pf-cur-ring {
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid var(--line-2);
    transition: border-color .3s var(--ease), background-color .3s var(--ease);
  }
  .pf-cur-ring em {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: var(--v);
    animation: pfSpin 3.4s linear infinite;
  }
  .pf-cur-ring.is-hot {
    border-color: rgba(236, 72, 153, .5);
    background: rgba(236, 72, 153, .07);
  }
}
@keyframes pfSpin { to { transform: rotate(360deg); } }
.pf-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 8000;
  height: 2px;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(236, 72, 153, .6);
}
/* ============================================================
   NAV
   ============================================================ */
.pf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 7000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(18px, 3vw, 34px);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.pf-nav.is-stuck {
  height: 62px;
  background: rgba(10, 7, 19, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.pf-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.pf-brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 18px;
  color: #0a0713;
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(139, 92, 246, .34);
  transition: transform .5s var(--ease);
}
.pf-brand:hover .pf-brand-mark { transform: rotate(-8deg) scale(1.06); }
.pf-brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.pf-brand-txt b { font-family: var(--f-disp); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.pf-brand-txt em { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .05em; }
.pf-nav-links { display: flex; align-items: center; gap: 4px; }
.pf-nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.pf-nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 3px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.pf-nav-links a:hover { color: var(--ink); background: rgba(167, 139, 250, .07); }
.pf-nav-links a.is-active { color: var(--ink); }
.pf-nav-links a.is-active::after { width: 18px; }
.pf-burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); }
.pf-burger i { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.pf-burger.is-open i:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.pf-burger.is-open i:nth-child(2) { opacity: 0; }
.pf-burger.is-open i:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
/* Drawer mobile */
.pf-drawer {
  position: fixed;
  inset: 0;
  z-index: 6900;
  background: rgba(10, 7, 19, .96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.pf-drawer.is-open { opacity: 1; visibility: visible; }
.pf-drawer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  height: 100%;
  padding: 90px 26px 40px;
}
.pf-drawer-inner > a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-disp);
  font-size: 21px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-24px);
}
.pf-drawer.is-open .pf-drawer-inner > a {
  animation: pfDrawerIn .5s var(--ease) forwards;
  animation-delay: calc(var(--i) * 55ms + 120ms);
}
@keyframes pfDrawerIn { to { opacity: 1; transform: none; } }
.pf-drawer-inner > a i { width: 26px; font-size: 16px; color: var(--v2); }
.pf-drawer-inner > a em { margin-left: auto; font-family: var(--f-mono); font-size: 11px; font-style: normal; color: var(--dim); }
.pf-drawer-foot { display: flex; gap: 12px; margin-top: 26px; }
.pf-drawer-foot a {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: .3s var(--ease);
}
.pf-drawer-foot a:hover { color: var(--ink); border-color: var(--line-2); background: var(--glass); }
/* Rail kanan */
.pf-rail {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.pf-rail a { display: flex; flex-direction: row-reverse; align-items: center; gap: 9px; }
.pf-rail a i {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(167, 139, 250, .3);
  transition: .35s var(--ease);
}
.pf-rail a b {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: 0;
  transform: translateX(8px);
  transition: .35s var(--ease);
}
.pf-rail a:hover b { opacity: 1; transform: none; }
.pf-rail a.is-active i { background: var(--m); box-shadow: 0 0 10px rgba(236, 72, 153, .8); transform: scale(1.5); }
.pf-rail a.is-active b { color: var(--muted); }
/* ============================================================
   TIPOGRAFI & KOMPONEN UMUM
   ============================================================ */
.pf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 15px 7px 11px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.pf-dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--m);
}
/* Denyutnya memakai transform+opacity, bukan box-shadow. Menganimasikan
   box-shadow memaksa penggambaran ulang tiap frame; transform tidak. */
.pf-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pfPulse 2.2s ease-out infinite;
}
@keyframes pfPulse {
  0%   { transform: scale(1); opacity: .55; }
  70%  { transform: scale(3.4); opacity: 0; }
  100% { transform: scale(3.4); opacity: 0; }
}

.pf-live {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 8px rgba(37, 211, 102, .9);
  animation: pfBlink 2s ease infinite;
}
@keyframes pfBlink { 50% { opacity: .35; } }
.pf-h2 {
  margin: 0 0 18px;
  font-family: var(--f-disp);
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.pf-h2 b { font-weight: 800; }
.pf-h3 {
  margin: 0 0 16px;
  font-family: var(--f-disp);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.025em;
}
/* Gradien statis. Menganimasikan background-position di atas background-clip:text
   membuat Chrome menggambar ulang teksnya terus-menerus dan terlihat berkedip. */
.pf-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes pfUnder { to { transform: scaleX(1); } }
.pf-sec-lead {
  margin: 0 auto;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(14.5px, 1.4vw, 17px);
}
.pf-sec-lead.pf-left { margin-inline: 0; }
.pf-sec-lead b { color: var(--ink); font-weight: 600; }
.pf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 99px;
  font-family: var(--f-disp);
  font-size: 14.5px;
  font-weight: 600;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
  will-change: transform;
}
.pf-btn i { font-size: 15px; }
.pf-btn span { position: relative; z-index: 2; }
.pf-btn i { position: relative; z-index: 2; }
.pf-btn-primary { color: #0a0713; background: var(--grad); background-size: 200% 100%; box-shadow: 0 14px 40px rgba(139, 92, 246, .32); }
.pf-btn-primary:hover { background-position: 100% 0; transform: translateY(-3px); box-shadow: 0 20px 48px rgba(236, 72, 153, .38); }
.pf-btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: var(--glass); }
.pf-btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.pf-btn-ghost:hover { transform: translateY(-3px); }
.pf-btn-ghost:hover::before { opacity: 1; }
.pf-btn-sm { padding: 10px 18px; font-size: 13px; }
.pf-nav-cta { color: #0a0713; background: var(--grad); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips span {
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, .05);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  transition: .3s var(--ease);
}
.pf-chips span:hover { color: var(--ink); border-color: var(--line-2); background: rgba(167, 139, 250, .12); transform: translateY(-2px); }
/* Reveal */
.pf-js [data-rise] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.pf-js [data-rise].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pf-js [data-rise] { opacity: 1 !important; transform: none !important; }
}
/* Spotlight kursor pada kartu */
[data-spot] { position: relative; }
[data-spot]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s var(--ease);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(167, 139, 250, .16), transparent 68%);
  pointer-events: none;
}
[data-spot]:hover::before { opacity: 1; }
.pf-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.pf-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted);
}
.pf-hero-meta i { color: var(--v2); margin-right: 5px; }
.pf-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pf-hero-visual { position: relative; }
.pf-idcard-top { display: flex; align-items: center; gap: 16px; }
/* Untuk logo memanjang: tampil utuh, tidak dipotong. */
.pf-avatar img.is-contain { object-fit: contain; padding: 7px; }
.pf-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 1px solid rgba(236, 72, 153, .35);
  animation: pfHalo 3.4s ease infinite;
}
@keyframes pfHalo { 50% { transform: scale(1.06); opacity: .4; } }
.pf-idcard-id b { display: block; font-family: var(--f-disp); font-size: 19px; font-weight: 700; }
.pf-idcard-id small { display: block; font-size: 12.5px; color: var(--muted); }
.pf-idcard-id small.pf-mono { color: var(--dim); margin-top: 3px; }
.pf-idcard-bars { margin: 22px 0 18px; display: grid; gap: 13px; }
.pf-idcard-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pf-idcard-foot a {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: .3s var(--ease);
}
.pf-idcard-foot a:hover { color: #0a0713; background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.pf-idcard-foot .pf-mono { margin-left: auto; color: var(--dim); }
@keyframes pfFloat {
  50% { transform: translateY(-14px); }
}
.pf-float-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(167, 139, 250, .07);
  border-bottom: 1px solid var(--line);
}
.pf-float-head > div { min-width: 0; }
.pf-float-head b { display: block; font-size: 13px; font-family: var(--f-disp); }
.pf-float-head small { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); }
.pf-float-head > i { margin-left: auto; color: var(--wa); font-size: 17px; }
.pf-mini-ava {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  font-family: var(--f-disp);
  font-size: 13px;
  font-weight: 700;
  color: #0a0713;
  background: var(--grad);
}
.pf-ava-group { background: linear-gradient(135deg, var(--v), var(--m)); font-size: 12px; }
/* ============================================================
   CHAT (dipakai di semua simulasi)
   ============================================================ */
.pf-chat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 14px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 85% 8%, rgba(139, 92, 246, .07), transparent 42%),
    radial-gradient(circle at 12% 92%, rgba(236, 72, 153, .06), transparent 42%);
}
.pf-chat::-webkit-scrollbar { width: 0; height: 0; }
.pf-chat-mini { min-height: 176px; max-height: 260px; justify-content: flex-end; }
.pf-day {
  align-self: center;
  margin-bottom: auto;                /* dorong bubble menempel ke bawah seperti WA asli */
  padding: 3px 12px;
  border-radius: 99px;
  background: rgba(167, 139, 250, .1);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.pf-msg {
  position: relative;
  max-width: 88%;
  padding: 9px 13px 7px;
  border-radius: 15px;
  font-size: 12.9px;
  line-height: 1.6;
  word-break: break-word;
}
/* Bubble yang belum giliran tampil tidak boleh memakan ruang, kalau tidak
   area chat ikut ter-scroll ke bagian kosong. */
.pf-js .pf-msg { display: none; opacity: 0; transform: translateY(12px) scale(.96); }
.pf-js .pf-msg.is-shown { display: block; animation: pfMsgIn .48s var(--ease) forwards; }
@keyframes pfMsgIn { to { opacity: 1; transform: none; } }
.pf-msg.out {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(139, 92, 246, .3), rgba(236, 72, 153, .2));
  border: 1px solid rgba(167, 139, 250, .3);
  border-bottom-right-radius: 5px;
}
.pf-msg.in {
  align-self: flex-start;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .07);
  border-bottom-left-radius: 5px;
}
.pf-msg.ai {
  background: linear-gradient(135deg, rgba(245, 158, 11, .13), rgba(236, 72, 153, .1));
  border-color: rgba(245, 158, 11, .26);
}
.pf-msg.sys {
  align-self: center;
  max-width: 92%;
  padding: 5px 13px;
  border-radius: 99px;
  background: rgba(245, 158, 11, .1);
  border: 1px dashed rgba(245, 158, 11, .32);
  font-family: var(--f-mono);
  font-size: 10px;
  color: #fcd34d;
  text-align: center;
}
.pf-msg.sys i { margin-right: 5px; }
.pf-msg.sys b { color: #fff; font-weight: 600; }
.pf-msg b { font-weight: 600; }
.pf-time {
  display: block;
  margin-top: 3px;
  text-align: right;
  font-size: 9.5px;
  color: rgba(255, 255, 255, .38);
  font-family: var(--f-mono);
}
.pf-time i { color: var(--tick); margin-left: 3px; }
.pf-who {
  display: block;
  margin-bottom: 3px;
  font-size: 11.5px;
  font-weight: 600;
}
.pf-msg.c-1 .pf-who { color: #7dd3fc; }
.pf-msg.c-2 .pf-who { color: #f0abfc; }
.pf-msg.c-3 .pf-who { color: #86efac; }
.pf-who-ai { color: var(--a) !important; display: inline-flex !important; align-items: center; gap: 6px; }
.pf-who-ai i { font-size: 10px; }
.pf-mention {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(245, 158, 11, .16);
  color: var(--a);
  font-weight: 600;
}
.pf-typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  padding: 11px 14px;
  border-radius: 15px;
  border-bottom-left-radius: 5px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .07);
}
.pf-typing.is-shown { display: inline-flex; }
.pf-typing.is-out {
  align-self: flex-end;
  border-radius: 15px;
  border-bottom-right-radius: 5px;
  background: rgba(139, 92, 246, .18);
}
.pf-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: pfDot 1.1s ease infinite;
}
.pf-typing span:nth-child(2) { animation-delay: .16s; }
.pf-typing span:nth-child(3) { animation-delay: .32s; }
@keyframes pfDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-5px); opacity: 1; }
}
/* --- Kartu di dalam bubble --- */
.pf-card-product {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0 6px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line);
}
.pf-card-thumb {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  flex: 0 0 auto;
  border-radius: 10px;
  font-size: 19px;
  color: #0a0713;
  background: var(--grad);
}
.pf-card-product b { display: block; font-size: 12px; }
.pf-card-product em { display: block; font-style: normal; font-size: 10px; color: var(--muted); }
.pf-price { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: 12px; color: var(--a); }
.pf-price small { color: var(--dim); }
.pf-badge-ok {
  margin-left: auto;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(37, 211, 102, .16);
  border: 1px solid rgba(37, 211, 102, .3);
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--wa);
  white-space: nowrap;
}
.pf-card-quote {
  margin: 9px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
}
.pf-card-quote > div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--muted); }
.pf-card-quote b { color: var(--ink); font-weight: 500; }
.pf-neg { color: var(--wa) !important; }
.pf-quote-total { margin-top: 5px; padding-top: 7px !important; border-top: 1px dashed var(--line-2); }
.pf-quote-total b { color: var(--a) !important; font-size: 13px; font-weight: 700 !important; }
.pf-card-invoice {
  padding: 13px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(139, 92, 246, .2), rgba(10, 7, 19, .6));
  border: 1px solid var(--line-2);
  text-align: center;
}
.pf-card-invoice header { font-family: var(--f-mono); font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.pf-card-invoice header i { color: var(--a); margin-right: 5px; }
.pf-card-invoice > b { display: block; margin: 6px 0 2px; font-family: var(--f-disp); font-size: 22px; font-weight: 800; }
.pf-card-invoice em { display: block; font-style: normal; font-size: 10px; color: var(--dim); }
.pf-paybtn {
  display: block;
  margin-top: 10px;
  padding: 9px;
  border-radius: 10px;
  background: var(--grad);
  color: #0a0713;
  font-weight: 700;
  font-size: 12px;
  position: relative;
}
.pf-paybtn::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 14px;
  border: 2px solid rgba(236, 72, 153, .35);
  animation: pfPayGlow 2.4s ease-in-out infinite;
}
@keyframes pfPayGlow {
  0%, 100% { opacity: 0; transform: scale(.96); }
  50%      { opacity: 1; transform: scale(1); }
}
.pf-paybtn i { margin-right: 6px; }
.pf-card-task { margin: 9px 0 8px; display: grid; gap: 6px; }
.pf-card-task > div {
  display: flex;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--line);
}
.pf-card-task i { color: var(--a); font-size: 12px; margin-top: 2px; }
.pf-card-task b { display: block; font-size: 11.6px; }
.pf-card-task em { font-style: normal; font-size: 10px; color: var(--muted); font-family: var(--f-mono); }
.pf-quickreply { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.pf-quickreply span {
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(245, 158, 11, .32);
  background: rgba(245, 158, 11, .08);
  font-size: 10.5px;
  color: #fcd34d;
}
.pf-card-list { margin: 8px 0 6px; display: grid; gap: 5px; }
.pf-card-list > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .26);
  font-size: 11.4px;
}
.pf-card-list em { margin-left: auto; font-style: normal; font-size: 9.5px; color: var(--dim); font-family: var(--f-mono); }
.pf-pill {
  padding: 2px 7px;
  border-radius: 99px;
  font-family: var(--f-mono);
  font-size: 9px;
  background: rgba(167, 139, 250, .15);
  color: var(--v2);
  white-space: nowrap;
}
.pf-pill-warn { background: rgba(245, 158, 11, .16); color: #fcd34d; }
.pf-pill-ok { background: rgba(37, 211, 102, .15); color: var(--wa); }
.pf-card-photo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
}
.pf-card-photo i { color: var(--v2); }
/* ============================================================
   PHONE FRAME
   ============================================================ */
.pf-phone {
  position: relative;
  z-index: 2;
  width: min(360px, 100%);
  border-radius: 30px;
  overflow: hidden;
  background: #0d0918;
  border: 1px solid var(--line-2);
  box-shadow: 0 46px 100px rgba(0, 0, 0, .62), 0 0 60px rgba(139, 92, 246, .12);
  transform-style: preserve-3d;
}
.pf-phone-notch {
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  z-index: 5;
}
.pf-phone-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 16px 13px;
  background: rgba(167, 139, 250, .07);
  border-bottom: 1px solid var(--line);
}
.pf-phone-head > div { min-width: 0; }
.pf-phone-head b { display: block; font-family: var(--f-disp); font-size: 14px; }
.pf-phone-head small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-phone-head > i { margin-left: auto; font-size: 20px; color: var(--wa); }
.pf-phone .pf-chat { min-height: 400px; max-height: 470px; }
.pf-phone-group .pf-chat { min-height: 440px; max-height: 500px; }
.pf-phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .25);
  font-size: 12px;
  color: var(--dim);
}
.pf-phone-input i { font-size: 15px; }
.pf-phone-input span { flex: 1; }
/* ============================================================
   STAGE (phone + panel pendamping)
   ============================================================ */
.pf-stage {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: center;
}
/* Trace terminal */
.pf-trace {
  flex: 1 1 240px;
  align-self: center;
  max-width: 300px;
  min-height: 250px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 5, 15, .82);
  /* backdrop-filter dilepas: latar panel sudah pekat, efeknya tak terlihat. */
  font-family: var(--f-mono);
  font-size: 10.5px;
  line-height: 1.5;
}
.pf-trace header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 9.5px;
}
.pf-trace header i { color: var(--v2); }
.pf-trace header em {
  margin-left: auto;
  font-style: normal;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(236, 72, 153, .15);
  color: var(--m);
  animation: pfBlink 1.8s ease infinite;
}
.pf-trace-line {
  display: none;
  padding: 4px 0;
  color: var(--dim);
  opacity: 0;
  transform: translateX(-10px);
  border-bottom: 1px dashed rgba(167, 139, 250, .07);
  word-break: break-all;
}
.pf-trace-line.is-shown { display: block; animation: pfTraceIn .45s var(--ease) forwards; }
@keyframes pfTraceIn { to { opacity: 1; transform: none; } }
.pf-trace-line b { color: var(--v2); margin-right: 6px; }
.pf-trace-line b.ok { color: var(--wa); }
.pf-trace-line b.warn { color: var(--a); }
.pf-trace-line span { color: var(--muted); }
.pf-sidenote {
  flex: 1 1 220px;
  align-self: center;
  max-width: 290px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
}
.pf-sidenote b { display: block; margin-bottom: 8px; font-family: var(--f-disp); font-size: 14px; }
.pf-sidenote b i { color: var(--a); margin-right: 8px; }
.pf-sidenote p { margin: 0; font-size: 13px; color: var(--muted); }
/* ============================================================
   SECTION UMUM
   ============================================================ */
.pf-sec { position: relative; padding: clamp(64px, 8.5vw, 112px) 0; }
.pf-sec-head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
/* ============================================================
   LOOP KAIZEN
   ============================================================ */
.pf-loop {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
}
.pf-loop-ring { position: relative; aspect-ratio: 1; }
.pf-loop-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pf-ring-track { fill: none; stroke: rgba(167, 139, 250, .1); stroke-width: 2; }
.pf-ring-live {
  fill: none;
  stroke: url(#lg);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 741;
  stroke-dashoffset: 741;
  transition: stroke-dashoffset .8s var(--ease);
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, .5));
}
.pf-loop-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 1px solid var(--line-2);
  background: rgba(20, 13, 36, .96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  color: var(--muted);
  transform: rotate(var(--a)) translateY(-152px) rotate(calc(-1 * var(--a)));
  transition: color .35s var(--ease), border-color .35s var(--ease), box-shadow .45s var(--ease), background .35s;
}
.pf-loop-node i { font-size: 19px; }
.pf-loop-node b { font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.pf-loop-node:hover { color: var(--ink); border-color: var(--line-2); }
.pf-loop-node.is-active {
  color: #0a0713;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(236, 72, 153, .34);
}
.pf-loop-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150px; height: 150px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 3px;
  border: 1px solid var(--line);
  background: radial-gradient(circle, rgba(139, 92, 246, .16), transparent 70%);
}
.pf-loop-core span { font-family: var(--f-mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.pf-loop-core b { font-family: var(--f-disp); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.pf-loop-core em { font-style: normal; font-size: 9px; color: var(--muted); }
.pf-loop-panels { position: relative; min-height: 320px; }
.pf-loop-panel {
  position: absolute;
  inset: 0;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(21, 14, 38, .8), rgba(10, 7, 19, .6));
  opacity: 0;
  visibility: hidden;
  transform: translateY(26px) scale(.98);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
}
.pf-loop-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.pf-loop-no {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--m);
  letter-spacing: .2em;
}
.pf-loop-panel h3 {
  margin: 0 0 12px;
  font-family: var(--f-disp);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.pf-loop-panel h3 em {
  display: block;
  font-style: normal;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 4px;
}
.pf-loop-panel p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
/* ============================================================
   STUDI KASUS
   ============================================================ */
.pf-sec-cases { padding-bottom: 40px; }
.pf-case { position: relative; padding: clamp(38px, 5vw, 68px) 0; }
.pf-case::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 20% 30%, rgba(139, 92, 246, .07), transparent 70%);
  pointer-events: none;
}
.pf-case.is-flip::before { background: radial-gradient(70% 50% at 80% 30%, rgba(236, 72, 153, .07), transparent 70%); }
.pf-case-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.pf-case.is-flip .pf-case-copy { order: 2; }
.pf-case.is-flip .pf-case-visual { order: 1; }
.pf-case-no { display: block; color: var(--dim); letter-spacing: .24em; margin-bottom: 12px; }
.pf-case-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--grad-soft);
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pf-case-kicker i { color: var(--a); font-size: 12px; }
.pf-case-lead { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.pf-case-block {
  padding: 16px 18px;
  border-radius: 14px;
  border-left: 2px solid var(--m);
  background: rgba(236, 72, 153, .06);
  margin-bottom: 22px;
}
.pf-case-block span {
  display: block;
  margin-bottom: 5px;
  color: var(--m);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.pf-case-block p { margin: 0; font-size: 14px; color: var(--muted); }
.pf-case-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.pf-case-list li { display: flex; gap: 12px; font-size: 14.2px; color: var(--muted); }
.pf-case-list i {
  flex: 0 0 auto;
  margin-top: 5px;
  font-size: 11px;
  color: var(--v2);
  transition: transform .3s var(--ease);
}
.pf-case-list li:hover i { transform: translateX(4px); }
.pf-case-list li:hover span { color: var(--ink); }
.pf-case-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.pf-case-metrics > div {
  padding: 14px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, .04);
  text-align: center;
  transition: .35s var(--ease);
}
.pf-case-metrics > div:hover { transform: translateY(-4px); border-color: var(--line-2); background: rgba(167, 139, 250, .09); }
.pf-case-metrics b {
  display: block;
  font-family: var(--f-disp);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pf-case-metrics span { font-size: 10.5px; color: var(--muted); line-height: 1.35; display: block; }
/* ============================================================
   DASHBOARD MOCK
   ============================================================ */
.pf-dash {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(21, 14, 38, .95), rgba(10, 7, 19, .92));
  box-shadow: 0 46px 100px rgba(0, 0, 0, .6);
  transform-style: preserve-3d;
}
.pf-dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pf-dash-head b { display: block; font-family: var(--f-disp); font-size: 16px; }
.pf-dash-head em { font-style: normal; color: var(--dim); letter-spacing: .08em; }
.pf-dash-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--muted);
}
.pf-dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 16px; }
.pf-dash-kpis > div {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, .05);
}
.pf-dash-kpis span { display: block; font-size: 10.5px; color: var(--muted); font-family: var(--f-mono); }
.pf-dash-kpis b { font-family: var(--f-disp); font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.pf-dash-kpis em { font-style: normal; font-size: 10px; color: var(--wa); font-family: var(--f-mono); }
.pf-dash-kpis .is-alert { border-color: rgba(236, 72, 153, .32); background: rgba(236, 72, 153, .07); }
.pf-dash-kpis .is-alert em { color: var(--m); }
.pf-dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding: 0 2px 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pf-bar {
  position: relative;
  flex: 1;
  height: 0;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--v2), rgba(139, 92, 246, .18));
  transition: height .9s var(--ease);
  transition-delay: var(--d);
}
.is-in .pf-bar,
.pf-dash.is-live .pf-bar { height: var(--h); }
.pf-bar.is-anomaly { background: linear-gradient(180deg, var(--m), rgba(236, 72, 153, .2)); }
.pf-bar.is-anomaly::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 7px;
  border: 1px dashed var(--m);
  animation: pfBlink 1.6s ease infinite;
}
.pf-bar em {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 7px;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--m);
  color: #0a0713;
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-style: normal;
  white-space: nowrap;
}
.pf-dash-insight {
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, .26);
  background: rgba(245, 158, 11, .06);
  margin-bottom: 14px;
}
.pf-dash-insight b { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--a); font-family: var(--f-disp); }
.pf-dash-insight p {
  margin: 7px 0 0;
  min-height: 62px;
  font-size: 12.2px;
  color: var(--muted);
  line-height: 1.6;
}
.pf-dash-insight p::after {
  content: '▍';
  color: var(--a);
  animation: pfBlink 1s steps(2) infinite;
}
.pf-dash-insight p.is-done::after { content: ''; }
.pf-dash-regions { display: grid; gap: 8px; }
.pf-dash-regions > div { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); }
.pf-dash-regions span { width: 92px; flex: 0 0 auto; }
.pf-dash-regions i { flex: 1; height: 5px; border-radius: 99px; background: rgba(167, 139, 250, .12); overflow: hidden; }
.pf-dash-regions i b { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.3s var(--ease); }
.pf-dash-regions em { flex: 0 0 auto; width: 14px; text-align: center; font-size: 13px; font-style: normal; }
.pf-dash-regions em.up { color: var(--wa); }
.pf-dash-regions em.down { color: var(--m); }
/* Toast WA melayang */
.pf-wa-toast {
  position: absolute;
  right: -26px;
  bottom: -46px;
  z-index: 3;
  width: min(262px, 72vw);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: rgba(13, 9, 24, .96);
  /* backdrop-filter dilepas: kartu ini melayang di atas latar pekat. */
  box-shadow: 0 30px 66px rgba(0, 0, 0, .62);
  animation: pfFloat 7s ease-in-out infinite;
}
.pf-wa-toast-qc { right: auto; left: -26px; }
/* Dashboard & QC: kartu WA ditumpuk di bawah, bukan menutupi isi panel. */
.pf-stage-stack { flex-direction: column; align-items: center; gap: 0; }
.pf-stage-stack .pf-wa-toast {
  position: relative;
  right: auto;
  left: auto;
  bottom: auto;
  align-self: flex-end;
  margin: -30px -20px 0 0;
  width: min(300px, 100%);
}
.pf-stage-stack.is-left .pf-wa-toast { align-self: flex-start; margin: -30px 0 0 -20px; }
/* ============================================================
   QUALITY CONTROL
   ============================================================ */
.pf-qc {
  position: relative;
  z-index: 2;
  width: min(480px, 100%);
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(21, 14, 38, .95), rgba(10, 7, 19, .92));
  box-shadow: 0 46px 100px rgba(0, 0, 0, .6);
  transform-style: preserve-3d;
}
.pf-qc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.pf-qc-head b { font-family: var(--f-disp); font-size: 15px; }
.pf-qc-head b i { color: var(--v2); margin-right: 8px; }
.pf-qc-head span { color: var(--dim); }
.pf-qc-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1230, #0d0918);
}
.pf-qc-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) contrast(1.08) brightness(.82); }
.pf-qc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .5;
  mix-blend-mode: overlay;
}
.pf-qc-scan {
  position: absolute;
  left: 0; right: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(167, 139, 250, .28), rgba(236, 72, 153, .5), transparent);
  box-shadow: 0 0 26px rgba(236, 72, 153, .45);
  animation: pfScan 3.4s var(--ease-io) infinite;
}
@keyframes pfScan {
  0%   { top: -90px; }
  55%  { top: 100%; }
  100% { top: 100%; opacity: 0; }
}
.pf-qc-box {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--w); height: var(--h);
  border: 1.5px solid var(--m);
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 20px rgba(236, 72, 153, .35);
  opacity: 0;
  transform: scale(1.35);
}
.pf-qc.is-live .pf-qc-box { animation: pfBoxIn .5s var(--ease) forwards; }
.pf-qc.is-live .b1 { animation-delay: 1.1s; }
.pf-qc.is-live .b2 { animation-delay: 1.7s; }
.pf-qc.is-live .b3 { animation-delay: 2.3s; }
.pf-qc.is-live .b4 { animation-delay: 2.9s; }
.pf-qc.is-live .b5 { animation-delay: 3.5s; }
/* Warna kotak mengikuti "tone" dari panel, bukan urutannya. */
.pf-qc-box.is-amber { border-color: var(--a); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 20px rgba(245, 158, 11, .35); }
@keyframes pfBoxIn { to { opacity: 1; transform: none; } }
.pf-qc-box em {
  position: absolute;
  left: -1.5px; top: -19px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--m);
  color: #0a0713;
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-style: normal;
  white-space: nowrap;
}
.pf-qc-box.is-amber em { background: var(--a); }
.pf-qc-result { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.pf-qc-verdict { display: flex; align-items: center; gap: 11px; }
.pf-qc-verdict i { font-size: 26px; color: var(--m); animation: pfBlink 2s ease infinite; }
.pf-qc-verdict b { display: block; font-family: var(--f-disp); font-size: 19px; font-weight: 800; letter-spacing: .04em; color: var(--m); }
.pf-qc-verdict em { font-style: normal; font-size: 11px; color: var(--muted); font-family: var(--f-mono); }
.pf-qc-meter { flex: 1; text-align: right; font-family: var(--f-mono); font-size: 10px; color: var(--muted); }
.pf-qc-meter i { display: block; height: 4px; margin: 5px 0 3px; border-radius: 99px; background: rgba(167, 139, 250, .13); overflow: hidden; }
.pf-qc-meter i b { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.4s var(--ease); }
.pf-qc-meter em { font-style: normal; color: var(--a); }
.pf-qc-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 9.5px;
}
/* ============================================================
   LAB
   ============================================================ */
.pf-lab {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
}
.pf-lab-card {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(21, 14, 38, .62), rgba(10, 7, 19, .5));
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.pf-lab-card:hover { transform: translateY(-8px); border-color: var(--line-2); }
.pf-lab-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--grad);
  filter: blur(60px);
  opacity: .16;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.pf-lab-card:hover .pf-lab-glow { opacity: .34; transform: scale(1.2); }
.pf-lab-card > i {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 15px;
  font-size: 19px;
  color: var(--v2);
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, .07);
  transition: .45s var(--ease);
}
.pf-lab-card:hover > i { color: #0a0713; background: var(--grad); border-color: transparent; transform: rotate(-6deg); }
.pf-lab-card h3 { margin: 0 0 10px; font-family: var(--f-disp); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.pf-lab-card p { margin: 0 0 16px; font-size: 13.8px; color: var(--muted); }
/* ============================================================
   SEMINAR
   ============================================================ */
.pf-sec-seminar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 50% 0%, rgba(245, 158, 11, .07), transparent 70%);
  pointer-events: none;
}
.pf-sem-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 46px;
}
.pf-sem-stats > div {
  padding: 20px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
  text-align: center;
}
.pf-sem-stats b {
  font-family: var(--f-disp);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pf-sem-stats em { font-style: normal; font-family: var(--f-disp); font-size: 18px; font-weight: 700; color: var(--m); }
.pf-sem-stats span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.pf-sem-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.pf-sem-topics { display: grid; gap: 12px; }
.pf-topic {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, .035);
  transition: .4s var(--ease);
}
.pf-topic:hover { border-color: var(--line-2); background: rgba(167, 139, 250, .08); transform: translateX(6px); }
.pf-topic > span { color: var(--m); letter-spacing: .16em; padding-top: 3px; }
.pf-topic h3 { margin: 0 0 6px; font-family: var(--f-disp); font-size: 16.5px; font-weight: 600; }
.pf-topic p { margin: 0; font-size: 13.2px; color: var(--muted); }
.pf-topic em {
  margin-left: auto;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-style: normal;
  color: var(--dim);
  white-space: nowrap;
}
.pf-sem-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pf-shot {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1230, #0d0918);
  transition: transform .5s var(--ease), border-color .4s;
}
.pf-shot:nth-child(3n) { grid-column: span 2; aspect-ratio: 16 / 9; }
.pf-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.55) contrast(1.05) brightness(.78);
  transition: .6s var(--ease);
}
.pf-shot:hover { border-color: var(--line-2); transform: translateY(-6px); }
.pf-shot:hover img { filter: saturate(1) brightness(.95); transform: scale(1.06); }
.pf-shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  font-size: 11px;
  color: #e9e3f8;
  background: linear-gradient(180deg, transparent, rgba(10, 7, 19, .92));
}
.pf-shot figcaption i { color: var(--m); margin-right: 6px; }
.pf-sem-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 26px 30px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: var(--grad-soft);
}
.pf-sem-cta b { display: block; font-family: var(--f-disp); font-size: 19px; font-weight: 700; }
.pf-sem-cta span { font-size: 13.5px; color: var(--muted); }
.pf-sem-cta a { margin-left: auto; }
/* ============================================================
   TIMELINE
   ============================================================ */
.pf-timeline { position: relative; padding-left: 34px; margin-bottom: 66px; }
.pf-timeline-line {
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  border-radius: 99px;
  background: rgba(167, 139, 250, .13);
  overflow: hidden;
}
.pf-timeline-line b { display: block; width: 100%; height: 0; background: var(--grad); }
.pf-tl-item { position: relative; display: flex; gap: 22px; padding: 16px 0 22px; }
.pf-tl-dot {
  position: absolute;
  left: -34px; top: 24px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: rgba(167, 139, 250, .3);
  transition: .4s var(--ease);
}
.pf-tl-item.is-in .pf-tl-dot { background: var(--grad); box-shadow: 0 0 0 4px rgba(139, 92, 246, .14); }
.pf-tl-year {
  flex: 0 0 auto;
  width: 62px;
  padding-top: 4px;
  font-size: 15px;
  color: var(--m);
  letter-spacing: .04em;
}
.pf-tl-item h3 { margin: 0 0 6px; font-family: var(--f-disp); font-size: 19px; font-weight: 600; }
.pf-tl-item p { margin: 0; font-size: 14px; color: var(--muted); max-width: 68ch; }
.pf-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.pf-stack-group {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, .035);
}
.pf-stack-group > b {
  display: block;
  margin-bottom: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--m);
}
/* ============================================================
   MARQUEE & MITRA
   ============================================================ */
.pf-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.pf-marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: pfMarquee 34s linear infinite;
}
@keyframes pfMarquee { to { transform: translateX(-50%); } }
.pf-logos { display: grid; gap: 14px; margin: 0 0 56px; }
.pf-logo-track { gap: 16px; animation-duration: 42s; }
.pf-logo-track.is-reverse { animation-direction: reverse; animation-duration: 52s; }
.pf-logos:hover .pf-marquee-track { animation-play-state: paused; }
.pf-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, .04);
  white-space: nowrap;
  filter: grayscale(.8);
  opacity: .68;
  transition: .45s var(--ease);
}
.pf-logo:hover { filter: none; opacity: 1; border-color: var(--line-2); background: rgba(167, 139, 250, .1); transform: translateY(-4px); }
.pf-logo img { width: 38px; height: 38px; object-fit: contain; }
.pf-partner-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.pf-logo b { display: block; font-family: var(--f-disp); font-size: 14.5px; font-weight: 600; }
.pf-logo em { font-style: normal; font-family: var(--f-mono); font-size: 10px; color: var(--dim); }
/* Testimoni gaya chat */
.pf-testi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
  gap: 18px;
}
.pf-testi-item { margin: 0; display: flex; flex-direction: column; }
.pf-testi-item blockquote {
  position: relative;
  flex: 1;
  margin: 0 0 12px;
  padding: 18px 20px 12px;
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
}
.pf-testi-item.c-v blockquote { background: linear-gradient(140deg, rgba(139, 92, 246, .16), rgba(139, 92, 246, .05)); border-color: rgba(139, 92, 246, .26); }
.pf-testi-item.c-m blockquote { background: linear-gradient(140deg, rgba(236, 72, 153, .15), rgba(236, 72, 153, .04)); border-color: rgba(236, 72, 153, .26); }
.pf-testi-item.c-a blockquote { background: linear-gradient(140deg, rgba(245, 158, 11, .14), rgba(245, 158, 11, .04)); border-color: rgba(245, 158, 11, .26); }
.pf-testi-item blockquote::after {
  content: '';
  position: absolute;
  left: -1px; bottom: -9px;
  border: 5px solid transparent;
  border-top-color: rgba(255, 255, 255, .08);
  border-right-color: rgba(255, 255, 255, .08);
}
.pf-testi-item figcaption { display: flex; align-items: center; gap: 11px; padding-left: 6px; }
.pf-testi-item figcaption b { display: block; font-size: 13.5px; font-family: var(--f-disp); }
.pf-testi-item figcaption em { font-style: normal; font-size: 11.5px; color: var(--muted); }
/* ============================================================
   KONTAK
   ============================================================ */
.pf-sec-kontak::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 45% at 70% 40%, rgba(139, 92, 246, .1), transparent 70%);
  pointer-events: none;
}
.pf-kontak-grid { display: grid; grid-template-columns: 1fr .86fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.pf-contact-list { display: grid; gap: 10px; margin-top: 32px; }
.pf-contact-list a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(167, 139, 250, .035);
  transition: .4s var(--ease);
  overflow: hidden;
}
.pf-contact-list a:hover { border-color: var(--line-2); transform: translateX(6px); }
.pf-contact-list a > i {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border-radius: 13px;
  font-size: 16px;
  color: var(--v2);
  background: rgba(167, 139, 250, .08);
  border: 1px solid var(--line);
  transition: .4s var(--ease);
}
.pf-contact-list a:hover > i { color: #0a0713; background: var(--grad); border-color: transparent; }
.pf-contact-list b { display: block; font-size: 14px; font-family: var(--f-disp); }
.pf-contact-list em { font-style: normal; font-size: 12.5px; color: var(--muted); word-break: break-all; }
.pf-contact-list .pf-mono {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(37, 211, 102, .13);
  color: var(--wa);
  font-size: 9.5px;
  white-space: nowrap;
}
.pf-phone-compose .pf-chat-compose { min-height: 190px; max-height: none; }
.pf-chat-compose .pf-msg { display: block !important; opacity: 1 !important; transform: none !important; animation: none !important; }
#pfComposePreview { color: var(--ink); }
.pf-compose-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 12px;
}
.pf-compose-chips button {
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(167, 139, 250, .07);
  font-size: 11.5px;
  color: var(--muted);
  transition: .3s var(--ease);
}
.pf-compose-chips button:hover,
.pf-compose-chips button.is-active { color: #0a0713; background: var(--grad); border-color: transparent; }
.pf-compose-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 14px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .25);
}
.pf-compose-bar > i { color: var(--dim); font-size: 15px; }
.pf-compose-bar input {
  flex: 1;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 13px;
  outline: none;
}
.pf-compose-bar input::placeholder { color: var(--dim); }
.pf-compose-bar button {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #0a0713;
  background: var(--grad);
  transition: transform .3s var(--ease);
}
.pf-compose-bar button:hover { transform: scale(1.1) rotate(-8deg); }
/* ============================================================
   FOOTER
   ============================================================ */
.pf-footer { position: relative; padding: 70px 0 34px; border-top: 1px solid var(--line); overflow: hidden; }
.pf-footer-big {
  position: absolute;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-family: var(--f-disp);
  font-size: clamp(64px, 17vw, 220px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(167, 139, 250, .13);
  pointer-events: none;
  user-select: none;
}
.pf-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  padding-top: 40px;
}
.pf-footer-grid > div:first-child { flex: 1 1 280px; }
.pf-footer-note { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); max-width: 40ch; }
.pf-footer-grid nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 26px; }
.pf-footer-grid nav a { font-size: 13.5px; color: var(--muted); transition: color .3s; }
.pf-footer-grid nav a:hover { color: var(--ink); }
.pf-footer-social { display: flex; gap: 10px; }
.pf-footer-social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: .35s var(--ease);
}
.pf-footer-social a:hover { color: #0a0713; background: var(--grad); border-color: transparent; transform: translateY(-4px); }
.pf-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10.5px;
}
.pf-admin-link { color: var(--dim); opacity: .5; transition: opacity .3s, color .3s; }
.pf-admin-link:hover { opacity: 1; color: var(--v2); }
.pf-admin-link i { margin-right: 5px; font-size: 9px; }
/* FAB */
.pf-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 6500;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 15px;
  border-radius: 99px;
  color: #0a0713;
  background: var(--wa);
  box-shadow: 0 14px 36px rgba(37, 211, 102, .36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.9);
  transition: .45s var(--ease);
}
.pf-fab.is-shown { opacity: 1; visibility: visible; transform: none; }
.pf-fab i { font-size: 22px; }
.pf-fab b {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13.5px;
  font-family: var(--f-disp);
  transition: max-width .45s var(--ease), margin .45s var(--ease);
}
.pf-fab:hover b { max-width: 130px; margin-left: 10px; }
.pf-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 99px;
  border: 2px solid var(--wa);
  animation: pfRipple 2.4s ease infinite;
}
@keyframes pfRipple {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes pfWheel {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(13px); opacity: 0; }
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .pf-rail { display: none; }
  .pf-stage { flex-direction: column; align-items: center; }
  .pf-trace, .pf-sidenote { max-width: min(360px, 100%); width: 100%; }
  .pf-wa-toast { position: relative; right: auto; left: auto; bottom: auto; width: min(340px, 100%); margin: 0; animation: none; }
  .pf-wa-toast-qc { left: auto; }
  .pf-stage-stack .pf-wa-toast,
  .pf-stage-stack.is-left .pf-wa-toast { align-self: center; margin: -26px 0 0; }
}
@media (max-width: 1024px) {
  .pf-nav-links { display: none; }
  .pf-burger { display: flex; }
  .pf-nav-cta { display: none; }
  .pf-hero-grid { grid-template-columns: 1fr; }
  .pf-hero-visual { max-width: 460px; margin: 34px auto 0; }
  .pf-loop { grid-template-columns: 1fr; }
  .pf-loop-ring { max-width: 380px; margin: 0 auto; }
  .pf-loop-panels { min-height: 400px; }
  .pf-case-grid { grid-template-columns: 1fr; }
  .pf-case.is-flip .pf-case-copy,
  .pf-case.is-flip .pf-case-visual { order: 0; }
  .pf-case-visual { display: flex; justify-content: center; }
  .pf-sem-grid { grid-template-columns: 1fr; }
  .pf-kontak-grid { grid-template-columns: 1fr; }
  .pf-kontak-visual { max-width: 400px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .pf-wrap { width: min(1240px, 100% - 32px); }
  .pf-sem-stats { grid-template-columns: repeat(2, 1fr); }
  .pf-case-metrics { grid-template-columns: repeat(2, 1fr); }
  .pf-sem-gallery { grid-template-columns: repeat(2, 1fr); }
  .pf-shot:nth-child(3n) { grid-column: span 2; }
  .pf-footer-grid nav { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .pf-sem-cta a { margin-left: 0; }
  .pf-topic { flex-wrap: wrap; }
  .pf-topic em { margin-left: 0; }
}
@media (max-width: 560px) {
  .pf-hero { padding-bottom: 170px; }
  .pf-loop-node { width: 66px; height: 66px; margin: -33px 0 0 -33px; transform: rotate(var(--a)) translateY(-118px) rotate(calc(-1 * var(--a))); }
  .pf-loop-node i { font-size: 15px; }
  .pf-loop-node b { font-size: 7.5px; }
  .pf-loop-core { width: 112px; height: 112px; }
  .pf-loop-core b { font-size: 15px; }
  .pf-loop-panel { padding: 22px; }
  .pf-loop-panels { min-height: 470px; }
  .pf-dash { padding: 15px; }
  .pf-dash-kpis { grid-template-columns: 1fr; }
  .pf-dash-kpis > div { display: flex; align-items: baseline; gap: 8px; }
  .pf-dash-kpis b { font-size: 20px; }
  .pf-timeline { padding-left: 26px; }
  .pf-tl-dot { left: -26px; width: 13px; height: 13px; }
  .pf-tl-item { flex-direction: column; gap: 4px; }
  .pf-footer-bottom { flex-direction: column; }
  .pf-fab { right: 14px; bottom: 14px; padding: 13px; }
  .pf-phone .pf-chat { min-height: 340px; max-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  body.pf *,
  body.pf *::before,
  body.pf *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .pf-net, .pf-grain, .pf-scanline { display: none; }
}