:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, sans-serif; overflow-x: clip; }
section[id] { scroll-margin-top: 86px; }

::selection { background: #BFF3F9; color: #071E36; }

[hidden] { display: none !important; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid #12A7C0;
  outline-offset: 3px;
  border-radius: 9999px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #0A7E93;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 0 0 0.75rem 0;
  font-weight: 700;
  font-size: 0.875rem;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
#siteHeader {
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
#siteHeader.scrolled {
  background-color: rgba(7, 30, 54, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px -24px rgba(2, 6, 23, 0.95);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color .2s ease, background-color .2s ease;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: #5ED7E4; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: #F59E0B;
}
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #071E36;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: max-height .38s cubic-bezier(.4, 0, .2, 1);
}
.mobile-menu.open {
  max-height: 32rem;
  box-shadow: 0 28px 48px -32px rgba(2, 6, 23, 0.95);
}
#siteHeader.menu-open {
  background-color: #071E36;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.mobile-link {
  display: block;
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition: background-color .2s ease, color .2s ease;
}
.mobile-link:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.mobile-link.active { color: #5ED7E4; background: rgba(18, 167, 192, 0.16); }

/* ---------- Hero background ---------- */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 48% at 86% 4%, rgba(245, 158, 11, 0.24), transparent 62%),
    radial-gradient(60% 55% at 6% 86%, rgba(18, 167, 192, 0.34), transparent 66%),
    radial-gradient(45% 45% at 42% 0%, rgba(94, 215, 228, 0.14), transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 20%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 20%, #000 35%, transparent 100%);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 30, 54, 0.18) 0%, rgba(7, 30, 54, 0.5) 55%, #0D355E 100%);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- FAQ accordion ---------- */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.4, 0, .2, 1);
}
.faq-panel > div { overflow: hidden; }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-chevron { transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background-color: #E6F9FB;
  color: #0A7E93;
}
.faq-item.open { border-color: rgba(18, 167, 192, 0.45); background-color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid rgba(37, 211, 102, 0.65);
  animation: waPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .75; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.footer-link { color: #94A3B8; font-size: 0.875rem; transition: color .2s ease; }
.footer-link:hover { color: #5ED7E4; }

/* ---------- Ukuran ikon inline ---------- */
.i-14 { width: 14px; height: 14px; flex: none; }
.i-16 { width: 16px; height: 16px; flex: none; }
.i-18 { width: 18px; height: 18px; flex: none; }
.i-20 { width: 20px; height: 20px; flex: none; }
.i-22 { width: 22px; height: 22px; flex: none; }
.i-28 { width: 28px; height: 28px; flex: none; }

.brand-mark { flex: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mobile-menu, .faq-panel, .faq-chevron { transition: none; }
  .wa-float::after { animation: none; }
  * { scroll-behavior: auto !important; }
}
