/* =========================================================
   PT. SPLI Website - Saapro Multi-Page Theme
   Edit warna, font, dan ukuran utama melalui :root berikut.
   ========================================================= */
:root {
  --primary-green: #2f8f46;
  --secondary-green: #0f3d2e;
  --acid-green: #b9ff66;
  --blue-dark: #07131f;
  --blue-deep: #0a1929;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --bg-light: #f3f6ef;
  --bg-white: #ffffff;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(0, 0, 0, 0.08);
  --main-font: "Inter", "Poppins", "Helvetica", sans-serif;
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 28px 90px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
  --container: 1180px;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ──────────────────────────────────── */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--main-font);
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* Page Load Transition */
body {
  animation: pageReveal 0.6s ease-out;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section-dark {
  background: var(--blue-dark);
  color: #fff;
}

.eyebrow {
  color: var(--acid-green);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 800;
}

/* ── Cursor Glow ───────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(185, 255, 102, 0.18),
    transparent 64%
  );
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ── Reveal Animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

.delay-4 {
  transition-delay: 0.48s;
}

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stagger-children.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.is-visible > *:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.is-visible > *:nth-child(3) {
  transition-delay: 0.15s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.is-visible > *:nth-child(4) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.is-visible > *:nth-child(5) {
  transition-delay: 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.is-visible > *:nth-child(6) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatUnit {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

/* ── Print Styles ──────────────────────────────────── */
@media print {
  .site-header,
  .cursor-glow,
  .scroll-hint,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section-dark {
    background: #f5f5f5;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .page-hero {
    padding: 40px 0;
    background: #f5f5f5;
    color: #000;
  }
}
