/* =========================================================
   PT Integrated Network Indonesia — style.css
   Tema: light / dark / auto (ikut sistem)
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --text: #0f172a;
  --muted: #5b6577;
  --border: #e3e8f0;
  --primary: #0679ad;
  --primary-2: #2fc94a;
  --primary-ink: #ffffff;
  --primary-soft: rgba(6, 121, 173, .09);
  --ok: #10b981;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -8px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .25);
  --nav-bg: rgba(255, 255, 255, .72);
  --net: 0, 150, 180;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #04070d;
    --bg-alt: #070b14;
    --surface: #0b111d;
    --surface-2: #101826;
    --text: #e6ebf5;
    --muted: #8b97ad;
    --border: #1a2436;
    --primary: #1fc7e6;
    --primary-2: #7ee35a;
    --primary-ink: #04263a;
    --primary-soft: rgba(31, 199, 230, .12);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
    --nav-bg: rgba(4, 7, 13, .78);
    --net: 31, 199, 230;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #04070d;
  --bg-alt: #070b14;
  --surface: #0b111d;
  --surface-2: #101826;
  --text: #e6ebf5;
  --muted: #8b97ad;
  --border: #1a2436;
  --primary: #1fc7e6;
  --primary-2: #7ee35a;
  --primary-ink: #04263a;
  --primary-soft: rgba(31, 199, 230, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --nav-bg: rgba(4, 7, 13, .78);
  --net: 31, 199, 230;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--primary-ink); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.grad {
  background: linear-gradient(100deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: .95rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none !important;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(100deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--primary-2)));
  color: var(--primary-ink);
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--primary) 70%, transparent);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--sm { padding: .55rem 1rem; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none !important; }
.brand__logo { display: inline-flex; transition: transform .5s var(--ease); }
.brand__logo img { width: 40px; height: 40px; object-fit: contain; }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.05rem; letter-spacing: .04em; }
.brand__text small { font-size: .7rem; color: var(--muted); }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) {
  color: var(--muted); font-weight: 500; font-size: .93rem; padding: .5rem .8rem; border-radius: 8px;
  position: relative; text-decoration: none; transition: color .2s;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
  background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu a:not(.btn):hover, .menu a.is-active { color: var(--text); }
.menu a:not(.btn):hover::after, .menu a.is-active::after { transform: scaleX(1); }
.menu__cta { margin-left: 8px; }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.theme-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.theme-btn:hover { border-color: var(--primary); }
.theme-btn:active { transform: scale(.95); }
.theme-btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; display: none; }
.theme-btn[data-mode="auto"] .ico-auto,
.theme-btn[data-mode="light"] .ico-light,
.theme-btn[data-mode="dark"] .ico-dark { display: block; animation: spinIn .5s var(--ease); }
@keyframes spinIn { from { transform: rotate(-90deg) scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .theme-btn__label { display: none; }
  .theme-btn { width: 40px; padding: 0; justify-content: center; }
  .menu {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s;
  }
  .menu.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .35s var(--ease), opacity .25s; }
  .menu a:not(.btn) { padding: .9rem .4rem; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; }
  .menu a:not(.btn)::after { display: none; }
  .menu__cta { margin: 14px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 80px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent) 0%, transparent 60%);
  filter: blur(20px); pointer-events: none; animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-8%, 10%) scale(1.1); } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .9rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; margin-bottom: 20px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: .8rem; font-weight: 600; color: var(--muted); box-shadow: var(--shadow);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* rack visual */
.hero__visual { position: relative; }
.hero__mark {
  position: absolute; left: 50%; top: 50%; width: 130%; max-width: none; height: auto; z-index: -1;
  transform: translate(-50%, -50%); opacity: .2; pointer-events: none;
  animation: markSpin 80s linear infinite;
}
@keyframes markSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero__visual { isolation: isolate; }
.rack {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 16px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.rack__head { display: flex; align-items: center; gap: 6px; padding: 4px 4px 14px; }
.rack__head span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.rack__head span:nth-child(1) { background: #f87171; }
.rack__head span:nth-child(2) { background: #fbbf24; }
.rack__head span:nth-child(3) { background: #34d399; }
.rack__head em { margin-left: auto; font-style: normal; font-size: .75rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.rack__unit {
  display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px;
  padding: 12px; margin-bottom: 8px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
}
.rack__unit b {
  grid-row: span 2; display: grid; place-items: center; border-radius: 8px; font-size: .72rem; letter-spacing: .05em;
  background: var(--primary-soft); color: var(--primary);
}
.rack__unit small { color: var(--muted); font-size: .78rem; }
.leds { display: flex; gap: 5px; font-style: normal; margin: 4px 0 6px; }
.leds s { width: 14px; height: 6px; border-radius: 2px; background: var(--ok); text-decoration: none; opacity: .35; animation: blink 1.6s infinite; }
.leds s:nth-child(2n) { animation-delay: .4s; }
.leds s:nth-child(3n) { animation-delay: .9s; background: var(--primary-2); }
.leds s:nth-child(5n) { animation-delay: 1.2s; }
@keyframes blink { 0%, 100% { opacity: .3; } 40% { opacity: 1; } }
.rack__status { display: flex; align-items: center; gap: 8px; padding: 8px 4px 0; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.rack__status .ok { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.rack__status code { margin-left: auto; font-size: .75rem; color: var(--ok); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: .8rem; line-height: 1.2;
}
.float-card small { color: var(--muted); }
.float-card div { display: flex; flex-direction: column; }
.fc-ico { font-size: 1.2rem; }
.float-card--a { top: -18px; left: -28px; animation: float 5s ease-in-out infinite .5s; }
.float-card--b { bottom: 28px; right: -24px; animation: float 7s ease-in-out infinite 1s; }

.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--muted); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 460px; width: 100%; margin: 0 auto; }
  .float-card--a { left: -8px; }
  .float-card--b { right: -8px; }
  .scroll-hint { display: none; }
}
@media (max-width: 480px) {
  .float-card { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--border); background: var(--bg-alt); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat strong { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section__head p { color: var(--muted); }
.section__head--left { text-align: left; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--primary); margin-bottom: 12px;
}

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about__text > p { color: var(--muted); }
.about__text strong { color: var(--text); }
.about__points { display: grid; gap: 16px; margin-top: 28px; }
.point { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.point h3 { margin-bottom: .25em; }
.point p { color: var(--muted); margin: 0; font-size: .94rem; }
.point__ico, .svc__ico, .ci {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
}
.point__ico svg, .svc__ico svg, .ci svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.about__card { position: sticky; top: 100px; }
.why {
  padding: 32px; border-radius: 20px; color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.18), transparent 50%),
    linear-gradient(140deg, #04406a, #0a7fa8 55%, #0aa38f);
  box-shadow: var(--shadow-lg);
}
.why h3 { font-size: 1.35rem; margin-bottom: 20px; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.why li { display: flex; gap: 14px; }
.why li > span { flex: none; font-weight: 800; font-size: .8rem; opacity: .7; padding-top: 3px; font-variant-numeric: tabular-nums; }
.why strong { display: block; }
.why p { margin: 2px 0 0; font-size: .9rem; opacity: .85; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__card { position: static; }
}

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc { grid-column: span 2; }
.svc {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--primary-soft), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc__ico { margin-bottom: 18px; transition: transform .4s var(--ease); }
.svc:hover .svc__ico { transform: scale(1.08) rotate(-6deg); }
.svc p { color: var(--muted); font-size: .94rem; margin: 0; }
.svc--feature { grid-column: span 3; }
.svc--feature h3 { font-size: 1.35rem; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: .9rem; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230aa3c2' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-column: auto; }
  .svc--feature { grid-column: span 2; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .svc--feature { grid-column: auto; }
  .ticks { grid-template-columns: 1fr; }
  .svc { padding: 22px; }
}

/* Products */
.tabs {
  display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 6px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted);
  padding: .6rem 1.1rem; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  transition: color .2s, background-color .3s, box-shadow .3s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }
.prod-group { display: none; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-group.is-active { display: grid; }
.prod {
  padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: prodIn .55s var(--ease) both;
}
.prod-group.is-active .prod:nth-child(2) { animation-delay: .06s; }
.prod-group.is-active .prod:nth-child(3) { animation-delay: .12s; }
.prod-group.is-active .prod:nth-child(4) { animation-delay: .18s; }
@keyframes prodIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod > span {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: var(--surface-2); margin-bottom: 16px;
}
.prod h4 { font-size: 1.05rem; margin-bottom: .3em; }
.prod p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .prod-group { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .prod-group { gap: 12px; } .prod { padding: 18px 16px; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border) 10%, var(--border) 90%, transparent);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__n {
  position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px;
  border-radius: 50%; font-weight: 800; color: var(--primary);
  background: var(--surface); border: 2px solid var(--border);
  transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.step:hover .step__n { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); transform: scale(1.1); }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .steps::before { top: 0; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; background: var(--border); }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; text-align: left; padding: 0 0 28px; }
  .step__n { grid-row: span 2; margin: 0; }
  .step h3 { margin: 12px 0 .25em; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
details {
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  transition: border-color .3s, box-shadow .3s;
}
details[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: var(--shadow); }
summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 600; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230aa3c2' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .35s var(--ease);
}
details[open] summary::after { transform: rotate(135deg); }
.faq__a { padding: 0 20px 4px; color: var(--muted); animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list small { display: block; color: var(--muted); font-size: .78rem; }
.contact__list div { line-height: 1.4; overflow-wrap: anywhere; }

.form { padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 1.3rem; margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text);
  padding: .75rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a0b8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; padding-right: 2.4rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field__err { display: none; color: #ef4444; font-size: .8rem; font-style: normal; margin-top: 4px; }
.field.has-error input, .field.has-error textarea { border-color: #ef4444; }
.field.has-error .field__err { display: block; }
.form__note { margin: 12px 0 0; font-size: .88rem; color: var(--ok); min-height: 1.2em; text-align: center; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; gap: 0; } .form { padding: 22px 18px; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 360px; margin-top: 16px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--text); font-size: .92rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.to-top { color: var(--muted); }
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Animasi logo ---------- */
.logo-fx { position: relative; display: inline-flex; }
.logo-fx img { position: relative; z-index: 0; }
/* kilau yang menyapu bentuk logo */
.logo-fx::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask: var(--logo-mask, url("assets/logo.webp")) center / contain no-repeat;
          mask: var(--logo-mask, url("assets/logo.webp")) center / contain no-repeat;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.9) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  mix-blend-mode: overlay;
  animation: logoShine 6s var(--ease) infinite 2.4s;
}
@keyframes logoShine { 0% { background-position: 150% 0; } 30%, 100% { background-position: -150% 0; } }

.brand__logo { animation: logoIdle 7s ease-in-out infinite; }
@keyframes logoIdle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg) scale(1.04); } }
.brand:hover .brand__logo { animation: logoSpin .9s var(--ease); }
@keyframes logoSpin { from { transform: rotate(0) scale(1); } 50% { transform: rotate(200deg) scale(1.12); } to { transform: rotate(360deg) scale(1); } }
.brand__logo img { filter: drop-shadow(0 4px 10px rgba(0, 170, 200, .25)); }

/* Intro splash */
.splash { display: none; }
.js:not(.no-splash) .splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--bg);
  animation: splashOut .6s var(--ease) 2s forwards;
}
@keyframes splashOut { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
.splash__stage { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.splash__logo { --logo-mask: url("assets/logo-512.png"); width: 120px; height: 120px; animation: splashLogo 1.3s var(--ease) both; }
.splash__logo img { width: 100%; height: 100%; filter: drop-shadow(0 10px 30px rgba(0, 190, 220, .35)); }
.splash__logo::after { animation: logoShine 1.6s var(--ease) .9s 1 both; }
@keyframes splashLogo {
  0% { opacity: 0; transform: rotate(-270deg) scale(.2); filter: blur(10px); }
  60% { opacity: 1; filter: blur(0); }
  80% { transform: rotate(12deg) scale(1.06); }
  100% { opacity: 1; transform: rotate(0) scale(1); }
}
.splash__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  background: conic-gradient(from 0deg, #00e5f5, #44dd22, #aaff00, #0098d8, #00e5f5) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; animation: ringPulse 1.6s var(--ease) .5s 2 both;
}
.splash__ring--2 { animation-delay: .9s; }
@keyframes ringPulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.7); } }
.splash__name { display: flex; flex-direction: column; align-items: center; line-height: 1.2; animation: splashText .8s var(--ease) .7s both; }
.splash__name strong { font-size: 1.6rem; letter-spacing: .3em; padding-left: .3em;
  background: linear-gradient(100deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.splash__name small { color: var(--muted); font-size: .8rem; letter-spacing: .08em; }
@keyframes splashText { from { opacity: 0; transform: translateY(12px); letter-spacing: .6em; } }

/* Konten hero muncul setelah intro selesai */
.js:not(.no-splash) .hero .reveal { transition-delay: calc(var(--d, 0s) + 1.9s); }

/* Logo besar di hero: berputar + berdenyut */
.hero__mark { animation: markSpin 80s linear infinite, markGlow 6s ease-in-out infinite; }
@keyframes markGlow { 0%, 100% { opacity: .16; } 50% { opacity: .28; } }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
