:root {
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: Consolas, Courier New, monospace;
  --bg: #f7f9fb;
  --bg-alt: #eef3f6;
  --surface: #ffffff;
  --navy: #172235;
  --navy-2: #20304a;
  --ink: #263241;
  --muted: #657383;
  --faint: #8b98a6;
  --line: #dfe7ec;
  --line-2: #c9d5dd;
  --line-on-navy: #46566b;
  --accent: #10c0d4;
  --accent-ink: #06434c;
  --gold: #f4b63d;
  --maxw: 1180px;
  --gut: 28px;
  --sec-pad: 96px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-150%); background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 14px; }
.skip-link:focus { transform: none; outline: 3px solid rgba(16, 192, 212, .28); }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--font-display); line-height: 1.05; letter-spacing: 0; }
p { margin: 0; }

.hdr { position: sticky; top: 0; z-index: 60; background: rgba(247, 249, 251, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.mark { display: inline-flex; align-items: center; border: 2px solid var(--navy); border-radius: 4px; color: var(--navy); font-family: var(--font-display); font-size: 22px; font-weight: 900; line-height: 1; padding: 3px 9px 2px; }
.sub { color: var(--muted); font-family: var(--font-mono); font-size: 11px; line-height: 1.35; text-transform: uppercase; }
.nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.nav a { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.nav a:hover, .nav a:focus-visible { color: var(--navy); outline: none; }
.hdr-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; }

.btn, .btn-primary, .btn-dark, .btn-ghost, .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-family: var(--font-mono); font-size: 13px; font-weight: 700; padding: 12px 18px; text-decoration: none; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover, .btn-primary:hover, .btn-dark:hover, .btn-ghost:hover, .menu-btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .btn-primary:focus-visible, .btn-dark:focus-visible, .btn-ghost:focus-visible, .menu-btn:focus-visible { outline: 3px solid rgba(16, 192, 212, .28); }
.btn, .btn-dark { background: var(--navy); color: #fff; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--navy); }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }

.hero { position: relative; overflow: hidden; padding: 96px 0 82px; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; opacity: .24; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px), radial-gradient(circle at 22% 30%, rgba(16, 192, 212, .22), transparent 28%); background-size: 120px 120px, 120px 120px, auto; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 740px; }
.eyebrow, .seclabel, .num, .tag, .k, .c, .ct-mail span, .quick button { font-family: var(--font-mono); letter-spacing: 0; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { max-width: 18ch; font-size: clamp(36px, 5.4vw, 64px); font-weight: 900; }
.hero .hl { color: var(--accent-ink); }
.lead { max-width: 58ch; margin-top: 26px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trustrow { display: flex; flex-wrap: wrap; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 20px; }
.trustrow span { margin-right: 20px; padding-right: 20px; border-right: 1px solid var(--line-2); color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.trustrow span:last-child { border-right: 0; }

.band { background: var(--navy); color: #fff; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-cell { padding: 30px 26px; border-right: 1px solid var(--line-on-navy); }
.band-cell:last-child { border-right: 0; }
.band-cell .k { color: var(--accent); font-size: 11px; margin-bottom: 10px; }
.band-cell .v { color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.25; }
.band-cell .d { margin-top: 6px; color: #c4d0dc; font-size: 13px; }

.services, .platform, .output, .workflow, .portfolio, .why, .contact { padding: var(--sec-pad) 0; border-bottom: 1px solid var(--line); }
.seclabel { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.seclabel .idx { color: var(--accent-ink); font-weight: 800; }
.seclabel .bar { flex: 1; height: 1px; background: var(--line-2); }
.sec-head { max-width: 690px; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

.svc-grid, .out-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.svc-grid { grid-template-columns: repeat(3, 1fr); }
.svc, .out { background: var(--surface); transition: background-color .15s ease; }
.svc:hover, .out:hover { background: var(--bg-alt); }
.svc { display: flex; min-height: 220px; flex-direction: column; gap: 12px; padding: 30px 26px; }
.svc .num { color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.svc h3 { font-size: 19px; }
.svc p { color: var(--muted); font-size: 14.5px; }
.svc .tag { margin-top: auto; color: var(--faint); font-size: 11px; }

.plat-feats { display: flex; overflow: hidden; margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plat-feats > div { flex: 1; min-width: 220px; display: flex; gap: 13px; padding: 20px 24px; border-right: 1px solid var(--line); }
.plat-feats > div:last-child { border-right: 0; }
.plat-feats .mk { color: var(--accent-ink); font-family: var(--font-mono); }
.ft-t { color: var(--navy); font-weight: 800; }
.ft-d { margin-top: 3px; color: var(--muted); font-size: 13px; }
.plat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.plat { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pl-browser { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.pl-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.pl-dots { display: flex; gap: 6px; }
.pl-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.pl-url { flex: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; white-space: nowrap; }
.pl-screen { display: flex; min-height: 214px; flex-direction: column; gap: 10px; padding: 18px; background: var(--bg); }
.pl-drop { border: 1px dashed var(--line-2); border-radius: 6px; background: var(--surface); color: var(--faint); font-family: var(--font-mono); font-size: 12px; padding: 18px; text-align: center; }
.pl-file { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 10px 12px; }
.ic { display: grid; flex: none; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.nm { flex: 1; min-width: 0; color: var(--ink); font-weight: 800; }
.nm small { display: block; color: var(--faint); font-family: var(--font-mono); font-size: 10px; font-weight: 400; }
.pl-prog { display: block; height: 4px; overflow: hidden; margin-top: 6px; border-radius: 999px; background: var(--line); }
.pl-prog i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.progress-78 { width: 78%; }
.badge, .badge.ok { flex: none; border-radius: 999px; background: #dff6ea; color: #166b3d; font-family: var(--font-mono); font-size: 10px; font-weight: 800; padding: 5px 10px; text-transform: uppercase; }
.plat .meta { display: flex; flex-direction: column; gap: 11px; padding: 24px; }
.plat .meta .k { color: var(--accent-ink); font-size: 11px; }
.plat .meta h3 { font-size: 22px; }
.plat .meta p { color: var(--muted); font-size: 14.5px; }

.out-grid { grid-template-columns: repeat(4, 1fr); }
.out { display: flex; min-height: 132px; flex-direction: column; gap: 8px; padding: 24px; }
.out .c { color: var(--faint); font-size: 11px; }
.out .t { color: var(--navy); font-family: var(--font-display); font-weight: 800; }
.out .x { margin-top: auto; color: var(--muted); font-size: 13px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-right: 28px; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 6px; right: 14px; bottom: 0; width: 1px; background: var(--line-2); }
.step .n { display: grid; width: 38px; height: 38px; margin-bottom: 22px; place-items: center; border: 2px solid var(--navy); border-radius: 50%; color: var(--navy); font-weight: 900; }
.step h3 { margin-bottom: 10px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; }
.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.port { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ph { display: grid; height: 220px; place-items: center; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(135deg, var(--bg-alt) 0 11px, var(--bg) 11px 22px); }
.ph span { border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); color: var(--faint); font-family: var(--font-mono); font-size: 11px; padding: 8px 12px; text-transform: uppercase; }
.port .meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.port .meta h3 { font-size: 18px; }
.port .meta span { color: var(--faint); font-family: var(--font-mono); font-size: 11px; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: flex; gap: 16px; border-bottom: 1px solid var(--line); padding: 17px 0; }
.why-list span { flex: none; color: var(--accent-ink); font-family: var(--font-mono); }
.glos { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; margin-top: 54px; border: 1px solid var(--line); border-radius: var(--radius); }
.glos-row { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); background: var(--surface); }
.glos-row span { border-right: 1px solid var(--line); background: var(--bg-alt); color: var(--navy); font-family: var(--font-mono); font-weight: 800; padding: 14px 16px; }
.glos-row p { color: var(--muted); font-size: 14px; padding: 14px 16px; }

.contact { background: var(--navy); color: #fff; }
.contact .seclabel, .contact p { color: #c4d0dc; }
.contact .seclabel .idx { color: var(--accent); }
.contact .seclabel .bar { background: var(--line-on-navy); }
.contact h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.ct-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.ct-left { display: grid; gap: 24px; align-content: start; }
.ct-mail { display: grid; gap: 7px; }
.ct-mail span { color: #97a6b8; font-size: 11px; }
.ct-mail a { color: var(--accent); font-family: var(--font-mono); overflow-wrap: anywhere; }
.form { display: grid; gap: 16px; border: 1px solid var(--line-on-navy); border-radius: var(--radius); background: rgba(255,255,255,.04); padding: 28px; }
.form label { display: grid; gap: 8px; color: #c4d0dc; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.form input, .form textarea { width: 100%; min-width: 0; border: 1px solid var(--line-on-navy); border-radius: 6px; background: rgba(255,255,255,.06); color: #fff; font-family: var(--font-body); font-size: 15px; padding: 12px 14px; }
.form input:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form textarea { min-height: 98px; resize: vertical; }
.field-label { color: #c4d0dc; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-on-navy); border-radius: 6px; background: transparent; color: #d7e0ea; cursor: pointer; font-family: var(--font-mono); font-size: 12px; padding: 8px 12px; }
.chip[data-on=true] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 800; }
.form-ok { color: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.foot { background: #111827; color: #aab7c7; padding: 42px 0; }
.foot .wrap { display: grid; gap: 16px; }
.foot .mark { color: #fff; border-color: #66758a; }
.foot p { max-width: 760px; font-size: 13px; }

.chat-agent { position: fixed; right: 24px; bottom: 24px; z-index: 80; }
.chat-fab { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; cursor: pointer; font-family: var(--font-mono); font-size: 13px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(23,34,53,.22); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chat-panel { display: flex; position: fixed; right: 24px; bottom: 24px; width: min(384px, calc(100vw - 32px)); height: min(560px, calc(100vh - 48px)); flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); box-shadow: 0 24px 60px rgba(23,34,53,.24); }
.chat-head { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 15px 16px; }
.av { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-weight: 900; }
.chat-head .t { font-weight: 800; }
.chat-head .s { color: #c4d0dc; font-family: var(--font-mono); font-size: 11px; }
.chat-x { margin-left: auto; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 20px; }
.chat-body { display: flex; flex: 1; flex-direction: column; gap: 12px; overflow-y: auto; background: var(--bg); padding: 16px; }
.msg { max-width: 86%; align-self: flex-start; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); padding: 10px 12px; font-size: 14px; }
.msg p { overflow-wrap: anywhere; }
.msg.user { align-self: flex-end; border-color: var(--navy); background: var(--navy); color: #fff; }
.quick { display: flex; flex-wrap: wrap; gap: 7px; background: var(--bg); padding: 0 16px 12px; }
.quick button { border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--navy); cursor: pointer; font-size: 11px; padding: 7px 10px; }
.chat-input { display: flex; gap: 8px; border-top: 1px solid var(--line); background: var(--surface); padding: 12px; }
.chat-input input { flex: 1; min-width: 0; border: 1px solid var(--line-2); border-radius: 7px; color: var(--ink); padding: 10px 12px; }
.chat-input button { border: 0; border-radius: 7px; background: var(--accent); color: var(--accent-ink); cursor: pointer; font-weight: 800; padding: 0 14px; }
.chat-note { background: var(--surface); color: var(--faint); font-family: var(--font-mono); font-size: 10px; padding: 0 12px 10px; text-align: center; }
.chat-agent.is-open .chat-fab { display: none; }

.js-enabled [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.js-enabled [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 940px) {
  :root { --sec-pad: 72px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; }
  .menu-open .nav { display: flex; position: fixed; left: 16px; right: 16px; top: 78px; z-index: 70; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); box-shadow: 0 20px 50px rgba(23,34,53,.18); }
  .menu-open .nav a { border-bottom: 1px solid var(--line); padding: 16px; }
  .menu-open .nav a:last-child { border-bottom: 0; }
  .menu-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(23,34,53,.3); opacity: 0; pointer-events: none; }
  .menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .band-cell:nth-child(2) { border-right: 0; }
  .band-cell:nth-child(1), .band-cell:nth-child(2) { border-bottom: 1px solid var(--line-on-navy); }
  .svc-grid, .out-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid, .port-grid, .split2, .ct-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .step::after { display: none; }
  .glos { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --gut: 18px; --sec-pad: 58px; }
  .hdr .wrap { gap: 14px; }
  .sub { display: none; }
  .hero { padding: 72px 0 58px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .actions, .ct-left { align-items: stretch; }
  .btn-primary, .btn-dark, .btn-ghost, .btn { width: 100%; }
  .band-grid, .svc-grid, .out-grid, .flow { grid-template-columns: 1fr; }
  .band-cell { border-right: 0; border-bottom: 1px solid var(--line-on-navy); }
  .plat-feats { flex-direction: column; }
  .plat-feats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trustrow span { border-right: 0; margin-bottom: 6px; }
  .glos-row { grid-template-columns: 1fr; }
  .glos-row span { border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-agent { right: 12px; bottom: 12px; }
  .chat-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); height: min(620px, calc(100vh - 24px)); }
}

section[id] { scroll-margin-top: 84px; }

/* ============================================================
   MOTION UPGRADE - v20260611
   Konsep: "pulsa cahaya di dalam fiber"
   Semua animasi pakai transform/opacity (GPU-friendly)
   dan dimatikan total saat prefers-reduced-motion.
   ============================================================ */
:root { --ease-out: cubic-bezier(.22, .61, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* --- Fix: tombol Menu tersembunyi di desktop (urutan rule lama menimpa display:none) --- */
.menu-btn { display: none; }
@media (max-width: 940px) { .menu-btn { display: inline-flex; } }

/* --- Header: elevasi saat scroll + progress bar fiber --- */
.hdr { transition: box-shadow .3s ease, background-color .3s ease; }
.hdr.is-scrolled { background: rgba(247, 249, 251, .97); box-shadow: 0 10px 30px rgba(23, 34, 53, .08); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--accent), #5fe0ee); box-shadow: 0 0 10px rgba(16, 192, 212, .5); transform: scaleX(var(--sp, 0)); transform-origin: left; }

/* --- Nav: garis bawah meluncur + state aktif (scrollspy) --- */
.nav a { position: relative; padding-bottom: 2px; transition: color .2s ease; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy); }

/* --- Hero: entrance berurutan + sapuan highlight --- */
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.js-enabled .hero-copy > * { opacity: 0; animation: rise-in .7s var(--ease-out) forwards; }
.js-enabled .hero-copy > :nth-child(1) { animation-delay: .05s; }
.js-enabled .hero-copy > :nth-child(2) { animation-delay: .16s; }
.js-enabled .hero-copy > :nth-child(3) { animation-delay: .3s; }
.js-enabled .hero-copy > :nth-child(4) { animation-delay: .44s; }
.js-enabled .hero-copy > :nth-child(5) { animation-delay: .58s; }
@keyframes hl-sweep { to { background-size: 100% 28%; } }
.js-enabled .hero .hl { background-image: linear-gradient(0deg, rgba(16, 192, 212, .3), rgba(16, 192, 212, .3)); background-repeat: no-repeat; background-position: 0 92%; background-size: 0% 28%; animation: hl-sweep .7s var(--ease-out) 1s forwards; }

/* --- Hero: jalur fiber + pulsa cahaya (signature) --- */
.hero-fiber { position: absolute; inset: 0; overflow: hidden; pointer-events: none; will-change: transform; -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .28) 0 36%, #000 62%); mask-image: linear-gradient(100deg, rgba(0, 0, 0, .28) 0 36%, #000 62%); }
.hero-fiber svg { display: block; width: 100%; height: 100%; }
.fiber-path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.fiber-node { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; }
.fiber-pulse .halo { fill: rgba(16, 192, 212, .22); }
.fiber-pulse .core { fill: var(--accent); }

/* --- Reveal saat scroll: easing halus + stagger per grup (delay diisi JS) --- */
.js-enabled [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js-enabled [data-reveal].is-visible { opacity: 1; transform: none; }

/* --- Tombol: panah bergeser + glow lembut --- */
.arr { display: inline-block; margin-left: 8px; transition: transform .2s var(--ease-out); }
.btn-primary:hover .arr, .btn-dark:hover .arr, .btn:hover .arr { transform: translateX(4px); }
.btn-primary { transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .2s ease; }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(16, 192, 212, .28); }

/* --- Kartu layanan: garis aksen meluncur di atas --- */
.svc { position: relative; }
.svc::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.svc:hover::after, .svc:focus-within::after { transform: scaleX(1); }
.svc .num { transition: color .25s ease; }
.svc:hover .num { color: var(--accent); }

/* --- Kartu output: bar aksen vertikal --- */
.out { position: relative; }
.out::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease-out); }
.out:hover::after { transform: scaleY(1); }
.out .c { transition: color .25s ease; }
.out:hover .c { color: var(--accent-ink); }

/* --- Kartu platform & portfolio: angkat halus --- */
.plat, .port { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.plat:hover, .port:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 34, 53, .1); }
.ph { transition: background-position .6s ease; }
.port:hover .ph { background-position: 28px 0; }

/* --- Mockup platform: drop zone bernafas + titik live --- */
@keyframes drop-breathe { 0%, 100% { border-color: var(--line-2); box-shadow: 0 0 0 0 rgba(16, 192, 212, 0); } 50% { border-color: rgba(16, 192, 212, .6); box-shadow: 0 0 0 4px rgba(16, 192, 212, .07); } }
.pl-drop { animation: drop-breathe 3.2s ease-in-out infinite; }
.pl-prog i { transition: width .12s linear; }
@keyframes live-blink { 50% { opacity: .25; } }
.live { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #1fbf6b; vertical-align: 1px; animation: live-blink 1.6s ease-in-out infinite; }

/* --- Workflow: garis rute tergambar + spark berjalan + angka pop --- */
.flow { position: relative; }
.flow-track { position: absolute; left: 19px; right: calc(25% - 19px); top: 18px; height: 2px; pointer-events: none; overflow: hidden; border-radius: 999px; }
.flow-track .fline { position: absolute; inset: 0; background: var(--line-2); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out) .25s; }
.flow.is-live .fline { transform: scaleX(1); }
@keyframes spark-run { 0% { transform: translateX(-100%); opacity: 0; } 8% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translateX(840%); opacity: 0; } }
.flow-track .fspark { position: absolute; top: 0; bottom: 0; left: 0; width: 12%; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--accent) 55%, #aef2f9); opacity: 0; }
.flow.is-live .fspark { animation: spark-run 4.5s linear 1.5s infinite; }
.step .n { position: relative; z-index: 1; background: var(--bg); }
.js-enabled .step .n { opacity: 0; transform: scale(.5); transition: transform .55s var(--ease-spring), opacity .4s ease; transition-delay: calc(var(--rd, 0ms) + 200ms); }
.js-enabled .step.is-visible .n { opacity: 1; transform: none; }

/* --- Why & glosarium: micro-interaction --- */
.why-list li { transition: transform .25s var(--ease-out); }
.why-list li:hover { transform: translateX(6px); }
.why-list li span { transition: color .25s ease; }
.why-list li:hover span { color: var(--accent); }
.glos-row span { transition: background-color .25s ease, color .25s ease; }
.glos-row:hover span { background: rgba(16, 192, 212, .14); color: var(--accent-ink); }

/* --- Form & chip: feedback halus --- */
.form input, .form textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.form input:focus, .form textarea:focus { box-shadow: 0 0 0 3px rgba(16, 192, 212, .18); }
.chip { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease; }
.chip:hover { transform: translateY(-1px); }

/* --- Chat FAB: cincin pulsa --- */
.chat-fab { transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.chat-fab:hover { transform: translateY(-2px); }
.pulse { position: relative; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.5); opacity: .8; } 70% { transform: scale(2); opacity: 0; } 100% { transform: scale(2); opacity: 0; } }

@media (max-width: 940px) {
  .nav a::after { display: none; }
  .flow-track { display: none; }
}

/* --- Aksesibilitas: hormati prefers-reduced-motion ---
   Catatan: layer fiber tetap tampil statis (jalur + node), hanya elemen yang
   bergerak sendiri (pulsa, spark, cincin) yang disembunyikan. Progress bar
   scroll tetap aktif karena geraknya mengikuti scroll user. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-enabled [data-reveal], .js-enabled .hero-copy > *, .js-enabled .step .n { opacity: 1 !important; transform: none !important; filter: none !important; }
  .fiber-pulse, .fspark, .pulse::after { display: none !important; }
}

/* --- Logo baru: icon jalur fiber + wordmark --- */
.logo-ic { display: inline-flex; flex: none; width: 38px; height: 38px; }
.logo-ic svg { width: 100%; height: 100%; display: block; }
.mark-txt { font-family: var(--font-display); font-size: 23px; font-weight: 900; line-height: 1; letter-spacing: .4px; color: var(--navy); }
.foot .mark-txt { color: #fff; }
