:root {
  /* Lighter sage greens, dual-tone */
  --sage-50:  #f3f7ed;   /* paper / cream-green */
  --sage-100: #e6efd9;   /* soft mint wash */
  --sage-200: #cfdfb8;   /* lighter sage */
  --sage-300: #aec895;   /* light sage (primary) */
  --sage-500: #6e8e54;   /* deeper sage accent */
  --sage-700: #3f5630;   /* deep forest for type */
  --ink:      #25301c;   /* near-black, green-tinted */
  --ink-soft: #4a5640;
  --paper:    #fbfaf3;   /* warm off-white */
  --rule:     rgba(63, 86, 48, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }

.serif {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 500;
  letter-spacing: 0.005em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero-inner {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 4vw, 32px) clamp(48px, 8vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.hero-copy {
  text-align: center;
  max-width: 760px;
  animation: fadeUp 1.2s 0.3s both ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sage-500);
  margin-bottom: 28px;
}
.eyebrow::before,
.eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--sage-500);
}
h1.title {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  color: var(--ink);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  line-height: 1.05;
}
h1.title .t-pre {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(14px, 2.4vw, 34px);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
h1.title .t-main {
  font-size: clamp(48px, 14vw, 156px);
  color: var(--sage-500);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 6px 0;
}
h1.title .t-post {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 2.6vw, 34px);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-lede {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero-meta {
  display: flex; gap: 56px; flex-wrap: wrap;
  justify-content: center;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-meta > div {
  min-width: 0;
}
.hero-meta .k {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage-500);
  margin-bottom: 6px;
}
.hero-meta .v {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 20px;
  color: var(--ink);
}

/* Bottle stage */
.bottle-stage {
  position: relative;
  width: 100%;
  max-width: 760px;
  display: grid;
  place-items: center;
  animation: fadeUp 1.4s 0.05s both ease-out;
}
.bottle-bg { display: none; }
.bottle-circle, .bottle-rings { display: none; }
.bottle-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(63, 86, 48, 0.35);
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1), box-shadow 1.4s ease;
  animation: floatSlow 9s ease-in-out infinite;
}
.bottle-img:hover {
  transform: scale(1.02);
  box-shadow: 0 50px 100px -30px rgba(63, 86, 48, 0.42);
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .hero-inner { padding: 36px 24px 60px; gap: 40px; }
}

/* ---------- SECTION SHELL ---------- */
section.block {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 110px) clamp(20px, 4vw, 32px);
}
.section-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sage-500);
  margin-bottom: 24px;
}
.section-eyebrow .num {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-style: italic;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--sage-700);
}
.section-eyebrow::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}
h2.section-title {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 56px;
  color: var(--ink);
  max-width: 880px;
  display: flex;
  align-items: baseline;
  gap: 28px;
}
h2.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-500);
}
h2.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  transform: translateY(-12px);
  min-width: 60px;
}

/* ---------- KHASIAT ---------- */
.khasiat {
  background: linear-gradient(180deg, var(--paper) 0%, var(--sage-50) 100%);
  border-top: 1px solid var(--rule);
}
.khasiat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 880px;
}
.khasiat-points p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 22px;
  padding-left: 28px;
  position: relative;
  font-weight: 400;
}
.khasiat-points p::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 1px;
  background: var(--sage-500);
}
@media (max-width: 800px) {
  .khasiat-grid { gap: 18px; }
}

/* ---------- ATURAN PAKAI ---------- */
.aturan {
  background: var(--sage-700);
  color: var(--sage-50);
}
.aturan .section-eyebrow { color: var(--sage-200); }
.aturan .section-eyebrow::after { background: rgba(255,255,255,0.18); }
.aturan .section-eyebrow .num { color: var(--sage-100); }
.aturan h2.section-title { color: #fff; }
.aturan h2.section-title em { color: var(--sage-200); }
.aturan h2.section-title::after { background: rgba(255,255,255,0.22); }
.aturan-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.aturan-rule {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.aturan-rule .dose {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 300;
  font-size: clamp(80px, 12vw, 200px);
  line-height: 0.85;
  color: var(--sage-200);
  letter-spacing: -0.04em;
}
.aturan-rule .unit {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.aturan-detail {
  font-size: 17px;
  line-height: 1.75;
  color: var(--sage-100);
  max-width: 420px;
  font-weight: 300;
}
.aturan-detail strong { color: #fff; font-weight: 600; }
@media (max-width: 800px) {
  .aturan-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- KOMPOSISI ---------- */
.komposisi {
  background: var(--paper);
}
.komp-table {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
  margin-top: 12px;
}
.komp-row {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 24px;
  align-items: baseline;
  padding: 28px 16px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.9s ease, padding-left 0.9s cubic-bezier(.2,.7,.2,1);
  cursor: default;
}
.komp-row:hover {
  background: var(--sage-50);
  padding-left: 28px;
}
.komp-row .name,
.komp-row .dose,
.komp-row .idx,
.komp-row .part {
  transition: color 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.komp-row:hover .name { color: var(--sage-700); }
.komp-row:hover .idx { color: var(--sage-700); transform: translateX(-4px); }
.komp-row:hover .dose { color: var(--sage-700); }
.komp-row .idx {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--sage-500);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.komp-row .name {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.komp-row .name em { font-style: italic; color: var(--ink-soft); font-weight: 400; }
.komp-row .part {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-500);
}
.komp-row .dose {
  font-family: "Montserrat", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  min-width: 100px;
  text-align: right;
}
.komp-foot {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .komp-row {
    grid-template-columns: 30px 1fr;
    gap: 10px 14px;
    padding: 18px 0;
  }
  .komp-row .part { display: none; }
  .komp-row .dose {
    grid-column: 2;
    min-width: 0;
    text-align: left;
    font-size: 14px;
  }
}

/* ---------- KEMASAN ---------- */
.kemasan {
  background: var(--sage-100);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.kemasan-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 48px;
  box-shadow: 0 30px 60px -30px rgba(63, 86, 48, 0.18);
  transition: box-shadow 1.2s ease, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.kemasan-card:hover {
  box-shadow: 0 50px 90px -30px rgba(63, 86, 48, 0.32);
  transform: translateY(-4px);
}
.kemasan-icon img {
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.kemasan-card:hover .kemasan-icon img {
  transform: scale(1.05) rotate(-2deg);
}
.kemasan-icon {
  width: 240px;
  display: grid;
  place-items: center;
  position: relative;
}
.kemasan-icon img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(63, 86, 48, 0.22));
}
.kemasan-icon::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--sage-100) 0%, transparent 65%);
  z-index: 0;
}
.kemasan-icon img { position: relative; z-index: 1; }
.kemasan-body .row {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.kemasan-body .row:last-child { border-bottom: none; }
.kemasan-body .k {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage-500);
  min-width: 140px;
  padding-top: 4px;
}
.kemasan-body .v {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  letter-spacing: -0.005em;
}
.kemasan-body .v .mono {
  font-family: "Montserrat", ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: block;
  margin-top: 2px;
}
@media (max-width: 720px) {
  .kemasan-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .kemasan-icon { margin: 0 auto; }
}

/* ---------- PERHATIAN ---------- */
.perhatian {
  background: var(--paper);
}
.perhatian-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  max-width: 920px;
  padding: 36px 40px;
  border-left: 3px solid var(--sage-500);
  background: var(--sage-50);
}
.perhatian-icon {
  width: 44px; height: 44px;
  border: 1.5px solid var(--sage-500);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--sage-700);
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
}
.perhatian-text .label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sage-500);
  margin-bottom: 10px;
}
.perhatian-text p {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* Reveal on scroll-in (uses animation so it doesn't clobber per-element transitions) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}
.reveal.in {
  animation: revealIn 1.2s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes revealIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.in { animation: none; }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--sage-700);
  color: var(--sage-100);
  padding: 80px 0 40px;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.footer-brand .brand-name { color: #fff; font-size: 28px; }
.footer-brand .brand-mark { border-color: var(--sage-200); color: var(--sage-200); }
.footer-brand p {
  margin-top: 18px;
  max-width: 320px;
  color: var(--sage-200);
  font-size: 14px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sage-200);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col p {
  margin: 0 0 6px;
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.footer-col span {
  font-size: 13px;
  color: var(--sage-200);
  letter-spacing: 0.05em;
}
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12px;
  color: var(--sage-200);
  letter-spacing: 0.08em;
}
.footer-bottom .domain {
  font-family: "Montserrat", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .hero-inner {
    gap: 28px;
    padding: 24px 18px 44px;
  }
  .hero-copy {
    max-width: 100%;
  }
  h1.title {
    gap: 2px;
  }
  h1.title .t-pre,
  h1.title .t-post {
    letter-spacing: 0.12em;
  }
  .bottle-img {
    border-radius: 4px;
    box-shadow: 0 28px 54px -26px rgba(63, 86, 48, 0.3);
  }
  section.block {
    padding: 56px 18px;
  }
  h2.section-title {
    margin-bottom: 28px;
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
    font-size: clamp(28px, 9vw, 40px);
  }
  h2.section-title::after {
    width: 100%;
    min-width: 0;
    transform: none;
  }
  .khasiat-points p,
  .aturan-detail {
    font-size: 16px;
  }
  .aturan-inner {
    gap: 18px;
  }
  .aturan-rule {
    gap: 8px;
    align-items: flex-start;
  }
  .aturan-rule .dose {
    font-size: clamp(62px, 22vw, 110px);
  }
  .aturan-rule .unit {
    font-size: 16px;
    letter-spacing: 0.12em;
  }
  .komp-row .idx {
    font-size: 11px;
  }
  .komp-row .name {
    font-size: 18px;
  }
  .komp-foot {
    margin-top: 18px;
    font-size: 12px;
  }
  .kemasan-card {
    padding: 22px 18px;
    gap: 24px;
  }
  .kemasan-icon {
    width: min(180px, 60vw);
  }
  .kemasan-icon::before {
    width: min(170px, 54vw);
    height: min(170px, 54vw);
  }
  .kemasan-body .row {
    gap: 8px;
    padding: 14px 0;
    flex-direction: column;
  }
  .kemasan-body .k {
    min-width: 0;
    padding-top: 0;
  }
  .kemasan-body .v {
    font-size: 18px;
  }
  .kemasan-body .v .mono {
    font-size: 13px;
  }
  .perhatian-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }
  .perhatian-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .perhatian-text p {
    font-size: 18px;
  }
  footer {
    padding: 56px 0 28px;
  }
  .footer-inner {
    padding: 0 18px;
  }
  .footer-top {
    gap: 24px;
    padding-bottom: 32px;
  }
  .footer-brand .brand-name {
    font-size: 22px;
  }
  .footer-col p {
    font-size: 16px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
  }
}

