@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Raleway:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --hijau-tua: #1a4a2e;
  --hijau-mid: #2d6a4f;
  --hijau-muda: #40916c;
  --emas: #c9a84c;
  --emas-muda: #e8c96d;
  --krem: #faf5eb;
  --putih: #ffffff;
  --hitam: #1a1a1a;
  --abu: #6b7280;
  --abu-muda: #f3f4f6;
  --shadow: 0 8px 32px rgba(26, 74, 46, 0.15);
  --shadow-lg: 0 20px 60px rgba(26, 74, 46, 0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--krem);
  color: var(--hitam);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 74, 46, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--emas);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo .logo-text span:first-child {
  font-family: 'Amiri', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--emas);
}

.nav-logo .logo-text span:last-child {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emas);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--emas);
}

.nav-cta {
  background: var(--emas);
  color: var(--hijau-tua) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--emas-muda) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--hijau-tua) 0%, var(--hijau-mid) 50%, #1b5e3b 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--emas-muda);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge::before {
  content: '🌙';
  font-size: 16px;
}

.hero-title {
  font-family: 'Amiri', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: var(--putih);
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInDown 0.9s ease both;
}

.hero-title .highlight {
  color: var(--emas);
  font-style: italic;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 480px;
  animation: fadeInUp 1s ease both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  animation: fadeInUp 1.1s ease both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Amiri', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--emas);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emas);
  color: var(--hijau-tua);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--emas-muda);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201,168,76,0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--putih);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--emas);
  color: var(--emas);
  transform: translateY(-3px);
}

/* Hero Image Grid */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease both;
}

.hero-img-main {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(26,74,46,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 12px;
  padding: 14px 20px;
  color: white;
}

.hero-img-badge .badge-price {
  font-family: 'Amiri', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--emas);
}

.hero-img-badge .badge-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.hero-thumb {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.hero-thumb:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.hero-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

/* ===== SECTION COMMONS ===== */
section {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hijau-mid);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--emas);
}

.section-title {
  font-family: 'Amiri', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--hijau-tua);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--hijau-mid);
  font-style: italic;
}

.section-subtitle {
  font-size: 16px;
  color: var(--abu);
  max-width: 600px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-label {
  justify-content: center;
}

.section-header.center .section-label::before {
  display: none;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
  background: var(--putih);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--krem);
  border: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hijau-mid), var(--emas));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--hijau-tua), var(--hijau-mid));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hijau-tua);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--abu);
  line-height: 1.7;
}

/* ===== PRODUK ===== */
.produk {
  background: var(--krem);
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.produk-card {
  background: var(--putih);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1px solid rgba(201,168,76,0.15);
}

.produk-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.produk-img-wrapper {
  position: relative;
  overflow: hidden;
}

.produk-img-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.produk-card:hover .produk-img-wrapper img {
  transform: scale(1.08);
}

.produk-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--hijau-tua);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.produk-badge.premium {
  background: var(--emas);
  color: var(--hijau-tua);
}

.produk-badge.terlaris {
  background: #e53e3e;
}

.produk-body {
  padding: 24px;
}

.produk-kategori {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hijau-mid);
  margin-bottom: 8px;
}

.produk-nama {
  font-family: 'Amiri', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--hijau-tua);
  margin-bottom: 8px;
}

.produk-desc {
  font-size: 13px;
  color: var(--abu);
  margin-bottom: 16px;
  line-height: 1.6;
}

.produk-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--hijau-mid);
  background: rgba(45,106,79,0.08);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
}

.produk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.produk-harga {
  display: flex;
  flex-direction: column;
}

.harga-label {
  font-size: 11px;
  color: var(--abu);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.harga-value {
  font-family: 'Amiri', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--hijau-tua);
}

.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.btn-order svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* ===== TENTANG / WHY ===== */
.why {
  background: linear-gradient(135deg, var(--hijau-tua) 0%, var(--hijau-mid) 100%);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.why-image {
  position: relative;
}

.why-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}

.why-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.why-img-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 180px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  border: 4px solid var(--emas);
}

.why-img-float img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.why-content .section-title {
  color: var(--putih);
}

.why-content .section-title .accent {
  color: var(--emas);
}

.why-content .section-label {
  color: var(--emas-muda);
}

.why-content .section-label::before {
  background: var(--emas);
}

.why-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.why-item-text strong {
  display: block;
  color: var(--emas-muda);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-item-text p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== TESTIMONI ===== */
.testimoni {
  background: var(--putih);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testi-card {
  background: var(--krem);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
  position: relative;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testi-quote {
  font-size: 48px;
  color: var(--emas);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 16px;
}

.testi-text {
  font-size: 14px;
  color: var(--abu);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testi-stars span {
  color: var(--emas);
  font-size: 16px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--hijau-mid), var(--hijau-tua));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 700;
}

.testi-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--hijau-tua);
}

.testi-kota {
  font-size: 12px;
  color: var(--abu);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #1a3a25 0%, var(--hijau-tua) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-title {
  font-family: 'Amiri', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--putih);
  margin-bottom: 16px;
}

.cta-title .accent {
  color: var(--emas);
  font-style: italic;
}

.cta-desc {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 18px 48px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.3);
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(37,211,102,0.45);
}

.cta-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.cta-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== FOOTER ===== */
.footer {
  background: #111c15;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .logo-emoji {
  font-size: 32px;
}

.footer-brand .brand-name {
  font-family: 'Amiri', serif;
  font-size: 22px;
  color: var(--emas);
  font-weight: 700;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--emas);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--emas);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-icon {
  font-size: 18px;
  margin-top: 2px;
}

.footer-contact-item p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
}

.footer-bottom p {
  font-size: 13px;
}

.footer-bottom .halal-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--emas);
  font-weight: 600;
}

/* ===== FLOATING WA ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-float-bubble {
  background: var(--putih);
  color: var(--hijau-tua);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: pulse-bubble 2s ease infinite;
  white-space: nowrap;
}

.wa-float-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: var(--transition);
  cursor: pointer;
  animation: pulse-wa 2s ease infinite;
}

.wa-float-btn:hover {
  transform: scale(1.12);
}

.wa-float-btn svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ===== MODAL / LIGHTBOX ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--putih);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 24px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: auto;
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: var(--abu-muda);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  z-index: 2;
  flex-shrink: 0;
}

.modal-close:hover {
  background: #e5e7eb;
}

.modal-title {
  font-family: 'Amiri', serif;
  font-size: 22px;
  color: var(--hijau-tua);
  font-weight: 700;
  margin-bottom: 4px;
  padding-right: 40px;
  line-height: 1.3;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--abu);
  margin-bottom: 16px;
  line-height: 1.5;
}

.modal-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.modal-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-detail-item {
  background: var(--krem);
  border-radius: 10px;
  padding: 10px 12px;
}

.modal-detail-item .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--abu);
  margin-bottom: 3px;
}

.modal-detail-item .value {
  font-weight: 700;
  color: var(--hijau-tua);
  font-size: 14px;
}

.modal-harga {
  font-family: 'Amiri', serif;
  font-size: 26px;
  color: var(--hijau-tua);
  font-weight: 700;
  margin-bottom: 14px;
}

.modal-wa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.modal-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.4);
}

.modal-wa-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
  flex-shrink: 0;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--hijau-mid);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 998;
  border: none;
  font-size: 18px;
  box-shadow: var(--shadow);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--hijau-tua);
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 40px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.1); }
}

@keyframes pulse-bubble {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid,
  .produk-grid,
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-image {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* === NAVBAR === */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26, 74, 46, 0.98);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    padding: 10px 0;
  }

  /* === HERO === */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 90px 16px 50px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero-stats {
    gap: 20px;
    margin-bottom: 24px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 10px;
  }

  .hero-img-main img {
    height: 260px;
  }

  .hero-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
  }

  .hero-thumb img {
    height: 72px;
  }

  .hero-img-badge {
    padding: 10px 14px;
  }

  .hero-img-badge .badge-price {
    font-size: 18px;
  }

  /* === SECTIONS === */
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  /* === FEATURES === */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 22px;
    margin-bottom: 0;
  }

  .feature-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .feature-desc {
    font-size: 13px;
  }

  /* === PRODUK === */
  .produk-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .produk-img-wrapper img {
    height: 220px;
  }

  .produk-body {
    padding: 16px;
  }

  .produk-nama {
    font-size: 20px;
  }

  .produk-footer {
    padding-top: 12px;
  }

  .harga-value {
    font-size: 20px;
  }

  .btn-order {
    padding: 10px 14px;
    font-size: 12px;
  }

  /* === WHY === */
  .why-inner {
    gap: 32px;
  }

  .why-img-main img {
    height: 280px;
  }

  .why-img-float {
    width: 130px;
    right: -12px;
    bottom: -12px;
  }

  .why-img-float img {
    height: 100px;
  }

  .why-list {
    margin-top: 20px;
    gap: 14px;
  }

  .why-item-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 17px;
  }

  /* === TESTIMONI === */
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testi-card {
    padding: 24px 20px;
  }

  .testi-quote {
    font-size: 36px;
    margin-bottom: 8px;
  }

  /* === CTA === */
  .cta-section {
    padding: 60px 0;
  }

  .cta-btn {
    padding: 14px 28px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .cta-btn svg {
    width: 20px;
    height: 20px;
  }

  /* === FOOTER === */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* === FLOATING WA === */
  .wa-float-bubble {
    display: none;
  }

  .wa-float {
    bottom: 20px;
    right: 16px;
  }

  /* === SCROLL TOP === */
  .scroll-top {
    bottom: 88px;
    right: 16px;
  }

  /* === MODAL === */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-box {
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    width: 100%;
    padding: 20px 16px 32px;
    transform: translateY(100%);
  }

  .modal-overlay.active .modal-box {
    transform: translateY(0);
  }

  /* Drag handle visual cue */
  .modal-box::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 0 auto 16px;
  }

  .modal-title {
    font-size: 20px;
    padding-right: 36px;
  }

  .modal-img {
    height: 160px;
    margin-bottom: 12px;
  }

  .modal-detail {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .modal-detail-item {
    padding: 10px;
  }

  .modal-detail-item .label {
    font-size: 9px;
  }

  .modal-detail-item .value {
    font-size: 13px;
  }

  .modal-harga {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .modal-wa-btn {
    padding: 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-thumb img {
    height: 60px;
  }

  .hero-img-main img {
    height: 220px;
  }

  .produk-grid {
    gap: 16px;
  }

  .modal-detail {
    grid-template-columns: 1fr 1fr;
  }
}
