/* ===================================================================
   ICT TERMINAL PRO — SECTION EFFECTS LAYER
   Membawa kualitas visual beranda ke SEMUA section:
   aurora + grid per section, kartu kaca dengan spotlight kursor,
   border bercahaya, heading mask-reveal, angka ghost parallax,
   canvas candlestick global, transisi tab, dan footer bercahaya.
   File ini bersifat aditif: dimuat setelah style.css.
   =================================================================== */

@property --fx-ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --fx-glass: linear-gradient(155deg, rgba(24, 32, 48, 0.62), rgba(10, 14, 22, 0.5));
  --fx-glass-strong: linear-gradient(155deg, rgba(26, 36, 54, 0.78), rgba(10, 14, 22, 0.66));
  --fx-edge: rgba(255, 255, 255, 0.09);
  --fx-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

/* ---------------------------------------------------------------
   0. GLOBAL: canvas candlestick + cahaya kursor
   --------------------------------------------------------------- */
.fx-market {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s linear;
}

.fx-cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 242, 255, 0.075), rgba(154, 123, 255, 0.035) 40%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s;
  will-change: transform;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Section jadi transparan agar canvas & aurora terlihat */
.section.section-interface,
.section.section-lab,
.section.section-download,
.section.section-lisensi,
.section.section-faq,
.section.section-calc,
.section.section-features {
  background: transparent;
  isolation: isolate;
}

.section.section-calc {
  border-top: 1px solid var(--line);
}

/* Perbaikan: head kalkulator memakai .container + .section-head sekaligus
   sehingga max-width 900px merusak sejajar. Kembalikan ke lebar container. */
.section-calc>.container.section-head {
  max-width: var(--shell);
}

.section>.container,
.contact>.container {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------------
   1. BACKDROP PER SECTION (aurora + grid + garis cahaya)
   --------------------------------------------------------------- */
.fx-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  --c1: 111, 242, 255;
  --c2: 154, 123, 255;
}

.fx-bg .orb {
  position: absolute;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0);
}

.fx-bg .o1 {
  left: -14%;
  top: 4%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--c1), 0.34), transparent 66%);
  animation: fxFloatA 18s ease-in-out infinite alternate;
}

.fx-bg .o2 {
  right: -16%;
  bottom: 0%;
  width: min(54vw, 640px);
  background: radial-gradient(circle at 50% 50%, rgba(var(--c2), 0.3), transparent 66%);
  animation: fxFloatB 22s ease-in-out infinite alternate;
}

@keyframes fxFloatA {
  from { margin: 0 0 0 0; }
  to { margin: 6% 0 0 9%; }
}

@keyframes fxFloatB {
  from { margin: 0 0 0 0; }
  to { margin: -8% 7% 0 0; }
}

.fx-bg .grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  animation: fxGrid 40s linear infinite;
}

@keyframes fxGrid {
  to { background-position: 72px 72px, 72px 72px; }
}

.fx-bg .beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--c1), 0.9), rgba(var(--c2), 0.9), transparent);
  background-size: 38% 100%;
  background-repeat: no-repeat;
  animation: fxBeam 7s linear infinite;
  opacity: 0.85;
}

@keyframes fxBeam {
  from { background-position: -40% 0; }
  to { background-position: 140% 0; }
}

/* Warna aurora per section */
#features .fx-bg { --c1: 111, 242, 255; --c2: 58, 123, 255; }
#tampilan .fx-bg { --c1: 154, 123, 255; --c2: 58, 123, 255; }
#calculator .fx-bg { --c1: 255, 196, 107; --c2: 111, 242, 255; }
#orderbox .fx-bg { --c1: 69, 240, 165; --c2: 111, 242, 255; }
#download .fx-bg { --c1: 58, 123, 255; --c2: 111, 242, 255; }
#lisensi .fx-bg { --c1: 154, 123, 255; --c2: 255, 196, 107; }
#faq .fx-bg { --c1: 111, 242, 255; --c2: 154, 123, 255; }

/* Angka section raksasa (ghost) dengan parallax */
.fx-ghost {
  position: absolute;
  right: clamp(0.5rem, 4vw, 4rem);
  top: clamp(2rem, 6vw, 5rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(9rem, 24vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(var(--c1), 0.1), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translate3d(0, var(--gy, 0px), 0);
  user-select: none;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

/* ---------------------------------------------------------------
   2. JUDUL SECTION: mask-reveal per kata + eyebrow hidup
   --------------------------------------------------------------- */
.fx-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.08em 0.26em;
  margin: -0.06em -0.08em -0.26em;
}

.fx-w>span {
  display: inline-block;
  transform: translate3d(0, 112%, 0) rotate(5deg);
  transform-origin: 0 100%;
  opacity: 0;
  transition: transform 1.05s var(--ease), opacity 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms + 60ms);
}

.is-in .fx-w>span,
.fx-split.is-in .fx-w>span {
  transform: none;
  opacity: 1;
}

.section-title.fx-split,
.contact-title.fx-split {
  opacity: 1;
  transform: none;
}

.section-title.fx-split em,
.contact-title.fx-split em {
  font-style: normal;
}

/* Gradien bergerak pada judul setelah muncul */
.section-title.fx-split.is-in .fx-w>span {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, #a8ecff 55%, #fff 70%, #fff 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fxShine 2.4s var(--ease) 0.5s 1 forwards;
}

@keyframes fxShine {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

.eyebrow::before {
  width: 0;
  transition: width 0.9s var(--ease) 0.1s;
}

.is-in .eyebrow::before,
.eyebrow.is-in::before {
  width: 30px;
  background: linear-gradient(90deg, rgba(var(--c1, 111, 242, 255), 0.9), var(--line-strong));
}

.eyebrow {
  padding: 0.38rem 0.9rem 0.38rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .eyebrow {
  padding: 0;
  border: 0;
  background: none;
  backdrop-filter: none;
}

/* ---------------------------------------------------------------
   3. SPOTLIGHT + EDGE (kursor) untuk kartu
   --------------------------------------------------------------- */
[data-fx] {
  position: relative;
  --mx: 50%;
  --my: 50%;
}

.fx-spot,
.fx-edge,
.fx-rot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.fx-spot {
  z-index: 3;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(111, 242, 255, 0.11), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s;
  mix-blend-mode: screen;
}

.fx-edge {
  z-index: 4;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(111, 242, 255, 0.95), rgba(154, 123, 255, 0.5) 45%, transparent 70%);
  -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: 0;
  transition: opacity 0.45s;
}

[data-fx]:hover>.fx-spot,
[data-fx]:hover>.fx-edge {
  opacity: 1;
}

/* Border berputar untuk kartu unggulan */
.fx-rot {
  z-index: 4;
  padding: 1.5px;
  background: conic-gradient(from var(--fx-ang), transparent 0deg, rgba(111, 242, 255, 0.95) 50deg, rgba(154, 123, 255, 0.9) 110deg, transparent 170deg, 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: fxSpin 6s linear infinite;
  opacity: 0.9;
}

@keyframes fxSpin {
  to { --fx-ang: 360deg; }
}

/* Tilt 3D */
.js .reveal.is-in.fx-live[data-fx-tilt] {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease-soft), border-color 0.4s, background-color 0.4s, opacity 0.6s;
  transition-delay: 0s;
}

.js .reveal.is-in.fx-live[data-fx-tilt]:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}

/* ---------------------------------------------------------------
   4. FEATURES — bento glass + pilar
   --------------------------------------------------------------- */
.cap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  border-top: 0;
}

.cap-row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  border: 1px solid var(--fx-edge);
  border-radius: var(--radius-lg);
  background: var(--fx-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--fx-shadow);
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.4s, box-shadow 0.5s;
}

.cap-row:hover {
  padding-left: clamp(1.4rem, 2.2vw, 2rem);
  border-color: rgba(111, 242, 255, 0.22);
  transform: translateY(-6px);
  box-shadow: 0 40px 90px -40px rgba(58, 123, 255, 0.45), var(--fx-shadow);
}

.cap-row::before {
  inset: auto 0 0 0;
  height: 2px;
  background: var(--grad-cyan);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.cap-row:hover::before {
  transform: scaleX(1);
}

.cap-index {
  align-self: flex-start;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.6rem;
  transition: color 0.3s, background-color 0.4s, border-color 0.3s, transform 0.5s var(--ease);
}

.cap-row:hover .cap-index {
  background: rgba(111, 242, 255, 0.1);
  border-color: var(--line-cyan);
  transform: translateX(4px);
}

.cap-title {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

.cap-main {
  flex: 1;
}

.cap-tags {
  padding-top: 0;
  flex-wrap: wrap;
}

.cap-row:hover .cap-tags span {
  color: var(--cyan);
  border-color: var(--line-cyan);
}

.cap-tags span {
  transition: color 0.3s, border-color 0.3s;
}

.pillar-grid {
  gap: clamp(0.7rem, 1.2vw, 1rem);
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.pillar {
  background: var(--fx-glass);
  border: 1px solid var(--fx-edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--fx-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pillar:hover {
  background: var(--fx-glass-strong);
  border-color: rgba(154, 123, 255, 0.3);
}

.pillar::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 123, 255, 0.28), transparent 70%);
  filter: blur(8px);
  opacity: 0.55;
  transition: opacity 0.5s, transform 0.8s var(--ease);
  pointer-events: none;
}

.pillar:hover::before {
  opacity: 1;
  transform: scale(1.6);
}

.pillar-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(111, 242, 255, 0.07);
  border: 1px solid rgba(111, 242, 255, 0.18);
}

/* ---------------------------------------------------------------
   5. INTERFACE / TABS
   --------------------------------------------------------------- */
.showcase-nav {
  border-top: 0;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--fx-edge);
  border-radius: var(--radius-lg);
  background: var(--fx-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--fx-shadow);
}

.tab-btn {
  position: relative;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: color 0.3s, background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}

.tab-btn:hover {
  padding-left: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  padding-left: 1rem;
  background: linear-gradient(100deg, rgba(111, 242, 255, 0.12), rgba(154, 123, 255, 0.08));
  border-color: var(--line-cyan);
  box-shadow: 0 0 30px -10px rgba(111, 242, 255, 0.5);
}

.tab-btn::after {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 3px;
  background: var(--grad-cyan);
  transform: scaleY(0);
  transition: transform 0.5s var(--ease);
}

.tab-btn.active::after {
  transform: scaleY(1);
}

.tab-pane.active {
  animation: none;
}

.tab-pane.active .tab-media {
  animation: fxMediaIn 1s var(--ease) both;
}

.tab-pane.active .tab-body>* {
  animation: fxRise 0.8s var(--ease) both;
}

.tab-pane.active .tab-body>*:nth-child(1) { animation-delay: 0.12s; }
.tab-pane.active .tab-body>*:nth-child(2) { animation-delay: 0.2s; }
.tab-pane.active .tab-body>*:nth-child(3) { animation-delay: 0.28s; }
.tab-pane.active .tab-body>*:nth-child(4) { animation-delay: 0.36s; }

.tab-pane.active .bullets li {
  animation: fxRise 0.7s var(--ease) both;
}

.tab-pane.active .bullets li:nth-child(1) { animation-delay: 0.4s; }
.tab-pane.active .bullets li:nth-child(2) { animation-delay: 0.5s; }
.tab-pane.active .bullets li:nth-child(3) { animation-delay: 0.6s; }

@keyframes fxMediaIn {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateY(-8deg) scale(0.94);
    filter: blur(8px);
    clip-path: inset(0 40% 0 0 round 16px);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateY(0) scale(1);
    filter: blur(0);
    clip-path: inset(0 0 0 0 round 16px);
  }
}

@keyframes fxRise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}

.tab-media {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: 0 50px 100px -50px rgba(58, 123, 255, 0.55), 0 0 0 1px var(--fx-edge);
}

.tab-media img {
  border-radius: inherit;
}

/* Garis scan melintas pada gambar */
.fx-scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
}

.fx-scan::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  top: -30%;
  background: linear-gradient(180deg, transparent, rgba(111, 242, 255, 0.14), transparent);
  animation: fxScan 5.5s ease-in-out infinite;
}

@keyframes fxScan {
  0% { top: -30%; }
  60%, 100% { top: 120%; }
}

/* ---------------------------------------------------------------
   6. CALCULATOR
   --------------------------------------------------------------- */
.calc-box {
  position: relative;
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(255, 196, 107, 0.09), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(111, 242, 255, 0.07), transparent 60%),
    var(--fx-glass-strong);
  border-color: var(--fx-edge);
  box-shadow: var(--fx-shadow), 0 60px 120px -60px rgba(255, 196, 107, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.calc-result {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(8, 11, 17, 0.85), rgba(14, 20, 31, 0.75));
  overflow: hidden;
}

.calc-result::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.05) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: fxSheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fxSheen {
  0% { background-position: 150% 0; }
  60%, 100% { background-position: -50% 0; }
}

.metric-val,
.readout-val {
  display: inline-block;
  text-shadow: 0 0 18px currentColor;
}

.fx-flash {
  animation: fxFlash 0.7s var(--ease);
}

@keyframes fxFlash {
  0% { transform: translateY(8px) scale(0.96); opacity: 0.2; filter: blur(4px); }
  100% { transform: none; opacity: 1; filter: blur(0); }
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(111, 242, 255, 0.14), 0 0 30px -8px rgba(111, 242, 255, 0.5);
}

.input-wrap {
  transition: box-shadow 0.4s, border-color 0.4s;
}

.input-wrap:focus-within {
  border-color: var(--line-cyan);
  box-shadow: 0 0 0 3px rgba(111, 242, 255, 0.1), 0 0 30px -8px rgba(111, 242, 255, 0.45);
}

/* ---------------------------------------------------------------
   7. ORDER BOX LAB
   --------------------------------------------------------------- */
.lab {
  position: relative;
  background: var(--fx-glass-strong);
  border-color: var(--fx-edge);
  box-shadow: var(--fx-shadow), 0 60px 130px -60px rgba(69, 240, 165, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lab-panel {
  position: relative;
  overflow: hidden;
}

.lab-panel::before {
  content: '';
  position: absolute;
  left: -30%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(111, 242, 255, 0.05), transparent);
  transform: skewX(-18deg) translateX(-120%);
  animation: fxSweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fxSweep {
  0% { transform: skewX(-18deg) translateX(-120%); }
  50%, 100% { transform: skewX(-18deg) translateX(420%); }
}

.lab-stage {
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 60px -20px rgba(69, 240, 165, 0.25) inset;
}

/* ---------------------------------------------------------------
   8. DOWNLOAD
   --------------------------------------------------------------- */
.dl-card {
  background: var(--fx-glass);
  border-color: var(--fx-edge);
  box-shadow: var(--fx-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dl-card:hover {
  background: var(--fx-glass-strong);
  transform: none;
  border-color: rgba(111, 242, 255, 0.22);
}

.dl-card.featured {
  box-shadow: var(--fx-shadow), 0 50px 110px -50px rgba(58, 123, 255, 0.55);
}

.dl-list li {
  transition: transform 0.4s var(--ease), color 0.3s;
}

.dl-card:hover .dl-list li,
.pricing-card:hover .dl-list li {
  color: #dfe7f3;
}

.dl-card:hover .dl-list li:nth-child(odd) {
  transform: translateX(3px);
}

.dl-meta span {
  transition: border-color 0.3s, color 0.3s;
}

.dl-card:hover .dl-meta span {
  border-color: var(--line-cyan);
  color: var(--cyan);
}

/* Kilau pada tombol utama */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: fxBtnShine 4.5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

@keyframes fxBtnShine {
  0%, 55% { transform: translateX(-130%); }
  85%, 100% { transform: translateX(130%); }
}

/* ---------------------------------------------------------------
   9. LISENSI
   --------------------------------------------------------------- */
.pricing-card {
  background: var(--fx-glass);
  border-color: var(--fx-edge);
  box-shadow: var(--fx-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pricing-card.highlight {
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(154, 123, 255, 0.14), transparent 65%),
    var(--fx-glass-strong);
  box-shadow: var(--fx-shadow), 0 60px 120px -50px rgba(154, 123, 255, 0.5);
}

.price {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price span {
  -webkit-text-fill-color: var(--muted);
}

.license-shot,
.pro-band {
  --wipe: 0;
}

.fx-wipe {
  clip-path: inset(0 100% 0 0 round 14px);
  transition: clip-path 1.3s var(--ease);
}

.fx-wipe.is-in {
  clip-path: inset(0 0 0 0 round 14px);
}

.pro-band img {
  transform: scale(1.14) translate3d(0, var(--iy, 0px), 0);
  will-change: transform;
  transition: opacity 0.5s;
}

.pro-band:hover img {
  transform: scale(1.14) translate3d(0, var(--iy, 0px), 0);
}

.pro-band {
  box-shadow: 0 60px 120px -60px rgba(154, 123, 255, 0.5), 0 0 0 1px var(--fx-edge);
}

/* ---------------------------------------------------------------
   10. FAQ
   --------------------------------------------------------------- */
.faq-accordion {
  display: grid;
  gap: 0.75rem;
  border-top: 0;
}

.faq-item {
  position: relative;
  border: 1px solid var(--fx-edge);
  border-radius: var(--radius-md);
  background: var(--fx-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 1.4rem;
  overflow: hidden;
  transition: border-color 0.4s, background-color 0.4s, box-shadow 0.5s, transform 0.5s var(--ease);
}

.faq-item:hover {
  border-color: rgba(111, 242, 255, 0.2);
  transform: translateX(4px);
}

.faq-item.open {
  border-color: var(--line-cyan);
  background: var(--fx-glass-strong);
  box-shadow: 0 30px 70px -40px rgba(111, 242, 255, 0.35);
}

.faq-item.open::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-cyan);
  z-index: 5;
}

.faq-item .faq-icon {
  transition: transform 0.6s var(--ease), color 0.3s, border-color 0.3s, background-color 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(135deg);
  color: var(--cyan);
}

/* ---------------------------------------------------------------
   11. CONTACT + FOOTER
   --------------------------------------------------------------- */
.contact {
  background: transparent;
  isolation: isolate;
}

.contact .fx-bg {
  --c1: 111, 242, 255;
  --c2: 154, 123, 255;
}

.contact .fx-bg::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: 120%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: conic-gradient(from var(--fx-ang), rgba(111, 242, 255, 0.28), rgba(154, 123, 255, 0.28), rgba(58, 123, 255, 0.24), rgba(111, 242, 255, 0.28));
  filter: blur(90px);
  opacity: 0.55;
  animation: fxSpin 14s linear infinite;
}

.contact-title.fx-split.is-in .fx-w>span {
  background: linear-gradient(100deg, #fff 10%, #8fe9ff 50%, #b9a6ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

.contact-actions .btn {
  box-shadow: 0 20px 50px -22px rgba(111, 242, 255, 0.5);
}

.site-footer {
  background: rgba(5, 6, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 242, 255, 0.8), rgba(154, 123, 255, 0.8), transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: fxBeam 8s linear infinite;
}

.footer-links a {
  position: relative;
  display: inline-block;
  transition: color 0.3s, transform 0.4s var(--ease);
}

.footer-links a:hover {
  transform: translateX(5px);
}

/* ---------------------------------------------------------------
   12. HEADER & marquee lebih modern
   --------------------------------------------------------------- */
.site-header.is-scrolled {
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(111, 242, 255, 0.12);
}

.marquee {
  position: relative;
  z-index: 2;
  background: rgba(8, 10, 16, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Reveal kartu: lebih dramatis (naik + blur + skala) */
.js .reveal {
  transform: translate3d(0, 44px, 0) scale(0.97);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-in {
  filter: none;
}

.js .section-title.reveal,
.js .contact-title.reveal {
  filter: none;
}

/* ---------------------------------------------------------------
   13. RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .cap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cap-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-ghost {
    font-size: 9rem;
    top: 1rem;
  }

  .fx-bg .orb {
    filter: blur(60px);
  }

  .showcase-nav {
    flex-direction: row;
    overflow-x: auto;
    position: static;
  }

  .tab-btn {
    flex: 0 0 auto;
  }

  .faq-item {
    padding: 0 1rem;
  }

  .fx-cursor-glow {
    display: none;
  }
}

/* ---------------------------------------------------------------
   14. REDUCED MOTION & fallback
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  .fx-bg .orb,
  .fx-bg .grid,
  .fx-bg .beam,
  .fx-rot,
  .fx-scan::before,
  .btn-primary::after,
  .calc-result::after,
  .lab-panel::before,
  .contact .fx-bg::after {
    animation: none !important;
  }

  .fx-w>span {
    transform: none;
    opacity: 1;
  }

  .fx-wipe {
    clip-path: none;
  }

  .js .reveal {
    filter: none;
    transform: none;
  }
}

html:not(.js) .fx-w>span {
  transform: none;
  opacity: 1;
}

/* Kursor kustom hanya untuk perangkat dengan mouse (hindari lingkaran diam di layar sentuh) */
body:not(.has-pointer) .cursor-ring,
body:not(.has-pointer) .cursor-dot {
  display: none;
}
