/* ===== ROOT & RESET ===== */
:root {
  --primary: #c8a84b;
  --primary-dark: #a07830;
  --primary-light: #f0d070;
  --dark: #0a0a0f;
  --dark-2: #12121a;
  --dark-3: #1a1a26;
  --dark-4: #222233;
  --text: #e8e8f0;
  --text-muted: #9090a8;
  --white: #ffffff;
  --gradient-gold: linear-gradient(135deg, #c8a84b 0%, #f0d070 50%, #c8a84b 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
  --shadow-gold: 0 0 30px rgba(200, 168, 75, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

/* ===== DIVIDER ===== */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  margin: 12px auto 24px;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(200, 168, 75, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
}

#header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.2);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

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

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

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

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

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

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--primary); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200, 168, 75, 0.08) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(0, 100, 200, 0.06) 0%, transparent 60%),
              var(--gradient-dark);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 168, 75, 0.1);
  border: 1px solid rgba(200, 168, 75, 0.3);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item { text-align: left; }
.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(200, 168, 75, 0.3);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.hero-img-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-wrapper:hover img { transform: scale(1.05); }

.hero-floating-badge {
  position: absolute;
  background: var(--dark-3);
  border: 1px solid rgba(200, 168, 75, 0.4);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  animation: float 3s ease-in-out infinite;
}

.hero-floating-badge.top-left { top: 20px; left: -20px; }
.hero-floating-badge.bottom-right { bottom: 20px; right: -20px; }
.hero-floating-badge .badge-icon { font-size: 1.2rem; }
.hero-floating-badge .badge-text { color: var(--primary); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== ABOUT ===== */
#about { background: var(--dark-2); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-img-grid img {
  border-radius: var(--radius-sm);
  object-fit: cover;
  width: 100%;
  border: 1px solid rgba(200, 168, 75, 0.2);
  transition: var(--transition);
}

.about-img-grid img:first-child {
  grid-column: 1 / -1;
  height: 220px;
}

.about-img-grid img:not(:first-child) { height: 150px; }

.about-img-grid img:hover {
  border-color: var(--primary);
  transform: scale(1.02);
}

.about-content .section-title { text-align: left; }
.about-content .gold-divider { margin-left: 0; }
.about-content .section-subtitle { text-align: left; margin-bottom: 20px; }

.about-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(200, 168, 75, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* ===== PRODUCTS ===== */
#produk { background: var(--dark); }

.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(200, 168, 75, 0.3);
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--gradient-gold);
  color: var(--dark);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.catalog-section { display: none; }
.catalog-section.active { display: block; }

.catalog-header {
  text-align: center;
  margin-bottom: 32px;
}

.catalog-header h3 {
  font-size: 1.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.catalog-header p { color: var(--text-muted); font-size: 0.9rem; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--dark-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200, 168, 75, 0.1);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 75, 0.4);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 50%);
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-order-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: #25D366;
  color: white;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.product-order-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.product-order-btn svg { width: 16px; height: 16px; }

/* ===== TESTIMONIALS ===== */
#testimoni { background: var(--dark-2); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(200, 168, 75, 0.1);
  transition: var(--transition);
  position: relative;
}

.testi-card:hover {
  border-color: rgba(200, 168, 75, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testi-quote {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.6;
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.testi-stars span { color: var(--primary); font-size: 1rem; }

.testi-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}

.testi-name { font-weight: 600; font-size: 0.9rem; }
.testi-location { font-size: 0.78rem; color: var(--text-muted); }

.testi-platform {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.72rem;
  color: var(--primary);
  background: rgba(200, 168, 75, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ===== SOCIAL / CONTACT ===== */
#hubungi { background: var(--dark); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--dark-3);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

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

.social-card svg, .social-card img { width: 32px; height: 32px; }

.social-name { font-size: 0.82rem; font-weight: 600; }

.social-card.wa { border-color: rgba(37, 211, 102, 0.2); }
.social-card.wa:hover { border-color: #25D366; background: rgba(37, 211, 102, 0.08); }

.social-card.ig { border-color: rgba(225, 48, 108, 0.2); }
.social-card.ig:hover { border-color: #E1306C; background: rgba(225, 48, 108, 0.08); }

.social-card.shopee { border-color: rgba(238, 77, 45, 0.2); }
.social-card.shopee:hover { border-color: #EE4D2D; background: rgba(238, 77, 45, 0.08); }

.social-card.tokped { border-color: rgba(66, 181, 73, 0.2); }
.social-card.tokped:hover { border-color: #42B549; background: rgba(66, 181, 73, 0.08); }

.social-card.tiktok { border-color: rgba(255, 0, 80, 0.2); }
.social-card.tiktok:hover { border-color: #ff0050; background: rgba(255, 0, 80, 0.08); }

.social-card.fb { border-color: rgba(24, 119, 242, 0.2); }
.social-card.fb:hover { border-color: #1877F2; background: rgba(24, 119, 242, 0.08); }

.social-card.maps { border-color: rgba(66, 133, 244, 0.2); }
.social-card.maps:hover { border-color: #4285F4; background: rgba(66, 133, 244, 0.08); }

.contact-cta {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
  border: 1px solid rgba(200, 168, 75, 0.2);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(200, 168, 75, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.contact-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-cta h3 span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cta p { color: var(--text-muted); margin-bottom: 28px; }

/* ===== FOOTER ===== */
#footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(200, 168, 75, 0.1);
  padding: 40px 0 20px;
}

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

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-bottom: 16px;
}

.footer-brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 280px; }

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

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

.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--primary); }

/* ===== FLOATING WA ===== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulse-wa 2s ease-in-out infinite;
  cursor: pointer;
}

.floating-wa:hover {
  background: #1ebe5d;
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  animation: none;
}

.floating-wa svg { width: 22px; height: 22px; flex-shrink: 0; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.8); }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }

  .about-inner { grid-template-columns: 1fr; }
  .about-content .section-title { text-align: center; }
  .about-content .gold-divider { margin-left: auto; }
  .about-content .section-subtitle { text-align: center; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero-stats { gap: 20px; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-wa span { display: none; }
  .floating-wa { padding: 14px; border-radius: 50%; }
  .contact-cta { padding: 32px 20px; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-tabs { gap: 8px; }
  .tab-btn { padding: 8px 16px; font-size: 0.82rem; }
}
