/* ============================================================
   KELADI PIKIRAN HELA — Landing Page Stylesheet
   Light theme | Plus Jakarta Sans + serif accent
   ============================================================ */

:root {
  /* Palette */
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #16161a;
  --ink-soft: #4b4b55;
  --ink-faint: #8a8a94;
  --line: #e7e6e1;
  --accent: #1a1a1f;
  --accent-hover: #33333d;
  --highlight: #f0efe9;

  /* Type */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  /* Shape */
  --radius-pill: 999px;
  --radius-lg: 24px;
  --radius-md: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

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

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

/* ============================================================
   NAVIGATION — sticky rounded pill
   ============================================================ */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1080px, 94vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(231, 230, 225, 0.8);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(22, 22, 26, 0.04);
  transition: transform 0.45s var(--ease), box-shadow 0.3s ease,
              background 0.3s ease, padding 0.3s ease;
}

.nav.hidden { transform: translateX(-50%) translateY(-140%); }

.nav.scrolled {
  padding: 10px 24px;
  box-shadow: 0 8px 32px rgba(22, 22, 26, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.nav__brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, color 0.25s ease;
}

.nav__links a:hover {
  background: var(--highlight);
  color: var(--ink);
}

/* ============================================================
   BUTTONS — rounded pills
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(22, 22, 26, 0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 22px; font-size: 0.85rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero__kicker {
  display: inline-block;
  padding: 7px 18px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 30em;
  margin-bottom: 40px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 24px 64px rgba(22, 22, 26, 0.12);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   TAGLINE MARQUEE
   ============================================================ */
.marquee {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  animation: marquee 26s linear infinite;
  will-change: transform;
}

.marquee__track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-soft);
}

.marquee__dot { color: var(--ink-faint); font-style: normal !important; font-family: var(--font-sans) !important; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   VISUAL BAND (images strip)
   ============================================================ */
.visual-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.visual-band__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 36px rgba(22, 22, 26, 0.08);
}

.visual-band__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.visual-band__item:hover img { transform: scale(1.045); }

@media (max-width: 900px) {
  .visual-band { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: 110px 0; }

.section__label {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.section__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section__intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 56px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #d8d7d0;
  box-shadow: 0 20px 48px rgba(22, 22, 26, 0.08);
}

.service-card__num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.975rem;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--surface); }

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.process-step:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(22,22,26,0.07); }

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  font-weight: 800;
  font-size: 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process-step p {
  color: var(--ink-soft);
  font-size: 0.925rem;
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.closing { text-align: center; padding: 140px 0 130px; }

.closing h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 22px;
}

.closing p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 32em;
  margin: 0 auto 42px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__brand { font-weight: 700; font-size: 0.95rem; }

.footer__line { color: var(--ink-faint); font-size: 0.875rem; }

.footer__mail {
  font-size: 0.875rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer__mail:hover { color: var(--ink); border-color: var(--ink); }

/* ============================================================
   SCROLL REVEAL
   Hidden state only applies when JS is active (.js on <html>),
   so content is never stuck invisible if the script fails.
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 120px; }
  .services__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
}

@media (max-width: 560px) {
  .process__grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .nav { top: 12px; padding: 12px 18px; }
}
