:root {
  --green-600: #138a36;
  --green-700: #0f6e2b;
  --yellow-500: #ffcc33;
  --yellow-600: #ffb800;
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid transparent;
  border-radius: 14px;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header + main > section:first-of-type { padding-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.brand-text {
  display: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.site-header .brand img {
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text {
  font-weight: 700;
  color: var(--green-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(90deg, var(--green-600), var(--green-700));
  color: var(--white);
  box-shadow: 0 8px 16px rgba(19, 138, 54, .25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(19, 138, 54, .3);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--yellow-500);
  color: var(--gray-900);
}
.btn-secondary:hover {
  background: var(--yellow-600);
  transform: translateY(-1px);
}
.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 2px solid var(--green-600);
  color: var(--green-700);
  padding: 10px 14px;
}
.btn-outline:hover {
  background: var(--green-600);
  color: var(--white);
}

.site-header .btn { padding: 8px 12px; gap: 8px; }
.site-header .btn-outline { padding: 8px 12px; }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(19, 138, 54, .08), rgba(255, 204, 51, .12));
  min-height: calc(100vh - var(--header-height));
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(36px);
}
.hero::before {
  width: 320px; height: 320px;
  left: -80px; bottom: -80px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 204, 51, .45), rgba(255, 204, 51, 0) 65%);
}
.hero::after {
  width: 380px; height: 380px;
  right: -100px; top: -100px;
  background: radial-gradient(circle at 50% 50%, rgba(19, 138, 54, .35), rgba(19, 138, 54, 0) 60%);
}

.hero,
.produk,
.keunggulan,
.pemesanan,
.kontak {
  padding: 40px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 28px 0 20px;
  min-height: inherit;
  align-content: center;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  margin: 0 auto 12px;
}

.hero-title {
  font-size: 26px;
  line-height: 1.2;
  margin: 8px 0;
}

.hero-subtitle {
  color: var(--gray-700);
  margin: 8px 0 16px;
}

.hero-actions {
  display: inline-flex;
  gap: 12px;
  margin-top: 8px;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.media-card {
  border: 1px solid var(--gray-100);
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}
.media-card--transparent {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.media-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.media-card lottie-player {
  width: 100%;
  height: 100%;
  display: block;
}
.emoji-float {
  position: absolute;
  inset: 4%;
  pointer-events: none;
  z-index: 2;
}
.emoji {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -50%);
  font-size: 22px;
  opacity: .9;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.08));
  animation: float var(--dur, 9s) linear infinite;
}
.emoji svg { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
@keyframes float {
  0% { transform: translate(-50%, -50%) translateY(15%) rotate(0deg); opacity: .0; }
  10% { opacity: .9; }
  100% { transform: translate(-50%, -50%) translateY(-95%) rotate(16deg); opacity: 0; }
}
.media-3x2 { aspect-ratio: 3 / 2; }
.media-16x9 { aspect-ratio: 16 / 9; }

.section-title {
  font-size: 20px;
  margin: 0 0 20px;
  color: var(--green-700);
  text-align: center;
}

.keunggulan,
.pemesanan {
  background: linear-gradient(180deg, rgba(241, 245, 249, 1), rgba(241, 245, 249, 0.9));
}

.produk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.card {
  border: 1px solid var(--gray-100);
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}
.card > img { display: none; }
.card .media-card {
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 22px 22px 0 0;
}
.card-body {
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.card-title {
  margin: 4px 0 6px;
  font-size: 18px;
}
.card-text {
  margin: 0 0 12px;
  color: var(--gray-700);
}
.card-body .btn-secondary {
  margin-top: auto;
  align-self: center;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.feature {
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 14px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-icon { flex: 0 0 40px; width: 40px; height: 40px; display: inline-grid; place-items: center; color: var(--green-700); }
.feature-icon svg { width: 28px; height: 28px; }
.feature-content { display: grid; gap: 6px; flex: 1 1 auto; }
.feature-badge {
  display: block;
  background: var(--yellow-500);
  color: var(--gray-900);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.feature p {
  margin: 0;
  color: var(--gray-700);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.step {
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 16px;
  background: var(--white);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--green-600);
  color: var(--white);
}
.step-title {
  margin: 0;
  font-size: 16px;
}
.step-text {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--gray-700);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.contact-item {
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 14px;
  background: var(--white);
}
.contact-item .btn-contact {
  width: 100%;
  justify-content: center;
  margin-top: 0;
  gap: 10px;
}
.contact-item h3 {
  margin: 0 0 6px;
}
.contact-link {
  color: var(--green-700);
  font-weight: 700;
}
.contact-link:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--gray-100);
  background: var(--white);
  margin-top: 24px;
}
.footer-inner {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  text-align: center;
}
.footer-brand {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--gray-700);
}
.footer-brand img {
  height: 110px;
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 10px;
}

@media (min-width: 640px) {
  .site-header .brand img { height: 48px; }
  :root { --header-height: 80px; }
}
@media (min-width: 768px) {
  .footer-brand img { height: 140px; }
}
.footer-copy {
  color: var(--gray-500);
  margin: 0;
}

.sticky-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-600);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(19, 138, 54, .25);
}
.sticky-wa:hover {
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
  .section-title {
    font-size: 26px;
  }
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 32px;
    padding: 40px 0 28px;
  }
  .hero-content {
    text-align: left;
  }
  .produk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .footer-brand img { height: 160px; }
  .produk-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .features-list { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero,
  .produk,
  .keunggulan,
  .pemesanan,
  .kontak { padding: 72px 0; }
  .brand-text {
    display: inline;
  }
}

@media (max-width: 768px) {
  .sticky-wa { display: inline-grid; place-items: center; width: 52px; height: 52px; padding: 0; gap: 0; border-radius: 50%; }
  .sticky-wa span { display: none; }
  .sticky-wa svg { width: 24px; height: 24px; }
}
