:root {
  /* ========================================================
     GLOBAL THEME
     Ubah nilai di sini untuk mengganti tema seluruh website.
     ======================================================== */
  --color-primary: #0f172a;
  --color-primary-contrast: #ffffff;
  --color-bg: #ffffff;
  --color-header: #ffffff;
  --color-surface: #f8fafc;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-accent: #2563eb;
  --radius: 1rem;
  --container: 72rem;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

.container-site {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 5rem;
}

.section-muted {
  background: var(--color-surface);
}

.brand-mark,
.feature-number {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .75rem;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-size: .8rem;
  font-weight: 800;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  border-radius: .75rem;
  padding: .55rem .75rem;
  color: var(--color-muted);
  font-size: .925rem;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}

.nav-link:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  padding: .65rem 1rem;
  font-size: .925rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}

.btn-outline {
  border: 1px solid currentColor;
  color: inherit;
}

.btn-ghost {
  color: var(--color-text);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: .75rem;
  background: transparent;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  padding: 1.5rem;
}

.eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: .75rem;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: .75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent) 55%, transparent);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .section {
    padding-block: 3.5rem;
  }
}

/* =========================================================
   LANDING & PRODUCT PAGES (body.lp)
   Dipakai oleh: landing.html, minyak-herba-sinergi.html,
   hni-coffee.html, dst. Semua gaya global di sini,
   tidak ada CSS inline di halaman.
   ========================================================= */
body.lp {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-tint: #f0fdf4;
  --white: #ffffff;
  --text: #0b2611;
  --muted: #4b6b4f;
  --border: #d6e6d0;
  --radius: 1rem;
  --shadow: 0 10px 30px rgb(20 83 45 / 0.08);
  --container-lp: 780px;
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

body.lp img { max-width: 100%; }

body.lp .container {
  width: min(100% - 2rem, var(--container-lp));
  margin-inline: auto;
  box-sizing: border-box;
}

/* ---------- Header ---------- */
body.lp .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-900);
  color: var(--white);
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.10);
}

body.lp .site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-block: 0.85rem;
}

body.lp .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

body.lp .brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  background: var(--green-700);
  color: var(--white);
  font-weight: 800;
}

body.lp .nav { display: none; gap: 0.35rem; }

body.lp .nav a {
  display: inline-flex;
  align-items: center;
  border-radius: 0.7rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

body.lp .nav a:hover { background: var(--green-700); color: var(--white); }

body.lp .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--green-600);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgb(22 163 74 / 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

body.lp .nav-cta:hover { background: var(--green-700); transform: translateY(-1px); }

body.lp .menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgb(255 255 255 / 0.30);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

body.lp .mobile-menu {
  display: none;
  background: var(--green-900);
  padding: 1rem 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

body.lp .mobile-menu a {
  display: block;
  width: 100%;
  padding: 0.6rem 0;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Hero ---------- */
body.lp .hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--green-900), var(--green-800));
  color: var(--white);
}

body.lp .hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

body.lp .hero-image {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.35);
  background: var(--white);
  overflow: hidden;
  padding: 40px 0;
}

body.lp .hero-image img { display: block; width: 100%; height: auto; }

body.lp .hero-center { text-align: center; }

body.lp .hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-tint);
}

body.lp .hero-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

body.lp .hero-lead {
  max-width: 380px;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--green-tint);
}

body.lp .hero-lead.center {
  max-width: 560px;
  margin: 1.25rem auto 0;
}

body.lp .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

body.lp .hero-actions.center {
  justify-content: center;
  margin-top: 1.75rem;
}

body.lp .hero-price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.25);
  padding: 0.4rem 1rem;
  color: var(--green-tint);
  font-weight: 700;
  margin-top: 0.4rem;
}

body.lp .hero-price strong { color: var(--white); font-size: 1.15rem; }

body.lp .hero-meta {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.7);
}

/* ---------- Buttons ---------- */
body.lp .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  border-radius: 0.8rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

body.lp .btn:hover { transform: translateY(-1px); }

body.lp .btn-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 6px 18px rgb(22 163 74 / 0.35);
}

body.lp .btn-primary:hover { background: var(--green-700); }

body.lp .btn-outline {
  border: 1.5px solid var(--border);
  color: var(--green-900);
  background: transparent;
}

body.lp .btn-outline:hover { background: var(--green-tint); color: var(--green-900); }

body.lp .btn-outline-light { border-color: var(--green-tint); color: var(--green-tint); }

body.lp .btn-lg { font-size: 1.05rem; padding: 0.9rem 1.6rem; }

/* ---------- Sections ---------- */
body.lp .section { padding: 4rem 0; }

body.lp .section-tint { background: var(--green-tint); }

body.lp .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-700);
}

body.lp .section-head { max-width: 620px; margin: 0 0 2.25rem; }

body.lp .section-head.center { margin-inline: auto; text-align: center; }

body.lp .section-head h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

body.lp .section-head p { margin: 0.75rem 0 0; color: var(--muted); }

body.lp .prose p { margin: 0 0 1rem; color: var(--text); }
body.lp .prose p:last-child { margin-bottom: 0; }

body.lp .card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

body.lp .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

body.lp .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--green-tint);
  color: var(--green-700);
  font-size: 1.5rem;
  font-weight: 800;
}

body.lp .card h3 { margin: 0.75rem 0 0; font-weight: 700; color: var(--text); }
body.lp .card p { margin: 0.5rem 0 0; color: var(--muted); }

/* ---------- Ingredients ---------- */
body.lp .ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
}

body.lp .ingredient {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--green-tint);
  padding: 1.1rem;
}

body.lp .ingredient strong { display: block; color: var(--green-800); margin-bottom: 0.35rem; }
body.lp .ingredient em { font-style: normal; font-size: 0.85rem; color: var(--muted); }

/* ---------- Benefits ---------- */
body.lp .benefit-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.lp .benefit-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
}

body.lp .benefit-check {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--green-600);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 0.15rem;
}

body.lp .benefit-list b { color: var(--green-900); }

/* ---------- How to ---------- */
body.lp .howto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

body.lp .howto-step {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.2rem;
  background: var(--white);
}

body.lp .howto-step i {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: var(--green-800);
  color: var(--white);
  font-style: normal;
  font-weight: 800;
}

body.lp .howto-step p { margin: 0.75rem 0 0; color: var(--text); }

/* ---------- CTA band ---------- */
body.lp .cta-band {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow);
}

body.lp .cta-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

body.lp .cta-inner { max-width: 420px; }

body.lp .cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0.5rem 0 0;
}

body.lp .cta-text { margin: 0.75rem 0 0; color: rgb(255 255 255 / 0.85); }
body.lp .cta-text strong { color: var(--white); }
body.lp .cta-band .eyebrow { color: var(--green-tint); }

/* ---------- Footer ---------- */
body.lp .site-footer {
  background: var(--green-900);
  color: var(--white);
}

body.lp .site-footer .container {
  display: grid;
  gap: 1.5rem;
  padding-block: 3rem 2rem;
}

body.lp .footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

body.lp .footer-brand { font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
body.lp .footer-text { margin: 0.5rem 0 0; font-size: 0.95rem; color: rgb(255 255 255 / 0.7); }
body.lp .site-footer a { color: rgb(255 255 255 / 0.85); text-decoration: none; }
body.lp .site-footer a:hover { color: var(--white); }
body.lp .footer-nav-title { margin: 0 0 0.5rem; font-weight: 700; color: var(--white); }
body.lp .footer-bottom { margin-top: 2rem; font-size: 0.85rem; color: rgb(255 255 255 / 0.7); }
body.lp .footer-bottom strong { color: var(--white); }

/* ---------- Skip link ---------- */
body.lp .skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 0.75rem;
  background: var(--green-700);
  color: var(--white);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

body.lp .skip-link:focus { top: 1rem; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  body.lp .nav { display: flex; flex-wrap: wrap; }
  body.lp .mobile-menu { display: none !important; }
  body.lp .hero-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  body.lp .hero { padding: 2.5rem 0 2rem; }
  body.lp .section { padding: 3rem 0; }
  body.lp .hero-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   LINK BIO PAGE (index.html)
   Halaman tautan bergaya "link bio": avatar, nama, lalu
   susunan kartu tautan ke tiap landing page produk.
   ========================================================= */
body.bio {
  display: flex;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(2.5rem, 8vh, 4.5rem) 1.25rem 2.5rem;
  background:
    radial-gradient(circle at 20% 0%, rgb(22 163 74 / 0.25), transparent 45%),
    radial-gradient(circle at 80% 100%, rgb(22 163 74 / 0.18), transparent 40%),
    linear-gradient(180deg, var(--green-900), var(--green-800));
}

body.bio .bio-wrap {
  width: min(100%, 26rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.bio .bio-avatar {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 999px;
  border: 2px solid rgb(255 255 255 / 0.35);
  background: var(--green-600);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.28);
  color: var(--white);
  font-size: 2.1rem;
  font-weight: 800;
}

body.bio .bio-name {
  margin: 1.1rem 0 0;
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.bio .bio-tagline {
  margin: 0.45rem 0 0;
  max-width: 24rem;
  color: rgb(255 255 255 / 0.82);
}

body.bio .bio-hint {
  margin: 1.1rem 0 0;
  max-width: 24rem;
  color: rgb(255 255 255 / 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

body.bio .bio-hint::before {
  content: "🔍";
  margin-right: 0.35rem;
}

body.bio .bio-search {
  position: relative;
  width: 100%;
  margin-top: 1.6rem;
}

body.bio .bio-search-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.9rem 3.2rem 0.9rem 1.15rem;
  border: 2px solid rgb(255 255 255 / 0.35);
  border-radius: 1.1rem;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.18);
}

body.bio .bio-search-input::placeholder {
  color: var(--muted);
}

body.bio .bio-search-input::-webkit-search-cancel-button {
  display: none;
}

body.bio .bio-search-input:focus-visible {
  outline: 3px solid rgb(255 255 255 / 0.55);
  outline-offset: 2px;
  border-color: var(--white);
}

/* Atribut [hidden] harus menang atas display flex/grid dari kelas biasa,
   agar link hasil filter dan tombol X benar-benar hilang saat disembunyikan. */
body.bio .bio-link[hidden],
body.bio .bio-search-clear[hidden],
body.bio .bio-no-result[hidden] {
  display: none;
}

body.bio .bio-search-clear {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: none;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-800);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

body.bio .bio-search-clear:hover {
  background: var(--green-600);
  color: var(--white);
  transition: background 0.15s ease, color 0.15s ease;
}

body.bio .bio-no-result {
  margin: 1.1rem 0 0;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 1.1rem;
  background: rgb(255 255 255 / 0.12);
  color: rgb(255 255 255 / 0.9);
  font-size: 0.9rem;
  text-align: center;
}

body.bio .bio-links {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  margin-top: 2.1rem;
}

body.bio .bio-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem;
  border-radius: 1.1rem;
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.bio .bio-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.22);
}

body.bio .bio-thumb {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0.3rem;
  border-radius: 0.8rem;
  background: var(--green-tint);
  object-fit: contain;
}

body.bio .bio-text {
  display: block;
  text-align: left;
}

body.bio .bio-text strong {
  display: block;
  color: var(--text);
  font-weight: 800;
  line-height: 1.3;
}

body.bio .bio-text em {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.4;
}

body.bio .bio-price {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.12rem 0.65rem;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 800;
}

body.bio .bio-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-left: auto;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-700);
  font-weight: 800;
}

body.bio .bio-foot {
  margin-top: auto;
  padding-top: 2.5rem;
  color: rgb(255 255 255 / 0.65);
  font-size: 0.85rem;
}
