/* Design tokens, reset, tipografi, tombol, dan kerangka section. */
:root {
  --accent: #f59f00;
  --accent-dark: #d98e00;
  --accent-soft: rgba(245, 159, 0, 0.12);
  --dark: #16181c;
  --dark-2: #1e2228;
  --ink: #23262b;
  --muted: #6b7076;
  --line: #e7e7e3;
  --bg: #ffffff;
  --bg-soft: #f6f6f3;
  --radius: 12px;
  --radius-sm: 9px;
  --shadow: 0 4px 16px rgba(20, 22, 26, 0.06);
  --shadow-lg: 0 14px 36px rgba(20, 22, 26, 0.1);
  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

:focus-visible { outline: 3px solid rgba(245, 159, 0, 0.65); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section anchor tidak tersembunyi di balik navbar sticky. */
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.accent { color: var(--accent); }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 159, 0, 0.35); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-tag.light { color: var(--accent); background: rgba(245, 159, 0, 0.14); }
.section-head h2 { font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; color: var(--dark); }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
}

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