/* ============================================================
   Arkasa — Company Website
   Tokens sourced from DESIGN-SYSTEM.md
   ============================================================ */

:root {
  /* Brand */
  --brand-navy-900: #1A3A5C;
  --brand-navy-700: #2B5A82;
  --brand-navy-500: #4A7FA8;
  --brand-blue-400: #5B9ECF;
  /* Accent */
  --accent-teal: #1DB8A0;
  --accent-teal-dark: #178F7D;
  --accent-teal-light: #E6F9F5;
  --accent-amber: #F0A030;
  --accent-amber-light: #FFF6E6;
  /* Neutral */
  --neutral-bg: #FAFAF8;
  --neutral-surface: #FFFFFF;
  --neutral-border: #E8E6E0;
  --neutral-text-sec: #6B7B8D;
  --neutral-text-pri: #1A2332;
  /* Dark */
  --dark-bg: #0F1C2E;
  --dark-surface: #162538;
  --dark-border: #253548;
  --dark-text-pri: #FFFFFF;
  --dark-text-sec: #C8D0DA;
  --dark-text-muted: #6B8FA8;
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0F1C2E 0%, #1A3A5C 50%, #2B5A82 100%);
  --gradient-teal: linear-gradient(135deg, #178F7D 0%, #1DB8A0 100%);
  --gradient-subtle: linear-gradient(180deg, #FAFAF8 0%, #FFFFFF 100%);
  /* Spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-32: 128px;
  /* Radius */
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26,35,50,0.05);
  --shadow-md: 0 4px 12px rgba(26,35,50,0.08);
  --shadow-lg: 0 8px 24px rgba(26,35,50,0.10);
  --shadow-xl: 0 16px 48px rgba(26,35,50,0.12);
  --shadow-hover: 0 8px 24px rgba(29,184,160,0.12);
  /* Motion */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur-fast: 150ms; --dur-normal: 300ms; --dur-medium: 500ms; --dur-slow: 800ms;
  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Hind', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--neutral-text-pri);
  background: var(--neutral-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ol, ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent-teal); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: 'Parkinsans', system-ui, sans-serif; color: var(--neutral-text-pri); }
/* Section titles all-caps; card titles (h3/h4) keep Title Case */
h1, h2 { text-transform: uppercase; letter-spacing: 0.005em; }
h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 600; line-height: 1.05; }
h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 600; line-height: 1.2; }
h3 { font-size: clamp(20px, 3vw, 24px); font-weight: 500; line-height: 1.3; }
h4 { font-size: 20px; font-weight: 500; line-height: 1.35; }

.label {
  font-family: 'Hind', sans-serif; font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-teal);
  display: inline-flex; align-items: center; margin-bottom: var(--space-3);
}
.label--on-dark { color: var(--accent-teal); }

.body-lg { font-size: clamp(16px, 2vw, 18px); line-height: 1.6; color: var(--neutral-text-sec); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: 'Hind', sans-serif; font-weight: 500; font-size: 16px;
  padding: 14px 28px; border-radius: var(--radius-full);
  transition: background var(--dur-fast) var(--ease-default),
              box-shadow var(--dur-normal) var(--ease-default),
              color var(--dur-fast) var(--ease-default),
              border-color var(--dur-fast) var(--ease-default);
}
.btn--primary { background: var(--accent-teal); color: #fff; }
.btn--primary:hover { background: var(--accent-teal-dark); box-shadow: var(--shadow-hover); }
.btn--secondary { background: transparent; border: 1.5px solid var(--neutral-border); color: var(--neutral-text-pri); }
.btn--secondary:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
.btn--dark { background: #1E1E1E; color: #fff; padding-right: 10px; }
.btn--dark:hover { background: #000; box-shadow: var(--shadow-lg); }
.btn--dark .btn__arrow {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: var(--space-3);
  border-radius: var(--radius-full); background: #fff; color: #1E1E1E; font-size: 16px;
  transition: transform var(--dur-normal) var(--ease-bounce);
}
.btn--dark:hover .btn__arrow { transform: translateX(3px); }
.btn--light { background: #fff; color: #111; padding-right: 10px; }
.btn--light:hover { background: #F1F1EC; box-shadow: var(--shadow-lg); }
.btn--light .btn__arrow {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: var(--space-3);
  border-radius: var(--radius-full); background: #111; color: #fff; font-size: 16px;
  transition: transform var(--dur-normal) var(--ease-bounce);
}
.btn--light:hover .btn__arrow { transform: translateX(3px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 17px; }
.btn--dark.btn--lg, .btn--light.btn--lg { padding: 10px 10px 10px 28px; }

/* ---------- Cards ---------- */
.card {
  background: var(--neutral-surface); border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md); padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-normal) var(--ease-default), transform var(--dur-normal) var(--ease-default);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card--dark { background: var(--dark-surface); border-color: var(--dark-border); box-shadow: none; }
.card--dark:hover { box-shadow: var(--shadow-hover); }

/* ---------- Sections ---------- */
.section { padding: var(--space-24) 0; }
.section--dark { background: var(--dark-bg); color: var(--dark-text-sec); position: relative; overflow: hidden; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5 { color: var(--dark-text-pri); }
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); align-items: center; }

/* ---------- Grain / glow ---------- */
.hero__grain, .visi__grain, .kontak__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--dur-normal) var(--ease-default), border-color var(--dur-normal) var(--ease-default);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250,250,248,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--neutral-border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo-img { height: 48px; width: auto; transition: filter var(--dur-normal); }
.nav__logo-img--light { filter: brightness(0) invert(1); }
/* Transparent nav over dark hero → white */
.nav:not(.is-scrolled) .nav__logo-img { filter: brightness(0) invert(1); }
.nav:not(.is-scrolled) .nav__links a { color: rgba(255,255,255,0.82); }
.nav:not(.is-scrolled) .nav__links a:hover,
.nav:not(.is-scrolled) .nav__links a.is-active { color: #fff; }
.nav:not(.is-scrolled) .lang-toggle { color: rgba(255,255,255,0.7); }
.nav:not(.is-scrolled) .lang-toggle:hover { color: #fff; }
.nav:not(.is-scrolled) .nav__burger span { background: #fff; }
.nav__links { display: flex; gap: var(--space-8); }
.nav__links a { font-weight: 500; font-size: 14px; color: var(--neutral-text-pri); transition: color var(--dur-fast); }
.nav__links a:hover, .nav__links a.is-active { color: var(--accent-teal); }
.nav__actions { display: flex; align-items: center; gap: var(--space-4); }
.lang-toggle { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--neutral-text-sec); padding: 6px 10px; border-radius: var(--radius-full); transition: color var(--dur-fast), background var(--dur-fast); }
.lang-toggle:hover { color: var(--accent-teal); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--neutral-text-pri); border-radius: 2px; transition: transform var(--dur-normal), opacity var(--dur-normal); }
.nav__mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(250,250,248,0.97); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6);
  border-bottom: 1px solid var(--neutral-border);
  transform: translateY(-120%); opacity: 0; pointer-events: none;
  transition: transform var(--dur-normal) var(--ease-default), opacity var(--dur-normal);
}
.nav__mobile.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__mobile a { font-weight: 500; padding: var(--space-3) 0; color: var(--neutral-text-pri); }
.nav__mobile .btn { margin-top: var(--space-2); justify-content: center; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + var(--space-16)) 0 var(--space-16); text-align: center;
  background:
    radial-gradient(120% 95% at 80% 96%, rgba(29,184,160,0.60) 0%, rgba(29,184,160,0) 42%),
    radial-gradient(85% 70% at 92% 80%, rgba(91,158,207,0.42) 0%, rgba(91,158,207,0) 46%),
    radial-gradient(90% 85% at 14% 44%, rgba(74,127,168,0.34) 0%, rgba(74,127,168,0) 52%),
    radial-gradient(70% 60% at 52% 26%, rgba(43,90,130,0.42) 0%, rgba(43,90,130,0) 56%),
    linear-gradient(158deg, #0B1524 0%, #0F1C2E 46%, #123350 100%);
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
/* Interactive accent glow — morphing blobs that follow the cursor (eased) */
@property --mx { syntax: '<number>'; inherits: true; initial-value: 50; }
@property --my { syntax: '<number>'; inherits: true; initial-value: 50; }
.hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.7; mix-blend-mode: screen;
  --mx: 50; --my: 50;
  filter: url(#goo) blur(18px);
  transition: opacity 500ms var(--ease-smooth);
}
.hero.glow-active .hero__glow { opacity: 1; }
.goo-defs { position: absolute; width: 0; height: 0; pointer-events: none; }
/* Soft cloud blobs — size / position / colour / morph randomised per load by JS.
   --sz, --ox, --oy, colour and the animation shorthand are set in script.js. */
.blob {
  position: absolute;
  width: var(--sz, 12vw); height: var(--sz, 12vw); border-radius: 50%;
  left: calc((var(--mx) + var(--ox, 0)) * 1%);
  top:  calc((var(--my) + var(--oy, 0)) * 1%);
  background: radial-gradient(circle, currentColor 38%, transparent 74%);
  transform: translate(-50%, -50%); will-change: transform, border-radius, left, top, color;
  transition: left 650ms var(--ease-smooth), top 650ms var(--ease-smooth),
              width 650ms var(--ease-smooth), height 650ms var(--ease-smooth),
              color 550ms var(--ease-smooth);
}
.hero.glow-active .blob--1 { width: 26vw; height: 26vw; }
.hero.glow-active .blob--2 { width: 23vw; height: 23vw; }
.hero.glow-active .blob--3 { width: 20vw; height: 20vw; }
.hero.glow-active .blob--4 { width: 18vw; height: 18vw; }

@keyframes morphA {
  0%   { border-radius: 60% 40% 45% 55% / 55% 60% 40% 45%; transform: translate(-50%,-50%) rotate(0deg)   scale(1);    }
  33%  { border-radius: 40% 60% 65% 35% / 60% 35% 65% 40%; transform: translate(-50%,-50%) rotate(120deg) scale(1.14); }
  66%  { border-radius: 55% 45% 35% 65% / 40% 55% 45% 60%; transform: translate(-50%,-50%) rotate(240deg) scale(0.92); }
  100% { border-radius: 60% 40% 45% 55% / 55% 60% 40% 45%; transform: translate(-50%,-50%) rotate(360deg) scale(1);    }
}
@keyframes morphB {
  0%   { border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%; transform: translate(-50%,-50%) rotate(0deg)    scale(1.05); }
  50%  { border-radius: 65% 35% 40% 60% / 45% 60% 40% 55%; transform: translate(-50%,-50%) rotate(-160deg) scale(0.9);  }
  100% { border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%; transform: translate(-50%,-50%) rotate(-360deg) scale(1.05); }
}
@keyframes morphC {
  0%   { border-radius: 50% 50% 35% 65% / 60% 40% 60% 40%; transform: translate(-50%,-50%) rotate(0deg)   scale(0.95); }
  50%  { border-radius: 35% 65% 55% 45% / 40% 55% 45% 60%; transform: translate(-50%,-50%) rotate(200deg) scale(1.2);  }
  100% { border-radius: 50% 50% 35% 65% / 60% 40% 60% 40%; transform: translate(-50%,-50%) rotate(360deg) scale(0.95); }
}
/* Rotating accent colour — each blob cycles teal → blue → amber → navy */
@keyframes hueCycle {
  0%   { color: #1DB8A0; }
  25%  { color: #5B9ECF; }
  50%  { color: #F0A030; }
  75%  { color: #4A7FA8; }
  100% { color: #1DB8A0; }
}
.hero .hero__title { color: #fff; }
.hero__title .muted { color: #C8D0DA; opacity: 0.55; }
.hero__title em { color: #3DDCC4; }
.hero .hero__sub { color: #C8D0DA; }

/* Trust row */
.hero__trust { display: inline-flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-10); }
.avatars { display: inline-flex; }
.avatar { width: 34px; height: 34px; border-radius: var(--radius-full); border: 2px solid var(--neutral-bg); margin-left: -10px; box-shadow: var(--shadow-sm); }
.avatar:first-child { margin-left: 0; }
.avatar--1 { background: linear-gradient(135deg, #1A3A5C, #4A7FA8); }
.avatar--2 { background: linear-gradient(135deg, #178F7D, #1DB8A0); }
.avatar--3 { background: linear-gradient(135deg, #2B5A82, #5B9ECF); }
.hero__trust-text { font-size: 16px; color: var(--neutral-text-sec); }

/* Title with inline image chips */
.hero__title { max-width: 940px; margin: 0 0 var(--space-8); font-size: clamp(38px, 6.4vw, 76px); line-height: 1.06; letter-spacing: -0.01em; }
.hero__title .line { display: block; }
.hero__title .line > * { vertical-align: middle; }
.hero__title .muted { color: var(--neutral-text-sec); opacity: 0.55; }
.hero__title em { font-style: normal; color: var(--accent-teal); }
.chip {
  display: inline-grid; place-items: center; overflow: hidden; vertical-align: middle;
  width: 0.92em; height: 0.92em; border-radius: var(--radius-full); margin: 0 0.08em;
  box-shadow: var(--shadow-md); transform: translateY(-0.04em);
}
.chip img { width: 62%; height: 62%; object-fit: contain; }
.chip--mark { background: var(--gradient-hero); filter: none; }
.chip--mark img { filter: brightness(0) invert(1); }
.chip--teal { background: var(--gradient-teal); }
.chip--photo { width: 0.96em; height: 0.96em; border-radius: 0.2em; background: var(--neutral-border); box-shadow: var(--shadow-lg); }
.chip--photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }

.hero__sub { font-size: clamp(16px, 2vw, 19px); color: var(--neutral-text-sec); max-width: 620px; margin-bottom: var(--space-10); }

/* Hero appear — Agero-style word + media stagger */
.hero__title .line { display: block; }
.hero__word {
  display: inline-block; opacity: 0; transform: translateY(46px); filter: blur(12px);
  transition: opacity 850ms var(--ease-smooth), transform 850ms var(--ease-bounce), filter 850ms var(--ease-smooth);
}
.hero.is-loaded .hero__word { opacity: 1; transform: none; filter: blur(0); }
.hero__title .chip {
  opacity: 0; transform: translateY(-0.04em) scale(0.35);
  transition: opacity 700ms var(--ease-smooth), transform 750ms var(--ease-bounce);
}
.hero.is-loaded .hero__title .chip { opacity: 1; transform: translateY(-0.04em) scale(1); }

/* ============ TICKER ============ */
.ticker { background: var(--neutral-surface); border-top: 1px solid var(--neutral-border); border-bottom: 1px solid var(--neutral-border); padding: var(--space-8) 0; overflow: hidden; }
.ticker__label { text-align: center; margin-bottom: var(--space-5); }
.ticker__label span { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neutral-text-sec); }
.ticker__track { display: flex; width: max-content; gap: 64px; animation: tickerScroll 28s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__group { display: flex; gap: 64px; }
.ticker__item { font-family: 'Parkinsans', sans-serif; font-weight: 600; font-size: 22px; color: var(--neutral-text-sec); opacity: 0.55; white-space: nowrap; transition: opacity var(--dur-fast), color var(--dur-fast); }
.ticker__item:hover { opacity: 1; color: var(--brand-navy-900); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 32px)); } }

/* ============ TENTANG ============ */
.tentang__text h2 { margin-bottom: var(--space-5); }
.tentang__philo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-8); }
.philo-item h4 { margin-bottom: var(--space-2); color: var(--brand-navy-900); }
.philo-item p { font-size: 15px; color: var(--neutral-text-sec); }
.tentang__visual { display: flex; justify-content: center; }
.mark-stage {
  position: relative; width: 320px; height: 320px; display: grid; place-items: center;
}
.mark-big { width: 200px; height: 200px; }
.mark-big { animation: breathe 5s var(--ease-smooth) infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* ============ VISI ============ */
.visi__inner { position: relative; z-index: 2; text-align: center; }
.visi__statement { max-width: 900px; margin: 0 auto var(--space-16); font-size: clamp(26px, 4.5vw, 40px); line-height: 1.25; }
.visi__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); text-align: left; }
.pillar__icon { width: 56px; height: 56px; border-radius: var(--radius-full); background: rgba(29,184,160,0.12); color: var(--accent-teal); display: grid; place-items: center; margin-bottom: var(--space-5); }
.pillar h3 { margin-bottom: var(--space-3); }
.pillar p { color: var(--dark-text-sec); font-size: 15px; }

/* ============ PRODUK ============ */
.produk__head { max-width: 720px; margin-bottom: var(--space-16); }
.produk__head h2 { margin-bottom: var(--space-5); }
.produk__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.feature { position: relative; }
.feature__num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--neutral-text-sec); opacity: 0.6; position: absolute; top: var(--space-6); right: var(--space-6); }
.feature__icon { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--accent-teal-light); color: var(--accent-teal); display: grid; place-items: center; margin-bottom: var(--space-5); }
.feature h3 { margin-bottom: var(--space-3); }
.feature p { font-size: 15px; color: var(--neutral-text-sec); }
.produk__cta { text-align: center; margin-top: var(--space-16); }
.produk__note { margin-top: var(--space-4); font-size: 14px; color: var(--neutral-text-sec); }

/* ============ ROADMAP ============ */
.roadmap { background: var(--gradient-subtle); }
.roadmap__head { text-align: center; max-width: 680px; margin: 0 auto var(--space-16); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.timeline::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent-teal), var(--brand-navy-500)); opacity: 0.25; }
.timeline__item { position: relative; padding-top: var(--space-8); }
.timeline__dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: var(--radius-full); background: var(--accent-teal); box-shadow: 0 0 0 4px rgba(29,184,160,0.15); }
.timeline__tag { display: inline-block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-teal); background: var(--accent-teal-light); padding: 4px 10px; border-radius: var(--radius-full); margin-bottom: var(--space-3); }
.timeline__body h3 { font-size: 20px; margin-bottom: var(--space-2); }
.timeline__body p { font-size: 14px; color: var(--neutral-text-sec); }

/* ============ KONTAK ============ */
.kontak__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.kontak__text h2 { margin-bottom: var(--space-5); }
.kontak__form { display: flex; flex-direction: column; gap: var(--space-4); }
.kontak__form label { display: flex; flex-direction: column; gap: var(--space-2); font-size: 13px; font-weight: 500; color: var(--dark-text-sec); }
.kontak__form input, .kontak__form textarea {
  font-family: 'Hind', sans-serif; font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.04); border: 1px solid var(--dark-border);
  border-radius: var(--radius-md); padding: 12px 14px; transition: border-color var(--dur-fast);
}
.kontak__form input::placeholder, .kontak__form textarea::placeholder { color: var(--dark-text-muted); }
.kontak__form input:focus, .kontak__form textarea:focus { outline: none; border-color: var(--accent-teal); }
.kontak__form .btn { margin-top: var(--space-2); justify-content: center; }

/* ============ FOOTER ============ */
.footer { background: var(--dark-bg); color: var(--dark-text-sec); padding: var(--space-24) 0 var(--space-12); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-12); padding-bottom: var(--space-12); border-bottom: 1px solid var(--dark-border); }
.footer__tag { margin-top: var(--space-4); font-size: 15px; color: var(--dark-text-muted); max-width: 280px; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dark-text-muted); margin-bottom: var(--space-4); }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__nav a, .footer__contact a { color: var(--dark-text-sec); font-size: 15px; transition: color var(--dur-fast); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent-teal); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.footer__social a { width: 36px; height: 36px; border-radius: var(--radius-full); border: 1px solid var(--dark-border); display: grid; place-items: center; font-size: 12px; font-weight: 500; }
.footer__social a:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-8); font-size: 14px; color: var(--dark-text-muted); }
.footer__legal { display: flex; gap: var(--space-6); }
.footer__legal a:hover { color: var(--accent-teal); }

/* ============ REVEAL ANIMATIONS ============ */
[data-reveal] {
  opacity: 0; transform: translateY(32px); filter: blur(6px); will-change: transform, opacity, filter;
  transition: opacity 700ms var(--ease-smooth), transform 700ms var(--ease-smooth), filter 700ms var(--ease-smooth);
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: blur(0); }

/* Masked line-by-line heading reveal (data-split) */
[data-split] { visibility: hidden; }
[data-split].rt-ready { visibility: visible; }
.rt-line { display: block; overflow: hidden; }
.rt-inner {
  display: block; transform: translateY(105%);
  transition: transform 900ms var(--ease-smooth);
  will-change: transform;
}
[data-split].is-visible .rt-inner { transform: translateY(0); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: var(--gradient-teal); transform-origin: left;
  transition: width 80ms linear;
}

/* Parallax */
[data-parallax] { will-change: transform; }


/* Nav hide on scroll-down */
.nav { transition: background var(--dur-normal) var(--ease-default), border-color var(--dur-normal) var(--ease-default), transform var(--dur-normal) var(--ease-default); }
.nav.is-hidden { transform: translateY(-100%); }

/* Card hover polish */
.feature, .pillar { transition: box-shadow var(--dur-normal) var(--ease-default), transform var(--dur-normal) var(--ease-default), border-color var(--dur-normal) var(--ease-default); }
.feature:hover { border-color: var(--accent-teal); }
.feature__icon, .pillar__icon { transition: transform var(--dur-normal) var(--ease-bounce), background var(--dur-normal); }
.feature:hover .feature__icon, .pillar:hover .pillar__icon { transform: scale(1.08) rotate(-4deg); }

/* Timeline line draw */
.timeline::before { transform: scaleX(0); transform-origin: left; transition: transform 1200ms var(--ease-smooth); }
.timeline.is-visible::before { transform: scaleX(1); }
.timeline__dot { transform: scale(0); transition: transform 500ms var(--ease-bounce); }
.timeline.is-visible .timeline__dot { transform: scale(1); }
.timeline.is-visible .timeline__item:nth-child(2) .timeline__dot { transition-delay: 120ms; }
.timeline.is-visible .timeline__item:nth-child(3) .timeline__dot { transition-delay: 240ms; }
.timeline.is-visible .timeline__item:nth-child(4) .timeline__dot { transition-delay: 360ms; }

/* Hero chip float */
.hero.is-loaded .hero__title:hover .chip--photo { transform: translateY(-0.04em) scale(1.08); }

/* ============ LOGO GRAPHIC ACCENTS ============ */
.has-accent { position: relative; overflow: hidden; }
.produk.has-accent > .container { position: relative; z-index: 1; }
.accent {
  position: absolute; z-index: 0; pointer-events: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
}
.accent--hero {
  right: -6%; bottom: -12%; width: min(48vw, 640px); aspect-ratio: 613 / 579; z-index: 1;
  background: rgba(255,255,255,0.05);
  -webkit-mask-image: url(graphic-1.svg); mask-image: url(graphic-1.svg);
}
.accent--visi {
  left: -8%; top: 8%; width: min(34vw, 360px); aspect-ratio: 311 / 554;
  background: rgba(29,184,160,0.07); transform: scaleX(-1);
  -webkit-mask-image: url(graphic-3.svg); mask-image: url(graphic-3.svg);
}
.accent--produk {
  right: -6%; top: -6%; width: min(40vw, 460px); aspect-ratio: 613 / 579;
  background: rgba(26,58,92,0.05);
  -webkit-mask-image: url(graphic-1.svg); mask-image: url(graphic-1.svg);
}
.accent--kontak {
  right: -4%; bottom: -14%; width: min(30vw, 340px); aspect-ratio: 328 / 579;
  background: rgba(29,184,160,0.10);
  -webkit-mask-image: url(graphic-2.svg); mask-image: url(graphic-2.svg);
}
/* Aurora gradient on pre-footer (Kontak) — brand palette, subtle */
.kontak {
  background:
    radial-gradient(90% 80% at 88% 92%, rgba(29,184,160,0.30) 0%, rgba(29,184,160,0) 46%),
    radial-gradient(80% 70% at 12% 20%, rgba(74,127,168,0.22) 0%, rgba(74,127,168,0) 50%),
    radial-gradient(70% 60% at 60% 8%, rgba(43,90,130,0.28) 0%, rgba(43,90,130,0) 55%),
    linear-gradient(160deg, #0B1524 0%, #0F1C2E 55%, #123350 100%);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1199px) {
  .produk__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-10); }
  .timeline::before { display: none; }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: var(--space-10); }
  .visi__pillars { grid-template-columns: 1fr; }
  .kontak__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .tentang__visual { order: -1; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: var(--space-16) 0; }
  .nav__links, .nav__actions .btn--sm, .lang-toggle { display: none; }
  .nav__burger { display: flex; }
  .produk__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .tentang__philo { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
  .card { padding: var(--space-6); }
  .mark-stage { width: 260px; height: 260px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-line], .hero__word, .hero__title .chip { opacity: 1 !important; transform: none !important; filter: none !important; }
  [data-split] { visibility: visible !important; }
  .rt-inner, [data-parallax], .timeline::before, .timeline__dot { transform: none !important; }
}

/* ============ LEGAL / PRIVACY POLICY ============ */
.legal-top {
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--neutral-border);
  background: var(--neutral-surface);
  position: sticky; top: 0; z-index: 100;
}
.legal-top .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.legal-top__back { font-size: 0.95rem; color: var(--neutral-text-sec); display: inline-flex; align-items: center; gap: var(--space-2); transition: color var(--dur-fast) var(--ease-default); }
.legal-top__back:hover { color: var(--accent-teal); }
.legal-hero {
  background: var(--gradient-hero); color: var(--dark-text-pri);
  padding: var(--space-20) 0 var(--space-16);
}
.legal-hero h1 { font-family: 'Parkinsans', sans-serif; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin-bottom: var(--space-4); }
.legal-hero p { color: var(--dark-text-sec); max-width: 60ch; }
.legal-hero__meta { margin-top: var(--space-6); font-size: 0.9rem; color: var(--dark-text-muted); font-family: 'JetBrains Mono', monospace; }
.legal-body { padding: var(--space-20) 0 var(--space-24); }
.legal-body .container { max-width: 820px; }
.legal-lang-note {
  background: var(--accent-teal-light); border: 1px solid var(--accent-teal);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  font-size: 0.9rem; color: var(--accent-teal-dark); margin-bottom: var(--space-12);
}
.legal-section { margin-bottom: var(--space-12); scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal-section h2 { font-family: 'Parkinsans', sans-serif; font-size: 1.5rem; color: var(--neutral-text-pri); margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 2px solid var(--neutral-border); }
.legal-section h3 { font-family: 'Parkinsans', sans-serif; font-size: 1.1rem; color: var(--brand-navy-900); margin: var(--space-6) 0 var(--space-3); }
.legal-section p { margin-bottom: var(--space-4); color: var(--neutral-text-pri); }
.legal-section ul { list-style: disc; padding-left: var(--space-6); margin-bottom: var(--space-4); }
.legal-section ul li { margin-bottom: var(--space-2); color: var(--neutral-text-pri); }
.legal-section a { color: var(--accent-teal-dark); text-decoration: underline; }
.legal-divider { height: 1px; background: var(--neutral-border); border: 0; margin: var(--space-16) 0; }
.legal-lang-label { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--neutral-surface); background: var(--brand-navy-700); padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: var(--space-6); }
.legal-contact-card { background: var(--neutral-surface); border: 1px solid var(--neutral-border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.legal-contact-card p { margin-bottom: var(--space-2); }
.legal-section code { font-family: 'JetBrains Mono', monospace; font-size: 0.82em; background: var(--accent-teal-light); color: var(--accent-teal-dark); padding: 1px 6px; border-radius: var(--radius-sm); word-break: break-word; }
.legal-section h3 code { font-size: 0.78em; }

/* Legal page language toggle */
.legal-lang-toggle { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; letter-spacing: 0.03em; border: 1px solid var(--neutral-border); background: var(--neutral-surface); color: var(--neutral-text-pri); padding: 6px 14px; border-radius: var(--radius-full); cursor: pointer; transition: border-color var(--dur-fast) var(--ease-default), color var(--dur-fast) var(--ease-default); }
.legal-lang-toggle:hover { border-color: var(--accent-teal); color: var(--accent-teal-dark); }
.legal--id .lang-block--en { display: none; }
.legal--en .lang-block--id { display: none; }
