/* ═══════════════════════════════════════════════════════════
   PT PAPUA DIGITAL CEMERLANG — Papua Futuristik
   Palet mengikuti logo: biru royal → cyan, latar gelap, aksen emas
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #050810;
  --bg-2: #0a1122;
  --panel: rgba(15, 24, 48, .55);
  --line: rgba(80, 150, 255, .16);
  --blue: #2563eb;
  --blue-deep: #1e4fd8;
  --cyan: #22c7f5;
  --gold: #f5b72e;
  --text: #e8effc;
  --muted: #93a5c4;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }

.grad {
  background: linear-gradient(92deg, var(--blue) 0%, var(--cyan) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Tombol ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-primary {
  background: linear-gradient(92deg, var(--blue-deep), #2f8fe8 55%, var(--cyan));
  color: #fff;
  box-shadow: 0 8px 28px rgba(34, 120, 240, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(34, 160, 245, .5); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(80,150,255,.45); background: rgba(80,150,255,.08); transform: translateY(-2px); }

/* ── Navbar ─────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(5, 8, 16, .93);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -.04em; color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--cyan));
  box-shadow: 0 4px 18px rgba(34, 120, 240, .45);
}
.brand-text { font-size: .82rem; font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.brand-text em { font-style: normal; color: var(--cyan); letter-spacing: .18em; font-size: .68rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .93rem; font-weight: 500; }
.nav-links > a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1200px 700px at 75% 20%, rgba(30, 79, 216, .22), transparent 60%),
    radial-gradient(900px 600px at 15% 85%, rgba(34, 199, 245, .10), transparent 60%),
    var(--bg);
  overflow: hidden;
}
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; width: 560px; height: 560px; right: -120px; top: 8%;
  background: radial-gradient(circle, rgba(34,199,245,.14), transparent 65%);
  filter: blur(10px); pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(80,150,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,150,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 2; text-align: center;
  max-width: 880px; padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; margin-bottom: 28px;
  background: rgba(15, 24, 48, .55);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-title {
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 800; margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.16rem);
  color: var(--muted); max-width: 640px; margin: 0 auto 34px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 38px; }
.hero-trust {
  display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap;
  list-style: none; font-size: .86rem; color: var(--muted); font-weight: 500;
}
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px; z-index: 2;
}
.hero-scroll span {
  width: 4px; height: 9px; border-radius: 4px; background: var(--cyan);
  animation: drop 1.8s infinite;
}
@keyframes drop { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ── Divider ukiran Papua ───────────────────────────────── */
.ukir { color: rgba(80, 150, 255, .22); line-height: 0; background: var(--bg); }
.ukir-footer { color: rgba(80, 150, 255, .15); }

/* ── Section umum ───────────────────────────────────────── */
.section { padding: 104px 0; background: var(--bg); position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 48px; }

/* ── Kartu layanan ──────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 199, 245, .4);
  box-shadow: 0 18px 44px rgba(10, 20, 60, .5), 0 0 0 1px rgba(34,199,245,.12) inset;
}
.card-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(30,79,216,.25), rgba(34,199,245,.18));
  border: 1px solid rgba(80,150,255,.25);
  color: var(--cyan);
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { font-size: .93rem; color: var(--muted); }

/* ── Keunggulan ─────────────────────────────────────────── */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feat {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 30px 96px;
  background: rgba(10, 17, 34, .4);
  transition: border-color .3s ease, transform .3s ease;
}
.feat:hover { border-color: rgba(245, 183, 46, .35); transform: translateY(-4px); }
.feat-num {
  position: absolute; left: 26px; top: 26px;
  font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #f78d2e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feat h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feat p { font-size: .92rem; color: var(--muted); }

/* ── Showreel (video sinematik) ─────────────────────────── */
.showreel {
  position: relative;
  height: clamp(340px, 62vh, 580px);
  overflow: hidden;
  background: var(--bg-2);
}
.showreel video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.showreel-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(5,8,16,.25) 22%, rgba(5,8,16,.25) 78%, var(--bg) 100%);
}
.showreel-overlay h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .55);
}
.showreel-overlay .kicker { text-shadow: 0 2px 14px rgba(0,0,0,.6); }

/* ── Proses ─────────────────────────────────────────────── */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: step;
}
.step { position: relative; padding-top: 26px; }
.step::before {
  content: ""; position: absolute; top: 47px; left: calc(50% + 30px); right: calc(-50% + 30px);
  height: 1.5px;
  background: linear-gradient(90deg, rgba(34,199,245,.45), rgba(34,199,245,.08));
}
.step:last-child::before { display: none; }
.step-n {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0 auto 16px;
  border-radius: 50%; font-weight: 800; font-size: 1.02rem;
  background: linear-gradient(135deg, var(--blue-deep), var(--cyan));
  box-shadow: 0 6px 20px rgba(34, 120, 240, .4);
  position: relative; z-index: 1;
}
.step { text-align: center; }
.step h3 { font-size: .99rem; margin-bottom: 7px; }
.step p { font-size: .85rem; color: var(--muted); }

/* ── Tentang ────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-txt p:not(.kicker) { color: var(--muted); font-size: 1.02rem; }
.about-txt strong { color: var(--text); }
.about-txt .section-title { margin-bottom: 22px; }
.about-chips { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.about-chips li {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(34,199,245,.35); color: var(--cyan);
  background: rgba(34,199,245,.07);
}
.about-logo {
  display: grid; place-items: center;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(400px 260px at 50% 40%, rgba(30,79,216,.18), transparent 70%),
    rgba(5, 8, 16, .6);
}

/* ── Kontak ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; background: var(--panel);
  transition: transform .3s ease, border-color .3s ease;
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(34,199,245,.4); }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.contact-val { font-size: .9rem; color: var(--muted); }
.contact-card .card-ico { margin-bottom: 16px; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--bg-2); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px;
}
.footer-brand { font-weight: 800; font-size: 1.05rem; }
.footer-tag { color: var(--cyan); font-size: .8rem; letter-spacing: .08em; margin-top: 4px; }
.footer-copy { color: var(--muted); font-size: .84rem; text-align: right; }

/* ── Animasi reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsif ──────────────────────────────────────────── */
@media (max-width: 1023px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .step::before { display: none; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-logo { max-width: 460px; }
}
@media (max-width: 859px) {
  .nav-links {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center;
    background: rgba(5, 8, 16, .985);
    font-size: 1.2rem; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-burger { display: block; position: relative; z-index: 60; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .cards, .feats, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feat { padding: 26px 22px 26px 80px; }
  .feat-num { left: 22px; top: 24px; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
}

/* ── Aksesibilitas: kurangi gerak ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge .dot, .hero-scroll span { animation: none; }
  #scene { display: none; }
}
