/* ===== SVG MOTION — dipakai lintas halaman (di-link dari header.php) ===== */

/* 0) Body dibuat transparan supaya latar 4D (z-index:-1) terlihat. Background body yang
   solid akan menutupi lapisan negatif, jadi html tetap jadi kanvas warna dasar. */
html body{background-color:transparent !important;}


/* 0b) Wrapper halaman (main, section, footer, container) dibuat transparan warnanya agar
   latar 4D terlihat di bawah konten. Kartu (.card) tetap punya latar sendiri. */
html body main, html body main > *, html body section, html body footer,
html body .container, html body [class*="-wrap"], html body [class*="-wrapper"], html body [class*="page-"] {
    background-color: transparent !important;
}

/* 1) Latar 4D full-page (fixed, di belakang konten; posisinya ikut scroll) */
.bg4d{position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; perspective:1000px; transform-style:preserve-3d; color:var(--ink, #0A0A0A);}
.bg4d-layer{position:absolute; inset:-8% -4%; will-change:transform;}
.bg4d-layer svg{width:100%; height:100%; display:block;}
.bg4d-l1{opacity:.30; transform:translate3d(0, calc(var(--sy, 0) * -0.05px), -220px) rotate(calc(var(--sy, 0) * 0.006deg));}
.bg4d-l2{opacity:.40; transform:translate3d(0, calc(var(--sy, 0) * -0.14px), -90px) rotateX(calc(var(--sy, 0) * 0.012deg));}
.bg4d-l3{opacity:.46; transform:translate3d(0, calc(var(--sy, 0) * -0.26px), 0) rotateY(calc(var(--sy, 0) * -0.01deg));}
@media (max-width: 768px){ .bg4d-l2, .bg4d-l3{opacity:.32;} }

/* 2) Dekorasi di DALAM kartu: strip SVG di tepi kiri & kanan (pseudo ::after, di belakang konten) */
.card{isolation:isolate; padding-left:34px; padding-right:34px;}
.card::after{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; border-radius:inherit;
    background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 200%22 preserveAspectRatio=%22none%22%3E%3Cline x1=%2212%22 y1=%220%22 x2=%2212%22 y2=%22200%22 stroke=%22%230EA5E9%22 stroke-opacity=%22.35%22 stroke-width=%221.2%22 stroke-dasharray=%224 6%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%220%22 to=%22-40%22 dur=%222s%22 repeatCount=%22indefinite%22/%3E%3C/line%3E%3Crect x=%229%22 y=%220%22 width=%226%22 height=%2210%22 fill=%22%2322C55E%22%3E%3Canimate attributeName=%22y%22 values=%220;190;0%22 dur=%227s%22 repeatCount=%22indefinite%22/%3E%3C/rect%3E%3Cpath d=%22M4 50H12M12 120H20M4 160H12%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.2%22 fill=%22none%22/%3E%3Crect x=%2210%22 y=%2296%22 width=%224%22 height=%224%22 fill=%22%230EA5E9%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 200%22 preserveAspectRatio=%22none%22%3E%3Cline x1=%2212%22 y1=%220%22 x2=%2212%22 y2=%22200%22 stroke=%22%236C8BFF%22 stroke-opacity=%22.35%22 stroke-width=%221.2%22 stroke-dasharray=%223 5%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%220%22 to=%2240%22 dur=%222.4s%22 repeatCount=%22indefinite%22/%3E%3C/line%3E%3Crect x=%229%22 y=%22190%22 width=%226%22 height=%2210%22 fill=%22%236C8BFF%22%3E%3Canimate attributeName=%22y%22 values=%22190;0;190%22 dur=%228s%22 repeatCount=%22indefinite%22/%3E%3C/rect%3E%3Cpath d=%22M8 80H20M4 140H12M12 30H20%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.2%22 fill=%22none%22/%3E%3Ccircle cx=%2212%22 cy=%22170%22 r=%222.5%22 fill=%22%2322C55E%22%3E%3Canimate attributeName=%22opacity%22 values=%22.3;1;.3%22 dur=%222s%22 repeatCount=%22indefinite%22/%3E%3C/circle%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:left 5px top 0, right 5px top 0;
    background-size:24px 100%, 24px 100%;}

/* 3) Hero halaman lain (hero generik) — ilustrasi SVG di sisi kanan */
.hero:not(.ph-hero), .docs-hero, .owner-hero, .dvc-hero{position:relative; isolation:isolate;}
.hero:not(.ph-hero)::after, .docs-hero::after, .owner-hero::after, .dvc-hero::after{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 640 360%22 preserveAspectRatio=%22xMaxYMid meet%22%3E%3Cdefs%3E%3ClinearGradient id=%22hgGS%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%230EA5E9%22 stop-opacity=%22.55%22/%3E%3Cstop offset=%221%22 stop-color=%22%2322C55E%22 stop-opacity=%220%22/%3E%3C/linearGradient%3E%3ClinearGradient id=%22hgGL%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%220%22%3E%3Cstop offset=%220%22 stop-color=%22%230EA5E9%22 stop-opacity=%220%22/%3E%3Cstop offset=%22.5%22 stop-color=%22%230EA5E9%22/%3E%3Cstop offset=%221%22 stop-color=%22%2322C55E%22 stop-opacity=%220%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg%3E%3CanimateTransform attributeName=%22transform%22 type=%22translate%22 values=%220 0;0 -18;0 0%22 dur=%229s%22 repeatCount=%22indefinite%22/%3E%3Cpath d=%22M396.8 108 L563.2 88.2 L588.2 135.7 L421.8 155.5 Z%22 fill=%22url(%23hgGS)%22 stroke=%22%23000%22 stroke-opacity=%22.14%22 stroke-width=%221.4%22/%3E%3C/g%3E%3Cg%3E%3CanimateTransform attributeName=%22transform%22 type=%22translate%22 values=%220 0;0 -12;0 0%22 dur=%2211s%22 repeatCount=%22indefinite%22/%3E%3Cpath d=%22M448 187.2 L588.8 171 L609.9 209.9 L469.1 226.1 Z%22 fill=%22url(%23hgGS)%22 stroke=%22%23000%22 stroke-opacity=%22.14%22 stroke-width=%221.4%22/%3E%3C/g%3E%3Cg%3E%3CanimateTransform attributeName=%22transform%22 type=%22translate%22 values=%220 0;0 -22;0 0%22 dur=%2213s%22 repeatCount=%22indefinite%22/%3E%3Cpath d=%22M358.4 259.2 L473.6 246.6 L490.9 276.8 L375.7 289.4 Z%22 fill=%22url(%23hgGS)%22 stroke=%22%23000%22 stroke-opacity=%22.14%22 stroke-width=%221.4%22/%3E%3C/g%3E%3Cg%3E%3CanimateTransform attributeName=%22transform%22 type=%22translate%22 values=%220 0;0 -14;0 0%22 dur=%228s%22 repeatCount=%22indefinite%22/%3E%3Cpolygon points=%22576,39.6 597.8,52.2 576,64.8 554.2,52.2%22 fill=%22%23FFFFFF%22 fill-opacity=%22.7%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22554.2,52.2 576,64.8 576,90 554.2,77.4%22 fill=%22%23F2F4F7%22 fill-opacity=%22.5%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22576,64.8 597.8,52.2 597.8,77.4 576,90%22 fill=%22%230EA5E9%22 fill-opacity=%22.22%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3C/g%3E%3Cg%3E%3CanimateTransform attributeName=%22transform%22 type=%22translate%22 values=%220 0;0 -14;0 0%22 dur=%2210s%22 repeatCount=%22indefinite%22/%3E%3Cpolygon points=%22307.2,158.4 325.9,169.2 307.2,180 288.5,169.2%22 fill=%22%23FFFFFF%22 fill-opacity=%22.7%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22288.5,169.2 307.2,180 307.2,201.6 288.5,190.8%22 fill=%22%23F2F4F7%22 fill-opacity=%22.5%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22307.2,180 325.9,169.2 325.9,190.8 307.2,201.6%22 fill=%22%2322C55E%22 fill-opacity=%22.22%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3C/g%3E%3Cg%3E%3CanimateTransform attributeName=%22transform%22 type=%22translate%22 values=%220 0;0 -14;0 0%22 dur=%2212s%22 repeatCount=%22indefinite%22/%3E%3Cpolygon points=%22537.6,270 553.2,279 537.6,288 522,279%22 fill=%22%23FFFFFF%22 fill-opacity=%22.7%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22522,279 537.6,288 537.6,306 522,297%22 fill=%22%23F2F4F7%22 fill-opacity=%22.5%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3Cpolygon points=%22537.6,288 553.2,279 553.2,297 537.6,306%22 fill=%22%236C8BFF%22 fill-opacity=%22.22%22 stroke=%22%23000%22 stroke-opacity=%22.18%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E%3C/g%3E%3Cg%3E%3CanimateTransform attributeName=%22transform%22 type=%22rotate%22 from=%220 499.2 180%22 to=%22360 499.2 180%22 dur=%2248s%22 repeatCount=%22indefinite%22/%3E%3Cellipse cx=%22499.2%22 cy=%22180%22 rx=%22128%22 ry=%22108%22 fill=%22none%22 stroke=%22%23000%22 stroke-opacity=%22.12%22 stroke-dasharray=%224 10%22/%3E%3Ccircle r=%225%22 fill=%22%230EA5E9%22%3E%3CanimateMotion dur=%2216.8s%22 repeatCount=%22indefinite%22 path=%22M371.2 180 a128 108 0 1 0 256 0 a128 108 0 1 0 -256 0%22/%3E%3C/circle%3E%3C/g%3E%3Cpath d=%22M192 43.2 C320 7.2 384 108 512 79.2%22 fill=%22none%22 stroke=%22%230EA5E9%22 stroke-opacity=%22.55%22 stroke-width=%222%22 stroke-dasharray=%228 16%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%220%22 to=%22-240%22 dur=%225s%22 repeatCount=%22indefinite%22/%3E%3C/path%3E%3Ccircle r=%223.5%22 fill=%22%230EA5E9%22%3E%3CanimateMotion dur=%226s%22 repeatCount=%22indefinite%22 path=%22M192 43.2 C320 7.2 384 108 512 79.2%22/%3E%3C/circle%3E%3Cpath d=%22M230.4 309.6 C358.4 252 448 345.6 640 280.8%22 fill=%22none%22 stroke=%22%2322C55E%22 stroke-opacity=%22.55%22 stroke-width=%222%22 stroke-dasharray=%228 16%22%3E%3Canimate attributeName=%22stroke-dashoffset%22 from=%220%22 to=%22-240%22 dur=%226s%22 repeatCount=%22indefinite%22/%3E%3C/path%3E%3Ccircle r=%223.5%22 fill=%22%2322C55E%22%3E%3CanimateMotion dur=%227s%22 repeatCount=%22indefinite%22 path=%22M230.4 309.6 C358.4 252 448 345.6 640 280.8%22/%3E%3C/circle%3E%3Ccircle cx=%22512%22 cy=%2279.2%22 r=%224%22 fill=%22%230EA5E9%22%3E%3Canimate attributeName=%22r%22 values=%223;7;3%22 dur=%223s%22 repeatCount=%22indefinite%22/%3E%3Canimate attributeName=%22opacity%22 values=%22.35;1;.35%22 dur=%223s%22 repeatCount=%22indefinite%22/%3E%3C/circle%3E%3Ccircle cx=%22307.2%22 cy=%22180%22 r=%224%22 fill=%22%2322C55E%22%3E%3Canimate attributeName=%22r%22 values=%223;7;3%22 dur=%224s%22 repeatCount=%22indefinite%22/%3E%3Canimate attributeName=%22opacity%22 values=%22.35;1;.35%22 dur=%224s%22 repeatCount=%22indefinite%22/%3E%3C/circle%3E%3Ccircle cx=%22448%22 cy=%22324%22 r=%224%22 fill=%22%236C8BFF%22%3E%3Canimate attributeName=%22r%22 values=%223;7;3%22 dur=%223.5s%22 repeatCount=%22indefinite%22/%3E%3Canimate attributeName=%22opacity%22 values=%22.35;1;.35%22 dur=%223.5s%22 repeatCount=%22indefinite%22/%3E%3C/circle%3E%3C/svg%3E") right center / min(560px, 62%) auto no-repeat;}

@media (prefers-reduced-motion: reduce){ .bg4d-layer{transition:none;} }

/* 4) Hero homepage: SVG 4D mengisi area hero (layer di belakang teks) */
.ph-hero-4d svg{position:absolute; inset:0; width:100%; height:100%; display:block;}

/* 5) SVG HP di hero homepage */
.ph-phone-hero{position:relative; width:100%; max-width:440px; margin:0 auto; }
.ph-phone-hero svg{width:100%; height:auto; display:block; overflow:visible;}

/* 6) Font seragam di seluruh situs: Space Grotesk. Kode/monospace tetap monospace. */
:root{ --font-body:'Space Grotesk', system-ui, sans-serif; --font-display:'Space Grotesk', system-ui, sans-serif; }
html body, html body *:not(code):not(pre):not(kbd):not(samp):not(.mono){
    font-family:'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}
