:root {
  --color-bg: #FFFFFF;
  --color-text: #1C1F22;
  --color-text-secondary: #4A5056;
  --color-text-tertiary: #5A6167;
  --color-muted: #8A9095;
  --color-muted-2: #B0B5B9;
  --color-border: #E5E8E1;
  --color-border-2: #EDEFEA;
  --color-panel: #F4F6F1;

  --color-green: #8FC93A;
  --color-green-light: #9CCB4E;
  --color-green-dark: #5E8F1E;
  --color-green-darker: #4E7716;

  --color-dark: #1C1F22;
  --color-dark-2: #161A1D;
  --color-dark-panel: #242A20;
  --color-dark-border: #3A4030;

  --color-red: #B23A2E;
  --color-red-2: #C9503F;
  --color-orange: #D97A2B;

  --font-heading: 'Archivo', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container-max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-green-dark); text-decoration: none; }
a:hover { color: var(--color-green-darker); }

::selection { background: #C7E29A; color: var(--color-text); }

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

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

.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  border-radius: 7px;
  transition: background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn-dark {
  background: var(--color-dark);
  color: #F5F6F4;
  font-size: 14px;
  padding: 11px 20px;
}
.btn-dark:hover { background: #000000; color: #F5F6F4; }
.btn-dark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-green); display: inline-block; }

.btn-green {
  background: var(--color-green);
  color: #161A0E;
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 26px;
}
.btn-green:hover { background: var(--color-green-light); color: #161A0E; }

.btn-outline-dark {
  color: #DDE0DA;
  font-weight: 600;
  font-size: 15.5px;
  padding: 15px 20px;
  border: 1px solid #3B4147;
}
.btn-outline-dark:hover { border-color: #5A6169; color: #DDE0DA; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 30px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
}
.site-nav a { color: #3A3F44; }
.site-nav a:hover { color: var(--color-green-dark); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--color-dark);
  color: #F5F6F4;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#2A2E33 1px, transparent 1px), linear-gradient(90deg, #2A2E33 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
}
.hero::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(143, 201, 58, 0.18), transparent 70%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 32px 104px;
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero__title em {
  font-style: normal;
  color: #9CCB4E;
}
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: #B6BBBF;
  max-width: 520px;
  margin: 0 0 34px;
}
.hero__lead strong { color: #EDEFEA; font-weight: 600; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---- OEE widget ---- */
.oee-widget { display: flex; flex-direction: column; gap: 14px; }

.oee-card {
  border-radius: 16px;
  overflow: hidden;
  color: #F5F6F4;
  background: linear-gradient(162deg, #242A20, #1B2018);
  border: 1px solid #3A4030;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.oee-card.is-andon {
  background: linear-gradient(162deg, #5C1A12, #3A1009);
  border-color: rgba(242, 89, 63, 0.7);
  animation: andonGlow 1.6s ease-in-out infinite;
}
@keyframes andonGlow {
  0%, 100% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(242, 89, 63, 0.35); }
  50% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 34px 4px rgba(242, 89, 63, 0.55); }
}

.oee-card__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 18px 22px 0;
}
.oee-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: #fff; }
.oee-card__id { font-family: var(--font-mono); font-size: 12px; color: var(--color-muted); }
.oee-card__status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.oee-card__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(143, 201, 58, 0.18);
}

.oee-card__body {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px 18px;
}

.oee-dial {
  position: relative;
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background 0.6s ease;
}
.oee-dial__inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #1B2018;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.oee-dial__value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}
.oee-dial__value span { font-size: 13px; }
.oee-dial__label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.oee-bars { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.oee-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  color: #B6BBBF;
}
.oee-bar__key { width: 10px; }
.oee-bar__track {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.oee-bar__fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease, background 0.6s ease;
}
.oee-bar__val { width: 36px; text-align: right; }

.oee-counts {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 96px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 16px;
}
.oee-counts__row { display: flex; justify-content: space-between; align-items: baseline; }
.oee-counts__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-transform: uppercase;
}
.oee-counts__value { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: #F5F6F4; }

.oee-andon {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s ease;
  background: rgba(255, 255, 255, 0.025);
}
.oee-andon__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: rgba(255, 255, 255, 0.16); }
.oee-andon__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.oee-andon__msg { font-family: var(--font-body); font-size: 11px; color: #F4D8D2; }
.oee-andon__timer {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #FF8A73;
  font-variant-numeric: tabular-nums;
}

.oee-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
  background: var(--color-dark-panel);
  border: 1px solid var(--color-dark-border);
  border-radius: 12px;
}
.oee-controls__row { display: flex; align-items: center; gap: 10px; }
.oee-controls__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  width: 44px;
  flex-shrink: 0;
}
.oee-controls__opts { display: flex; gap: 5px; flex-wrap: wrap; }
.oee-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid var(--color-dark-border);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: #B6BBBF;
}
.oee-btn.is-active { color: #161A0E; }
.oee-btn.is-andon-on.is-active { background: #F2593F; color: #FFF; }

/* ============ TRUST STRIP ============ */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--color-border-2);
}
.trust .container { padding: 34px 32px 40px; }
.trust__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 26px;
}
.trust__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.trust__logo {
  height: 72px;
  width: 170px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border-2);
  border-radius: 10px;
}
.trust__logo img {
  max-height: 44px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.2s, opacity 0.2s;
}
.trust__logo:hover img { filter: grayscale(0); opacity: 1; }

/* ============ SOLUSI ============ */
.solusi { padding: 96px 32px 40px; }
.solusi__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}
.solusi h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.solusi p.lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

.visual-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 14px 40px rgba(28, 31, 34, 0.06);
}
.visual-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted-2);
  margin-bottom: 24px;
}
.bar-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
}
.bar-row__label { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--color-text); }
.bar-row__value { font-family: var(--font-mono); font-size: 13px; }
.bar-row__value.is-good { color: var(--color-green-dark); }
.bar-row__value.is-bad { color: var(--color-red); }
.bar-track { height: 28px; border-radius: 6px; overflow: hidden; display: flex; }
.bar-track.is-full { background: #EAF1DC; }
.bar-fill { height: 100%; }
.bar-divider { height: 1px; background: var(--color-border-2); margin: 26px 0; }
.legend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-top: 24px;
}
.legend-item { display: flex; align-items: center; gap: 9px; }
.legend-swatch { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.legend-item span:last-child { font-size: 13px; color: var(--color-text-secondary); }
.visual-card__note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-2);
  font-size: 13px;
  line-height: 1.55;
  color: #8A9096;
}

/* ============ PRODUK ============ */
.produk { padding: 44px 32px 96px; }
.produk__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.produk__head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0;
}
.produk__cta {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-green);
  padding-bottom: 2px;
}
.produk__cta:hover { color: var(--color-text); }
.produk__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 30px;
  transition: all 0.18s;
  color: inherit;
}
.product-card:hover {
  border-color: var(--color-green);
  box-shadow: 0 14px 34px rgba(28, 31, 34, 0.08);
  transform: translateY(-3px);
  color: inherit;
}
.product-card__num {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted-2);
}
.product-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.product-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-tertiary);
  margin: 0 0 18px;
}
.product-card__link { font-weight: 600; font-size: 14px; color: var(--color-green-dark); }

/* ============ METRICS BAND ============ */
.metrics { background: var(--color-dark); color: #F5F6F4; }
.metrics .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 64px 32px;
}
.metric { border-left: 2px solid var(--color-green); padding-left: 20px; }
.metric__value { font-family: var(--font-heading); font-weight: 800; font-size: 44px; line-height: 1; color: #9CCB4E; }
.metric__label { font-size: 14.5px; color: #B6BBBF; margin-top: 10px; line-height: 1.45; }

/* ============ MENGAPA DIATERA ============ */
.mengapa { padding: 96px 32px; }
.mengapa__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.mengapa h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.mengapa p.lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0 0 26px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.reason-card {
  background: var(--color-panel);
  border: 1px solid #EAEDE4;
  border-radius: 12px;
  padding: 24px;
}
.reason-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CCB4E;
  margin-bottom: 16px;
}
.reason-card h4 { font-family: var(--font-heading); font-weight: 700; font-size: 17px; margin: 0 0 7px; }
.reason-card p { font-size: 14px; line-height: 1.55; color: var(--color-text-tertiary); margin: 0; }

/* ============ PROSES ============ */
.proses { background: var(--color-panel); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.proses .container { padding: 88px 32px; }
.proses__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.proses__head h2 { font-family: var(--font-heading); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; margin: 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 26px; }
.step-card__num { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--color-green); margin-bottom: 16px; }
.step-card h4 { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.step-card p { font-size: 14px; line-height: 1.55; color: var(--color-text-tertiary); margin: 0; }

/* ============ STUDI KASUS ============ */
.studikasus { padding: 96px 32px; }
.case {
  background: var(--color-dark);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.case__quote { padding: 56px; color: #F5F6F4; }
.case__label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #9CCB4E; margin-bottom: 20px; }
.case__text { font-family: var(--font-heading); font-weight: 600; font-size: 27px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 28px; }
.case__author { display: flex; align-items: center; gap: 14px; }
.case__author-name { font-weight: 600; font-size: 15px; }
.case__author-role { font-size: 13px; color: var(--color-muted); }
.case__stats {
  background: var(--color-dark-panel);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.case__stat-value { font-family: var(--font-heading); font-weight: 800; font-size: 46px; line-height: 1; }
.case__stat-value.is-green { color: #9CCB4E; }
.case__stat-value.is-white { color: #F5F6F4; }
.case__stat-label { font-size: 14px; color: #B6BBBF; margin-top: 8px; }
.case__divider { height: 1px; background: var(--color-dark-border); }

/* ============ CTA BAND ============ */
.cta-band { background: var(--color-green); }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  padding: 72px 32px;
}
.cta-band h2 { font-family: var(--font-heading); font-weight: 800; font-size: 38px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; color: #161A0E; }
.cta-band p { font-size: 17px; color: #2C3320; margin: 0; max-width: 560px; line-height: 1.55; }
.cta-band .btn-dark { font-size: 16px; padding: 17px 30px; white-space: nowrap; }
.cta-band .btn-dark .dot { width: 9px; height: 9px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--color-dark-2); color: #B6BBBF; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 72px 32px 40px;
}
.footer__brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; line-height: 1.6; color: var(--color-muted); margin: 0; max-width: 280px; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6D7379;
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer__links a { color: #C4C9CD; }
.footer__contact { font-size: 14.5px; line-height: 1.7; color: #C4C9CD; }
.footer__contact .company { font-weight: 700; }
.footer__contact .location { color: var(--color-muted); }
.footer__contact .item { margin-top: 12px; }
.footer__contact a { color: #9CCB4E; }
.footer__bottom-border { border-top: 1px solid #262B2E; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 32px;
  font-size: 13px;
  color: #6D7379;
}
.footer__bottom .made-in { font-family: var(--font-mono); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; padding: 56px 24px 64px; }
  .hero__title { font-size: 42px; }
  .solusi__grid,
  .mengapa__grid { grid-template-columns: 1fr; }
  .produk__grid { grid-template-columns: 1fr; }
  .metrics .container { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero__title { font-size: 34px; }
  .metrics .container { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .case__quote, .case__stats { padding: 36px 24px; }
}
