/* ===== INDEX PAGE ===== */
/* ── Hero ── */
.hero {
  min-height: 92vh;
  background:
    linear-gradient(135deg, rgba(45,106,79,0.88) 0%, rgba(64,145,108,0.75) 60%, rgba(116,198,157,0.6) 100%),
    url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1600&q=80') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-content { max-width: 780px; position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  margin-top: 2rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-scroll::after {
  content: '↓';
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Visitor Counter (digit style) ── */
.visitor-counter {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}

.visitor-counter-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.visitor-digits {
  display: flex;
  gap: 4px;
  align-items: center;
}

.visitor-digits .digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 48px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

/* Garis tengah seperti flip counter */
.visitor-digits .digit::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.visitor-digits .sep {
  color: rgba(255,255,255,0.4);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0 2px;
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .visitor-digits .digit { width: 30px; height: 40px; font-size: 1.3rem; }
}

/* ── Features ── */
.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-pale), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--green-dark); }
.feature-card p { color: var(--text-mid); font-size: 0.92rem; }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-light) 50%, var(--green-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
}

.about-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232d6a4f' fill-opacity='0.08'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.about-text h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); color: var(--green-dark); margin-bottom: 1rem; }
.about-text p { color: var(--text-mid); margin-bottom: 1rem; line-height: 1.8; }

.about-list { margin: 1.5rem 0; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.about-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--green-pale);
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.75rem; }
.testimonial-text { color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.author-info strong { display: block; font-size: 0.95rem; color: var(--text-dark); }
.author-info span { font-size: 0.82rem; color: var(--text-light); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,0.15) 0%, transparent 60%);
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

@media (max-width: 768px) {
  .hero-scroll { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img { height: 260px; font-size: 4rem; }
}

/* ── Produk Unggulan (featured products slider) ── */
.featured-slider-wrap {
  position: relative;
}

#featuredProductsGrid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

#featuredProductsGrid::-webkit-scrollbar { display: none; }

#featuredProductsGrid .product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 0 0 280px;
  scroll-snap-align: start;
}

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

#featuredProductsGrid .product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

#featuredProductsGrid .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  display: block;
}

#featuredProductsGrid .product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#featuredProductsGrid .product-body h3 {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#featuredProductsGrid .product-body p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#featuredProductsGrid .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

#featuredProductsGrid .product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
}

#featuredProductsGrid .product-price .original {
  font-size: 0.75rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  display: block;
}

#featuredProductsGrid .product-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  text-transform: uppercase;
  z-index: 1;
}

/* Slider nav buttons — dihapus, navigasi via swipe/drag */
