/* NexEWaste: Landing Page & 3D Stage Styling */
/* ==========================================================================
   NexEWaste - Shared Eco-Luxury Design System
   Source of truth: index.html (Landing Page)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Core brand palette */
  --accent: #064E3B;      /* Deep Forest Emerald */
  --accent-2: #059669;    /* Medium Emerald */
  --cta: #059669;         /* Primary Action Emerald */
  --lime: #b5d334;        /* Signature Eco-Lime Accent */
  --deep: #0d2219;        /* Midnight Forest Green */
  --ink: #18181b;         /* Zinc-900 typography */
  --muted: #52525b;       /* Zinc-600 body */
  --subtle: #71717a;      /* Zinc-500 captions & meta */
  --line: #e4e4e7;        /* Zinc-200 border dividers */
  --bg: #F8FAF9;          /* Tinted soft canvas background */
  --surface: #ffffff;     /* Pure white card surface */
  --tint: #e4ebe1;        /* Soft sage accent wash */

  /* Functional status accents */
  --amber: #d97706;
  --amber-bg: #fef3c7;
  --blue: #2563eb;
  --blue-bg: #eff6ff;
  --emerald-bg: #ecfdf5;
  --emerald-text: #065f46;

  /* Elevation & Border Radius Tokens */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .04);
  --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, .14);
  --shadow-lg: 0 18px 40px -14px rgba(5, 150, 105, .4);
  --shadow-glass: 0 12px 32px rgba(0, 0, 0, .14);
}

/* Base resets & box-sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Layout Container */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* ==========================================================================
   Typography & Section Eyebrows
   ========================================================================== */

.label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.label-on-dark {
  color: var(--lime);
}

.h1-hero,
.hero h1 {
  margin: 16px 0 24px;
  font-size: 68px;
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.035em;
  color: #f2f7f3;
}

.hero p.sub {
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.6;
  color: #c9d9cf;
  max-width: 520px;
}

.h2,
.section-title {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--ink);
}

.lede,
.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.section {
  padding-top: 112px;
}

.split {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* ==========================================================================
   Hero & Page Banner System
   ========================================================================== */

.hero,
.page-hero {
  position: relative;
  color: #f2f7f3;
  background: radial-gradient(120% 90% at 75% 15%, #2f6b4e 0%, rgba(47, 107, 78, 0) 55%),
              linear-gradient(160deg, #143a2b 0%, #0a1d16 100%);
  border-radius: 0 0 40px 40px;
  padding-top: 16px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  inset: -25% -10%;
  background: radial-gradient(40% 40% at 25% 35%, rgba(16, 185, 129, .38), transparent 70%),
              radial-gradient(35% 35% at 75% 65%, rgba(181, 211, 52, .22), transparent 70%);
  filter: blur(30px);
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}

.hero-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}

.page-hero-body {
  position: relative;
  z-index: 1;
  padding-top: 36px;
  padding-bottom: 52px;
}

/* ==========================================================================
   Sticky Pill Navigation Bar (.hero-top)
   ========================================================================== */

.hero-top {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
  padding: 0 28px;
  margin-top: 0;
  margin-bottom: 8px;
  border-radius: var(--radius-full);
  position: sticky;
  top: 14px;
  z-index: 20;
  background: rgba(6, 78, 59, .70);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .25);
  transition: background-color .4s cubic-bezier(.16, 1, .3, 1),
              box-shadow .4s cubic-bezier(.16, 1, .3, 1),
              height .3s ease,
              border-color .3s ease,
              transform .3s ease,
              margin .3s ease,
              top .3s ease;
}

.hero-top.scrolled {
  background: rgba(4, 46, 35, .90);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(181, 211, 52, .24);
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, .5);
  height: 64px;
  top: 10px;
}

.hero-top .brand-logo,
.brand-logo {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
  white-space: nowrap;
}

.hero-top .brand-logo:hover,
.brand-logo:hover {
  transform: scale(1.03);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 6px;
  font-size: 14px;
  color: #d9e6dd;
  font-weight: 500;
  align-items: center;
}

.nav a,
.nav .nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  color: #d9e6dd;
  transition: color .25s cubic-bezier(.16, 1, .3, 1),
              background-color .25s cubic-bezier(.16, 1, .3, 1),
              transform .2s ease;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav .nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
  text-decoration: none;
}

.nav a.active,
.nav .nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, .15);
  font-weight: 600;
  text-decoration: none;
}

.nav a:active,
.nav .nav-link:active {
  transform: translateY(0);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ==========================================================================
   Button System (.btn)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter .2s ease, transform .15s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 0;
  font-family: inherit;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  line-height: 1;
}

.btn:active {
  transform: scale(.95);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn:hover::after {
  animation: sheen .8s ease;
}

@keyframes sheen {
  to { transform: translateX(120%); }
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn-grad {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, .28);
}

.btn-grad:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(5, 150, 105, .4);
  text-decoration: none;
}

.btn-light {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.btn-light:hover {
  background: #eef4ec;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, .35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: #f4f8f5;
  border-color: var(--accent-2);
  color: var(--accent);
  text-decoration: none;
}

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

.btn-outline-emerald:hover {
  background: var(--emerald-bg);
  color: var(--emerald-text);
  text-decoration: none;
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

/* ==========================================================================
   Card System (.product, .item-card, .related-card)
   ========================================================================== */

.product,
.item-card,
.related-card {
  display: block;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.product:hover,
.item-card:hover,
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #a7f3d0;
  text-decoration: none;
}

.product .ph,
.item-thumb,
.related-thumb {
  overflow: hidden;
  aspect-ratio: 4/3;
  height: auto;
  background: linear-gradient(135deg, #f1f4f0, #e2e8e1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--accent-2);
}

.product .ph::after,
.item-thumb::after,
.related-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.product:hover .ph::after,
.item-card:hover .item-thumb::after,
.related-card:hover .related-thumb::after {
  animation: sheen .9s ease;
}

.product .ph .dev,
.item-thumb svg,
.related-thumb svg {
  transition: transform .5s ease;
}

.product:hover .ph .dev,
.item-card:hover .item-thumb svg,
.related-card:hover .related-thumb svg {
  transform: scale(1.05);
}

/* ==========================================================================
   Glassmorphism (.glass)
   ========================================================================== */

.glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 22px;
  color: #f2f7f3;
  box-shadow: var(--shadow-glass);
}

.glass .t {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.glass .d {
  font-size: 14px;
  line-height: 1.5;
  color: #c9d9cf;
  margin: 0;
}

/* ==========================================================================
   Chips, Pills, & Badges
   ========================================================================== */

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #f2f7f3;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
  text-decoration: none;
}

.chip:hover {
  text-decoration: none;
  border-color: rgba(181, 211, 52, .8);
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px);
}

.chip-light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.chip-light:hover {
  text-decoration: none;
  border-color: var(--accent-2);
  color: var(--accent);
  background: var(--tint);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.badge-pill.status-green {
  background: var(--emerald-bg);
  color: var(--emerald-text);
  border: 1px solid #a7f3d0;
}

.badge-pill.status-amber {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid #fde68a;
}

.badge-pill.status-blue {
  background: var(--blue-bg);
  color: var(--blue);
  border: 1px solid #bfdbfe;
}

.ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(181, 211, 52, .14);
  color: var(--lime);
  margin-bottom: 14px;
}

.ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--emerald-bg);
  color: #047857;
  margin-bottom: 8px;
}

.s-ic {
  display: flex;
  align-items: center;
  padding-left: 14px;
  color: var(--subtle);
}

.pulse {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Search Bar (Landing page style) */
.search,
.search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  max-width: 560px;
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease;
}

.search:focus-within,
.search-pill:focus-within {
  transform: scale(1.01);
  box-shadow: 0 0 0 3px rgba(181, 211, 52, .35), 0 0 26px rgba(16, 185, 129, .35);
}

.search input,
.search-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  padding: 0 16px;
  color: var(--ink);
  outline: none;
}

.search input::placeholder,
.search-pill input::placeholder {
  color: var(--subtle);
}

/* ==========================================================================
   Form Controls
   ========================================================================== */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(181, 211, 52, .3);
}

/* ==========================================================================
   Modals & Notifications
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 34, 25, .65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  border: 1px solid var(--line);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn .25s cubic-bezier(.16, 1, .3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.btn-close {
  background: #f4f4f5;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  transition: background-color .15s ease, color .15s ease;
}

.btn-close:hover {
  background-color: #e4e4e7;
  color: var(--ink);
}

.modal-body {
  padding: 24px 28px;
}

.modal-footer {
  padding: 18px 28px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #fafbfa;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--deep);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  border-left: 4px solid var(--lime);
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-right: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Footer (.footer)
   ========================================================================== */

.footer {
  background: var(--deep);
  color: #c9d9cf;
  margin-top: 112px;
  border-radius: 40px 40px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #c9d9cf;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--lime);
  text-decoration: underline;
}

/* ==========================================================================
   Animations & Micro-interactions
   ========================================================================== */

.rise {
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms) backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.float {
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

.float-slow {
  animation: float 8.5s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

.float-fast {
  animation: float 4.2s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

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

/* Page fade-slide entrance */
.page-enter {
  animation: pageEnter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Subtle breathing glow pulse for eco cards & badges */
.pulse-glow {
  animation: pulseGlow 3.6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.1);
  }
  100% {
    box-shadow: 0 12px 32px rgba(5, 150, 105, 0.22), 0 0 20px rgba(181, 211, 52, 0.18);
  }
}

/* Status live dot with breathing halo */
.live-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background-color: var(--cta);
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background-color: inherit;
  opacity: 0.75;
  animation: livePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes livePing {
  75%, 100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

/* Scroll reveal (diaktifkan lewat class .rv-ready di <html>/<body>) */
.rv-ready [data-reveal]:not(.in) {
  opacity: 0;
  transform: translateY(28px);
}

.rv-ready [data-reveal="left"]:not(.in) {
  opacity: 0;
  transform: translateX(-32px);
}

.rv-ready [data-reveal="right"]:not(.in) {
  opacity: 0;
  transform: translateX(32px);
}

.rv-ready [data-reveal="zoom"]:not(.in) {
  opacity: 0;
  transform: scale(0.94);
}

.rv-ready [data-stagger] > :not(.in) {
  opacity: 0;
  transform: translateY(22px);
}

[data-reveal],
[data-stagger] > * {
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
  will-change: opacity, transform;
}

[data-reveal].in,
[data-stagger] > *.in {
  opacity: 1;
  transform: none;
}

/* Enhanced Card & Element Micro-Interactions */
.card-interactive,
.card-hover {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}

.card-interactive:hover,
.card-hover:hover {
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 16px 36px -8px rgba(5, 150, 105, 0.16),
              0 0 0 1px rgba(181, 211, 52, 0.35);
}

/* Smooth Tab Fade Transition */
.tab-fade-in {
  animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Animated Progress bar fill */
.anim-bar-fill {
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tilt {
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

/* ==========================================================================
   Responsive Adaptations (breakpoint sama dengan landing page: 1000 / 640)
   ========================================================================== */

@media (max-width: 1000px) {
  .h1-hero,
  .hero h1 {
    font-size: 52px;
  }

  .hero-body {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .h2,
  .section-title {
    font-size: 36px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  .hero,
  .page-hero {
    padding-top: 12px;
  }

  .hero-top {
    height: auto;
    padding: 14px 20px;
    border-radius: 24px;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    font-size: 13px;
  }

  .hero-top .btn {
    margin-left: auto;
  }

  .h1-hero,
  .hero h1 {
    font-size: 40px;
  }

  .section {
    padding-top: 72px;
  }

  .h2,
  .section-title {
    font-size: 30px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .search {
    flex-direction: column;
    border-radius: 24px;
    padding: 10px;
  }

  .search .btn {
    width: 100%;
  }

  .footer {
    margin-top: 72px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==========================================================================
   Analisa Data E-Waste Section Styles
   ========================================================================== */
.analisa-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.analisa-card:hover {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.08);
}

.analisa-grid-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.kpi-stat-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.kpi-stat-box:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.kpi-stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--lime));
  opacity: 0.9;
}

.kpi-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}

.kpi-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.kpi-sub {
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.4;
}

.kpi-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.kpi-badge-green {
  background: #ecfdf5;
  color: #065f46;
}

.kpi-badge-amber {
  background: #fffbeb;
  color: #b45309;
}

.kpi-badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.year-pill-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
  text-align: left;
}

.year-pill-btn:hover {
  background: #f4f7f5;
  color: var(--ink);
}

.year-pill-btn.active {
  background: #ecfdf5;
  color: var(--accent);
  font-weight: 700;
  border-color: rgba(5, 150, 105, 0.3);
}

.chart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.metric-toggle-group {
  display: inline-flex;
  background: #f1f5f2;
  padding: 4px;
  border-radius: 999px;
  gap: 4px;
}

.metric-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
  min-height: 38px;
}

.metric-btn.active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.metric-btn:hover:not(.active) {
  color: var(--ink);
}

.chart-visual-container {
  background: linear-gradient(180deg, rgba(248, 250, 249, 0.75) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px 16px;
  position: relative;
}

.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 240px;
  gap: 14px;
  padding-top: 32px;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.chart-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(226, 232, 240, 0.95);
  pointer-events: none;
}

.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.chart-col-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  white-space: nowrap;
  transition: transform .2s ease, color .2s ease;
}

.chart-bar-fill {
  width: 100%;
  max-width: 48px;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border-radius: 8px 8px 3px 3px;
  transition: height .55s cubic-bezier(0.16, 1, 0.3, 1), background .25s ease, filter .2s ease;
  position: relative;
  min-height: 8px;
}

.chart-col:hover .chart-bar-fill {
  filter: brightness(1.12);
}

.chart-col.is-active .chart-bar-fill {
  background: linear-gradient(180deg, var(--lime) 0%, #059669 100%);
  box-shadow: 0 0 0 2px var(--accent);
}

.chart-col.is-projection .chart-bar-fill {
  background: repeating-linear-gradient(
    45deg,
    #059669,
    #059669 6px,
    #047857 6px,
    #047857 12px
  );
}

.chart-col.is-projection.is-active .chart-bar-fill {
  background: repeating-linear-gradient(
    45deg,
    #10b981,
    #10b981 6px,
    #059669 6px,
    #059669 12px
  );
  box-shadow: 0 0 0 2px var(--accent);
}

.chart-col-year {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.chart-col.is-active .chart-col-year {
  color: var(--accent);
  font-weight: 800;
}

.chart-col-proj-tag {
  font-size: 9px;
  text-transform: uppercase;
  background: #fef3c7;
  color: #92400e;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .02em;
}

.year-detail-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all .25s ease;
}

.year-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.year-detail-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.year-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cat-bar-item {
  margin-bottom: 14px;
}

.cat-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cat-bar-track {
  height: 8px;
  background: #e9ece6;
  border-radius: 999px;
  overflow: hidden;
}

.cat-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), #10b981);
  transition: width .5s ease;
}

.recovery-calc-box {
  margin-top: 28px;
  background: linear-gradient(135deg, #072a1e 0%, #064E3B 60%, #0d3829 100%);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.recovery-calc-box::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(181, 211, 52, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.calc-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-chip-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  min-height: 36px;
}

.calc-chip-btn.active,
.calc-chip-btn:hover {
  background: var(--lime);
  color: var(--deep);
  border-color: var(--lime);
  font-weight: 700;
}

.recovery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.recovery-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.recovery-item-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 4px;
}

.recovery-item-name {
  font-size: 12px;
  font-weight: 600;
  color: #e4e4e7;
  margin-bottom: 4px;
}

.recovery-item-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.analisa-source-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .analisa-grid-kpi {
    grid-template-columns: repeat(2, 1fr);
  }
  .recovery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .year-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .analisa-grid-kpi {
    grid-template-columns: 1fr;
  }
  .chart-bars-wrap {
    height: 200px;
    gap: 6px;
  }
  .chart-col-val {
    font-size: 10px;
  }
  .chart-col-year {
    font-size: 11px;
  }
  .recovery-grid {
    grid-template-columns: 1fr;
  }
  .metric-toggle-group {
    width: 100%;
    overflow-x: auto;
  }
  .metric-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Regional Global Comparison */
.regional-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.regional-card {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.regional-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  background: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
}

.regional-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.regional-rate {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}

.regional-rate-sub {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 700;
  letter-spacing: .04em;
}

.regional-capita {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .regional-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .regional-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

/* Page-specific styles */
:root {
          --accent: #064E3B;
          --accent-2: #059669;
          --cta: #059669;
          --lime: #b5d334;
          --deep: #0d2219;
          --ink: #18181b;
          --muted: #52525b;
          --subtle: #71717a;
          --line: #e4e4e7;
          --bg: #F8FAF9;
          --surface: #fff;
          --tint: #e4ebe1
        }

        html {
          scroll-behavior: smooth;
        }

        body {
          margin: 0;
          font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
          color: var(--ink);
          background: var(--bg);
          line-height: 1.5
        }

        a {
          color: inherit;
          text-decoration: none;
          transition: color .2s ease
        }

        a:hover {
          text-decoration: underline
        }

        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        select:focus-visible {
          outline: 2px solid var(--lime);
          outline-offset: 3px;
          border-radius: 8px
        }

        .wrap {
          max-width: 1200px;
          margin: 0 auto;
          padding: 0 40px;
          box-sizing: border-box
        }

        .btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          min-height: 48px;
          padding: 0 24px;
          border-radius: 999px;
          font-size: 15px;
          font-weight: 600;
          cursor: pointer;
          transition: filter .2s ease, transform .15s ease, background-color .2s ease;
          border: 0;
          font-family: inherit;
          white-space: nowrap
        }

        .btn:active {
          transform: scale(.98)
        }

        .btn-grad {
          background: var(--cta);
          color: #fff
        }

        .btn-grad:hover {
          filter: brightness(1.08);
          text-decoration: none
        }

        .btn-light {
          background: #fff;
          color: var(--deep)
        }

        .btn-light:hover {
          background: #eef4ec;
          text-decoration: none
        }

        .btn-ghost {
          background: transparent;
          color: inherit;
          border: 1px solid rgba(255, 255, 255, .35)
        }

        .btn-ghost:hover {
          background: rgba(255, 255, 255, .1);
          text-decoration: none
        }

        .label {
          margin: 0;
          font-size: 13px;
          font-weight: 600;
          letter-spacing: .08em;
          text-transform: uppercase;
          color: var(--accent)
        }

        .label-on-dark {
          color: var(--lime)
        }

        .h2 {
          margin: 0;
          font-size: 44px;
          line-height: 1.06;
          font-weight: 500;
          letter-spacing: -.025em
        }

        .lede {
          font-size: 17px;
          line-height: 1.65;
          color: var(--muted);
          margin: 0
        }

        .section {
          padding-top: 112px
        }

        .split {
          display: grid;
          grid-template-columns: 200px minmax(0, 1fr);
          gap: 48px;
          align-items: start
        }

        .ph {
          background: #e9ece6;
          border-radius: 14px;
          display: flex;
          align-items: center;
          justify-content: center;
          color: var(--subtle);
          font-size: 13px
        }

        .product {
          display: block;
          color: inherit;
          background: var(--surface);
          border: 1px solid var(--line);
          border-radius: 18px;
          padding: 12px;
          transition: border-color .2s ease, transform .2s ease
        }

        .product:hover {
          border-color: var(--accent);
          text-decoration: none
        }

        /* Hero */
        .hero {
          position: relative;
          color: #f2f7f3;
          background: radial-gradient(120% 90% at 75% 15%, #2f6b4e 0%, rgba(47, 107, 78, 0) 55%), linear-gradient(160deg, #143a2b 0%, #0a1d16 100%);
          border-radius: 0 0 40px 40px;
          padding-top: 16px
        }

        .hero-top {
          display: flex;
          align-items: center;
          gap: 32px;
          height: 72px;
          padding: 0 28px;
          margin-top: 0;
          margin-bottom: 8px;
          border-radius: 999px;
          transition: background-color .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s cubic-bezier(.16, 1, .3, 1), height .3s ease, border-color .3s ease, transform .3s ease, margin .3s ease;
        }

        .hero-top .brand-logo {
          transition: transform .25s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
          display: inline-flex;
          align-items: center;
        }

        .hero-top .brand-logo:hover {
          transform: scale(1.03);
        }

        .nav {
          display: flex;
          gap: 6px;
          font-size: 14px;
          color: #d9e6dd;
          font-weight: 500;
          align-items: center;
        }

        .nav a {
          position: relative;
          padding: 8px 14px;
          border-radius: 999px;
          color: #d9e6dd;
          transition: color .25s cubic-bezier(.16, 1, .3, 1), background-color .25s cubic-bezier(.16, 1, .3, 1), transform .2s ease;
        }

        .nav a:hover {
          color: #fff;
          background-color: rgba(255, 255, 255, .1);
          transform: translateY(-1px);
        }

        .nav a:active {
          transform: translateY(0);
        }

        .hero-body {
          display: grid;
          grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
          gap: 48px;
          align-items: center;
          padding-top: 72px;
          padding-bottom: 88px
        }

        .hero h1 {
          margin: 16px 0 24px;
          font-size: 68px;
          line-height: 1.02;
          font-weight: 500;
          letter-spacing: -.035em
        }

        .hero p.sub {
          margin: 0 0 36px;
          font-size: 18px;
          line-height: 1.6;
          color: #c9d9cf;
          max-width: 520px
        }

        .glass {
          background: rgba(255, 255, 255, .08);
          border: 1px solid rgba(255, 255, 255, .18);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          border-radius: 22px;
          padding: 22px;
          color: #f2f7f3
        }

        .glass .t {
          font-size: 18px;
          font-weight: 600;
          margin: 0 0 6px
        }

        .glass .d {
          font-size: 14px;
          line-height: 1.5;
          color: #c9d9cf;
          margin: 0
        }

        .search {
          display: flex;
          gap: 8px;
          padding: 8px;
          max-width: 560px;
          border-radius: 999px;
          background: #fff;
          border: 0
        }

        .search input {
          flex: 1;
          min-width: 0;
          border: 0;
          background: transparent;
          font: inherit;
          font-size: 15px;
          padding: 0 16px;
          color: var(--ink)
        }

        .search input::placeholder {
          color: var(--subtle)
        }

        .chips {
          display: flex;
          gap: 10px;
          flex-wrap: wrap;
          margin-top: 24px
        }

        .chip {
          display: inline-flex;
          align-items: center;
          min-height: 38px;
          padding: 0 16px;
          border-radius: 999px;
          border: 1px solid rgba(255, 255, 255, .25);
          color: #f2f7f3;
          font-size: 14px;
          font-weight: 500;
          transition: background-color .2s ease, border-color .2s ease
        }

        .chip:hover {
          background: rgba(255, 255, 255, .12);
          text-decoration: none
        }

        /* Tentang */
        .about-rows {
          margin-top: 40px;
          border-top: 1px solid var(--line)
        }

        .about-row {
          display: grid;
          grid-template-columns: 140px 1fr;
          gap: 16px;
          padding: 20px 0;
          border-bottom: 1px solid var(--line);
          font-size: 16px
        }

        .about-row b {
          font-weight: 600;
          color: var(--ink)
        }

        .about-row span {
          color: var(--muted)
        }

        /* Cara kerja: kartu berpotongan miring */
        .steps {
          display: grid;
          grid-template-columns: repeat(3, minmax(0, 1fr));
          gap: 20px
        }

        .step {
          background: var(--tint);
          padding: 32px 28px 36px;
          min-height: 260px;
          clip-path: polygon(0 0, 76% 0, 100% 18%, 100% 100%, 0 100%);
          display: flex;
          flex-direction: column;
          gap: 10px
        }

        .step .n {
          font-size: 14px;
          font-weight: 700;
          color: var(--accent)
        }

        .step .t {
          font-size: 22px;
          font-weight: 600;
          margin: auto 0 0
        }

        .step .d {
          font-size: 15px;
          line-height: 1.6;
          color: var(--muted);
          margin: 0
        }

        /* ==========================================================================
           Bedah Perangkat 3D - Interactive Exploded View System
           ========================================================================== */
        .disasm {
          position: relative;
          height: 380vh;
          background: radial-gradient(circle at 50% 15%, #0d291e 0%, #06150f 50%, #030b07 100%);
          color: #f2f7f3;
          margin: 0;
          padding: 0;
          box-sizing: border-box;
        }

        .disasm .stage {
          position: -webkit-sticky;
          position: sticky;
          top: 0;
          left: 0;
          width: 100%;
          height: 100vh;
          height: 100dvh;
          overflow: hidden;
          box-sizing: border-box;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        /* Pinned Header Overlay */
        .disasm-header {
          position: absolute;
          top: 32px;
          left: 5%;
          right: 5%;
          z-index: 20;
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          pointer-events: none;
        }

        .disasm-header-left {
          pointer-events: auto;
          max-width: 540px;
        }

        .disasm-title {
          font-size: clamp(22px, 3vw, 34px);
          font-weight: 800;
          letter-spacing: -0.02em;
          line-height: 1.2;
          margin-top: 6px;
          text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
        }

        .disasm-step-nav {
          pointer-events: auto;
          display: flex;
          align-items: center;
          gap: 6px;
          background: rgba(6, 26, 18, 0.85);
          border: 1px solid rgba(52, 211, 153, 0.24);
          border-radius: 999px;
          padding: 5px 8px;
          box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
          backdrop-filter: blur(14px);
          -webkit-backdrop-filter: blur(14px);
        }

        .disasm-step-btn {
          background: transparent;
          border: none;
          outline: none;
          cursor: pointer;
          color: #a7f3d0;
          font-family: inherit;
          font-size: 13px;
          font-weight: 600;
          padding: 6px 14px;
          border-radius: 999px;
          display: inline-flex;
          align-items: center;
          gap: 6px;
          transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .disasm-step-btn:hover {
          background: rgba(52, 211, 153, 0.16);
          color: #fff;
        }

        .disasm-step-btn.active {
          background: var(--lime);
          color: #042e23;
          font-weight: 700;
          box-shadow: 0 2px 14px rgba(181, 211, 52, 0.4);
        }

        .disasm-step-btn .s-num {
          font-size: 11px;
          opacity: 0.82;
          font-weight: 800;
        }

        /* 3D WebGL Canvas */
        .bedah-canvas {
          position: absolute;
          inset: 0;
          width: 100%;
          height: 100%;
          z-index: 2;
          display: block;
          cursor: grab;
          touch-action: pan-y;
        }

        .bedah-canvas:active {
          cursor: grabbing;
        }

        /* SVG Dynamic Leader Lines */
        .leaders {
          position: absolute;
          inset: 0;
          width: 100%;
          height: 100%;
          z-index: 8;
          pointer-events: none;
          overflow: visible;
          display: block;
        }

        .leader {
          stroke: #34d399;
          stroke-width: 1.5;
          stroke-linecap: round;
          stroke-dasharray: 4 4;
          filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
          transition: opacity 0.3s ease;
        }

        .leader-dot {
          fill: #34d399;
          filter: drop-shadow(0 0 8px #34d399);
          transition: opacity 0.3s ease;
        }

        /* Spotlight Step Cards Container */
        .caps {
          position: absolute;
          left: 5%;
          top: 52%;
          transform: translateY(-46%);
          width: min(380px, 34vw);
          height: 320px;
          pointer-events: none;
          z-index: 15;
        }

        .cap {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          box-sizing: border-box;
          opacity: 0;
          visibility: hidden;
          transform: translateY(18px);
          transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                      visibility 0.4s;
          pointer-events: none;
          padding: 24px 26px;
          border-radius: 24px;
          background: rgba(6, 26, 18, 0.88);
          border: 1px solid rgba(52, 211, 153, 0.28);
          box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
          backdrop-filter: blur(16px);
          -webkit-backdrop-filter: blur(16px);
        }

        .cap.is-active {
          opacity: 1;
          visibility: visible;
          transform: translateY(0);
          pointer-events: auto;
          border-color: rgba(52, 211, 153, 0.55);
          box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 28px rgba(16, 185, 129, 0.2);
        }

        .cap-step-badge {
          display: inline-block;
          font-size: 11px;
          font-weight: 800;
          letter-spacing: 0.1em;
          color: var(--lime);
          margin-bottom: 6px;
          text-transform: uppercase;
        }

        .cap h3 {
          margin: 0 0 8px 0;
          font-size: 20px;
          font-weight: 700;
          color: #fff;
          letter-spacing: -0.01em;
        }

        .cap p {
          margin: 0 0 16px 0;
          font-size: 14px;
          line-height: 1.6;
          color: #d1fae5;
        }

        .cap-meta {
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
          border-top: 1px solid rgba(52, 211, 153, 0.16);
          padding-top: 12px;
        }

        .cap-tag {
          display: inline-flex;
          align-items: center;
          font-size: 11px;
          font-weight: 600;
          padding: 4px 10px;
          border-radius: 999px;
          background: rgba(52, 211, 153, 0.12);
          color: #a7f3d0;
          border: 1px solid rgba(52, 211, 153, 0.24);
        }

        .cap-tag-danger {
          background: rgba(239, 68, 68, 0.15);
          color: #fca5a5;
          border-color: rgba(239, 68, 68, 0.3);
        }

        .cap-tag-gold {
          background: rgba(245, 197, 66, 0.15);
          color: #fde047;
          border-color: rgba(245, 197, 66, 0.35);
        }

        /* Bottom Interactive Controls & Progress Bar */
        .disasm-bottom-bar {
          position: absolute;
          bottom: 24px;
          left: 5%;
          right: 5%;
          z-index: 20;
          display: flex;
          justify-content: space-between;
          align-items: center;
          pointer-events: none;
          flex-wrap: wrap;
          gap: 12px;
        }

        .bedah-hint {
          position: static;
          transform: none;
          background: rgba(8, 28, 20, 0.85);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          border: 1px solid rgba(52, 211, 153, 0.3);
          color: #a7f3d0;
          font-size: 12px;
          font-weight: 500;
          letter-spacing: 0.02em;
          padding: 8px 18px;
          border-radius: 9999px;
          pointer-events: auto;
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
          transition: opacity 0.4s ease;
          white-space: nowrap;
        }

        .disasm-progress-wrap {
          display: inline-flex;
          align-items: center;
          gap: 10px;
          background: rgba(8, 28, 20, 0.85);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          border: 1px solid rgba(52, 211, 153, 0.3);
          border-radius: 999px;
          padding: 6px 16px;
          pointer-events: auto;
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
        }

        .disasm-progress-label {
          font-size: 12px;
          font-weight: 600;
          color: #a7f3d0;
        }

        .disasm-progress-track {
          width: 100px;
          height: 6px;
          background: rgba(255, 255, 255, 0.12);
          border-radius: 999px;
          overflow: hidden;
        }

        .disasm-progress-bar {
          width: 0%;
          height: 100%;
          background: linear-gradient(90deg, #10b981, #b5d334);
          border-radius: 999px;
          transition: width 0.1s linear;
        }

        .disasm-progress-val {
          font-size: 12px;
          font-weight: 700;
          color: #fff;
          min-width: 32px;
          text-align: right;
        }

        /* Responsif Tablet & Mobile untuk Bedah Perangkat */
        @media (max-width: 900px) {
          .disasm {
            height: 320vh;
          }

          .disasm-header {
            flex-direction: column;
            gap: 10px;
            top: 16px;
            left: 16px;
            right: 16px;
          }

          .disasm-title {
            font-size: 20px;
          }

          .disasm-step-nav {
            overflow-x: auto;
            width: 100%;
            justify-content: flex-start;
          }

          .disasm-step-btn {
            font-size: 12px;
            padding: 5px 10px;
          }

          .caps {
            left: 16px;
            right: 16px;
            width: auto;
            max-width: 500px;
            margin: 0 auto;
            top: auto;
            bottom: 68px;
            transform: none;
            height: 220px;
          }

          .cap {
            padding: 16px 18px;
            border-radius: 18px;
          }

          .cap h3 {
            font-size: 17px;
            margin-bottom: 4px;
          }

          .cap p {
            font-size: 13px;
            line-height: 1.45;
            margin-bottom: 8px;
          }

          .disasm-bottom-bar {
            bottom: 12px;
            left: 16px;
            right: 16px;
          }

          .bedah-hint {
            display: none;
          }

          .leaders {
            display: none;
          }
        }

        /* Grid produk */
        .grid-4 {
          display: grid;
          grid-template-columns: repeat(4, minmax(0, 1fr));
          gap: 20px
        }

        /* Footer */
        .footer {
          background: var(--deep);
          color: #c9d9cf;
          margin-top: 112px;
          border-radius: 40px 40px 0 0
        }

        .footer-inner {
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;
          gap: 16px;
          padding-top: 40px;
          padding-bottom: 40px;
          font-size: 14px
        }

        .footer-links {
          display: flex;
          gap: 24px;
          flex-wrap: wrap
        }

        /* Responsif: tablet */
        @media (max-width:1000px) {
          .hero h1 {
            font-size: 52px
          }

          .hero-body {
            grid-template-columns: 1fr;
            padding-bottom: 64px
          }

          .split {
            grid-template-columns: 1fr;
            gap: 20px
          }

          .h2 {
            font-size: 36px
          }

          .grid-4 {
            grid-template-columns: repeat(2, minmax(0, 1fr))
          }

          .stage {
            grid-template-columns: 1fr;
            gap: 16px
          }

          .steps {
            grid-template-columns: 1fr
          }
        }

        @media (max-width:1000px) {
          /* Responsive adjustments for 1000px */
        }

        /* Responsif: ponsel */
        @media (max-width:640px) {
          .wrap {
            padding: 0 20px
          }

          .hero {
            padding-top: 12px
          }

          .hero-top {
            height: auto;
            padding: 14px 20px;
            border-radius: 24px;
            margin-top: 0;
            flex-wrap: wrap;
            gap: 12px
          }

          .nav {
            order: 3;
            width: 100%;
            gap: 18px;
            overflow-x: auto;
            font-size: 13px
          }

          .hero-top .btn {
            margin-left: auto
          }

          .hero h1 {
            font-size: 40px
          }

          .section {
            padding-top: 72px
          }

          .h2 {
            font-size: 30px
          }

          .about-row {
            grid-template-columns: 1fr;
            gap: 4px
          }

          .search {
            flex-direction: column;
            border-radius: 24px;
            padding: 10px
          }

          .search .btn {
            width: 100%
          }

          .grid-4 {
            grid-template-columns: 1fr
          }

          .footer {
            margin-top: 72px
          }
        }

        /* Non-destructive prefers-reduced-motion fallback */
        @media (prefers-reduced-motion: reduce) {
          * {
            scroll-behavior: auto !important;
          }
        }

        /* Polesan: eco-luxury */
        .hero-top {
          position: sticky;
          top: 14px;
          z-index: 20;
          background: rgba(6, 78, 59, .70);
          -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
          border: 1px solid rgba(255, 255, 255, .14);
          box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .25);
        }

        .hero-top.scrolled {
          background: rgba(4, 46, 35, .90);
          -webkit-backdrop-filter: blur(24px);
          backdrop-filter: blur(24px);
          border: 1px solid rgba(181, 211, 52, .24);
          box-shadow: 0 12px 36px -8px rgba(0, 0, 0, .5);
          height: 64px;
          top: 10px;
        }

        .glass {
          border-radius: 22px;
          box-shadow: 0 12px 32px rgba(0, 0, 0, .14)
        }

        .ic {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 40px;
          height: 40px;
          border-radius: 999px;
          background: rgba(181, 211, 52, .14);
          color: var(--lime);
          margin-bottom: 14px
        }

        .s-ic {
          display: flex;
          align-items: center;
          padding-left: 14px;
          color: var(--subtle)
        }

        .search {
          box-shadow: 0 8px 30px rgba(0, 0, 0, .18)
        }

        .search input {
          padding-left: 12px
        }

        .chip:hover {
          border-color: rgba(181, 211, 52, .8);
          background: rgba(255, 255, 255, .14)
        }

        .step .n {
          display: inline-flex;
          align-self: flex-start;
          padding: 6px 12px;
          border-radius: 999px;
          background: #fff;
          border: 1px solid var(--line);
          color: var(--accent)
        }

        .about-rows {
          display: grid;
          grid-template-columns: repeat(3, minmax(0, 1fr));
          gap: 16px;
          border-top: 0;
          counter-reset: ab
        }

        .about-row {
          grid-template-columns: 1fr;
          gap: 10px;
          position: relative;
          overflow: hidden;
          background: var(--surface);
          border: 1px solid var(--line);
          border-radius: 20px;
          padding: 28px 24px;
          box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
          counter-increment: ab
        }

        .about-row::after {
          content: counter(ab, decimal-leading-zero);
          position: absolute;
          right: 14px;
          top: -6px;
          font-size: 76px;
          font-weight: 800;
          letter-spacing: -.04em;
          line-height: 1;
          color: rgba(6, 78, 59, .06);
          pointer-events: none
        }

        .about-row b {
          font-size: 20px
        }

        /* Theme colors for product cards */

        .product:hover {
          box-shadow: 0 12px 30px rgba(0, 0, 0, .06)
        }

        .product .ph {
          overflow: hidden;
          aspect-ratio: 4/3;
          height: auto;
          background: linear-gradient(135deg, #f1f4f0, #e2e8e1)
        }

        .product .ph .dev {
          transition: transform .5s ease
        }

        .product:hover .ph .dev {
          transform: scale(1.05)
        }

        @media (max-width:860px) {
          .about-rows {
            grid-template-columns: 1fr
          }
        }

        /* Animasi: masuk, mengambang, dan kilau */
        .rise {
          animation: rise .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms) backwards
        }

        @keyframes rise {
          from {
            opacity: 0;
            transform: translateY(24px);
            filter: blur(10px)
          }

          to {
            opacity: 1;
            transform: none;
            filter: none
          }
        }

        .rv-ready [data-reveal]:not(.in) {
          opacity: 0;
          transform: translateY(32px)
        }

        .rv-ready [data-reveal="up"]:not(.in) {
          opacity: 0;
          transform: translateY(32px)
        }

        .rv-ready [data-reveal="left"]:not(.in) {
          opacity: 0;
          transform: translateX(-36px)
        }

        .rv-ready [data-reveal="right"]:not(.in) {
          opacity: 0;
          transform: translateX(36px)
        }

        .rv-ready [data-reveal="zoom"]:not(.in) {
          opacity: 0;
          transform: scale(0.94)
        }

        .rv-ready [data-stagger]> :not(.in) {
          opacity: 0;
          transform: translateY(24px)
        }

        [data-reveal],
        [data-stagger]>* {
          transition: opacity .85s cubic-bezier(.16, 1, .3, 1), transform .85s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease, border-color .3s ease;
          will-change: opacity, transform
        }

        [data-reveal].in,
        [data-stagger]>*.in {
          opacity: 1;
          transform: none
        }

        .product {
          transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease;
        }

        .product:hover {
          transform: translateY(-6px);
          box-shadow: 0 16px 36px rgba(5, 150, 105, 0.14)
        }

        .kpi-stat-box {
          transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, border-color .25s ease
        }

        .kpi-stat-box:hover {
          transform: translateY(-4px);
          box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
          border-color: var(--accent-2)
        }

        .cat-bar-fill {
          transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1)
        }

        .chart-bar-fill {
          transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1)
        }

        .btn {
          position: relative;
          overflow: hidden
        }

        .btn:active {
          transform: scale(.95)
        }

        .btn::after {
          content: "";
          position: absolute;
          inset: 0;
          background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%);
          transform: translateX(-120%);
          pointer-events: none
        }

        .btn:hover::after {
          animation: sheen .8s ease
        }

        @keyframes sheen {
          to {
            transform: translateX(120%)
          }
        }

        .product .ph,
        .item .ph {
          position: relative;
          overflow: hidden
        }

        .product .ph::after,
        .item .ph::after {
          content: "";
          position: absolute;
          inset: 0;
          background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
          transform: translateX(-120%);
          pointer-events: none
        }

        .product:hover .ph::after,
        .item:hover .ph::after {
          animation: sheen .9s ease
        }

        .product:hover,
        .item:hover {
          transform: translateY(-6px);
          box-shadow: 0 18px 40px -14px rgba(5, 150, 105, .4);
          border-color: #a7f3d0
        }

        .pulse {
          position: relative;
          display: inline-block;
          width: 6px;
          height: 6px;
          border-radius: 50%;
          background: #10b981;
          flex-shrink: 0
        }

        .pulse::after {
          content: "";
          position: absolute;
          inset: 0;
          border-radius: 50%;
          background: #10b981;
          animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite
        }

        @keyframes ping {

          75%,
          100% {
            transform: scale(2.4);
            opacity: 0
          }
        }

        .search,
        .search-box {
          transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease
        }

        .search:focus-within,
        .search-box:focus-within {
          transform: scale(1.01);
          box-shadow: 0 0 0 3px rgba(181, 211, 52, .35), 0 0 26px rgba(16, 185, 129, .35)
        }

        /* Smooth transitions across all environments */

        /* Animasi beranda */
        .hero-bg {
          position: absolute;
          inset: 0;
          overflow: hidden;
          border-radius: inherit;
          pointer-events: none;
          z-index: 0
        }

        .glow {
          position: absolute;
          inset: -25% -10%;
          background: radial-gradient(40% 40% at 25% 35%, rgba(16, 185, 129, .38), transparent 70%), radial-gradient(35% 35% at 75% 65%, rgba(181, 211, 52, .22), transparent 70%);
          filter: blur(30px);
          animation: drift 16s ease-in-out infinite alternate
        }

        @keyframes drift {
          from {
            transform: translate3d(-3%, -2%, 0) scale(1)
          }

          to {
            transform: translate3d(4%, 3%, 0) scale(1.08)
          }
        }

        .hero-body {
          position: relative;
          z-index: 1
        }

        .tilt {
          transition: transform .5s cubic-bezier(.16, 1, .3, 1)
        }

        .float {
          animation: float 6s ease-in-out infinite;
          animation-delay: var(--fd, 0s)
        }

        @keyframes float {

          0%,
          100% {
            translate: 0 0
          }

          50% {
            translate: 0 -8px
          }
        }

        .leader {
          animation: dash 1.2s linear infinite
        }

        @keyframes dash {
          to {
            stroke-dashoffset: -7px
          }
        }

        .about-rows {
          gap: 32px
        }

        .about-row {
          overflow: visible
        }

        .about-row:not(:last-child)::before {
          content: "";
          position: absolute;
          right: -30px;
          top: 50%;
          width: 30px;
          height: 2px;
          background: repeating-linear-gradient(90deg, #059669 0 6px, transparent 6px 12px);
          background-size: 24px 2px;
          animation: beam 1s linear infinite
        }

        @keyframes beam {
          to {
            background-position: 24px 0
          }
        }

        @media (max-width:860px) {
          .about-row::before {
            display: none
          }
        }

        .steps {
          position: relative;
          padding-bottom: 28px
        }

        .steps::after {
          content: "";
          position: absolute;
          left: 16.6%;
          right: 16.6%;
          bottom: 10px;
          height: 2px;
          background: repeating-linear-gradient(90deg, #059669 0 6px, transparent 6px 12px);
          background-size: 24px 2px;
          animation: beam 1s linear infinite
        }

        .ai {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 44px;
          height: 44px;
          border-radius: 999px;
          background: #ecfdf5;
          color: #047857;
          margin-bottom: 8px
        }

        .ai-truck,
        .ai-recycle {
          transition: transform .6s cubic-bezier(.16, 1, .3, 1)
        }

        .about-row:hover .ai-truck {
          transform: translateX(4px)
        }

        .about-row:hover .ai-recycle {
          transform: rotate(180deg)
        }

        /* ==========================================================================
           Analisa Data E-Waste Section Styles
           ========================================================================== */
        .analisa-card {
          background: var(--surface);
          border: 1px solid var(--line);
          border-radius: 20px;
          padding: 28px;
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
          transition: border-color .2s ease, box-shadow .2s ease;
        }

        .analisa-card:hover {
          border-color: rgba(5, 150, 105, 0.35);
          box-shadow: 0 8px 30px rgba(5, 150, 105, 0.08);
        }

        .analisa-grid-kpi {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 16px;
          margin-bottom: 28px;
        }

        .kpi-stat-box {
          background: #fff;
          border: 1px solid var(--line);
          border-radius: 16px;
          padding: 18px 20px;
          position: relative;
          overflow: hidden;
          transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
        }

        .kpi-stat-box:hover {
          transform: translateY(-2px);
          border-color: var(--accent-2);
          box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
        }

        .kpi-stat-box::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 3px;
          background: linear-gradient(90deg, var(--accent-2), var(--lime));
          opacity: 0.9;
        }

        .kpi-label {
          font-size: 13px;
          color: var(--muted);
          font-weight: 600;
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 8px;
          gap: 8px;
        }

        .kpi-val {
          font-size: 26px;
          font-weight: 800;
          color: var(--ink);
          letter-spacing: -0.02em;
          line-height: 1.15;
          margin-bottom: 6px;
        }

        .kpi-sub {
          font-size: 12px;
          color: var(--subtle);
          line-height: 1.4;
        }

        .kpi-badge {
          display: inline-flex;
          align-items: center;
          gap: 4px;
          padding: 3px 8px;
          border-radius: 999px;
          font-size: 11px;
          font-weight: 700;
          white-space: nowrap;
        }

        .kpi-badge-green {
          background: #ecfdf5;
          color: #065f46;
        }

        .kpi-badge-amber {
          background: #fffbeb;
          color: #b45309;
        }

        .kpi-badge-blue {
          background: #eff6ff;
          color: #1d4ed8;
        }

        .year-pill-btn {
          display: flex;
          align-items: center;
          justify-content: space-between;
          width: 100%;
          padding: 9px 12px;
          border-radius: 8px;
          border: 1px solid transparent;
          background: transparent;
          font-family: inherit;
          font-size: 13px;
          font-weight: 600;
          color: var(--muted);
          cursor: pointer;
          transition: all .15s ease;
          text-align: left;
        }

        .year-pill-btn:hover {
          background: #f4f7f5;
          color: var(--ink);
        }

        .year-pill-btn.active {
          background: #ecfdf5;
          color: var(--accent);
          font-weight: 700;
          border-color: rgba(5, 150, 105, 0.3);
        }

        /* Chart Toolbar & Switcher */
        .chart-controls {
          display: flex;
          align-items: center;
          justify-content: space-between;
          flex-wrap: wrap;
          gap: 16px;
          margin-bottom: 22px;
          padding-bottom: 16px;
          border-bottom: 1px solid var(--line);
        }

        .metric-toggle-group {
          display: inline-flex;
          background: #f1f5f2;
          padding: 4px;
          border-radius: 999px;
          gap: 4px;
        }

        .metric-btn {
          border: none;
          background: transparent;
          color: var(--muted);
          font-family: inherit;
          font-size: 13px;
          font-weight: 600;
          padding: 8px 16px;
          border-radius: 999px;
          cursor: pointer;
          transition: all .2s ease;
          min-height: 38px;
        }

        .metric-btn.active {
          background: var(--surface);
          color: var(--accent);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
          font-weight: 700;
        }

        .metric-btn:hover:not(.active) {
          color: var(--ink);
        }

        /* Visual Bar Chart */
        .chart-visual-container {
          background: linear-gradient(180deg, rgba(248, 250, 249, 0.75) 0%, rgba(255, 255, 255, 1) 100%);
          border: 1px solid var(--line);
          border-radius: 16px;
          padding: 24px 20px 16px;
          position: relative;
        }

        .chart-bars-wrap {
          display: flex;
          align-items: flex-end;
          justify-content: space-between;
          height: 240px;
          gap: 14px;
          padding-top: 32px;
          border-bottom: 1px solid #e2e8f0;
          position: relative;
        }

        .chart-grid-line {
          position: absolute;
          left: 0;
          right: 0;
          border-top: 1px dashed rgba(226, 232, 240, 0.95);
          pointer-events: none;
        }

        .chart-grid-label {
          position: absolute;
          right: 8px;
          font-size: 10px;
          color: #94a3b8;
          font-weight: 600;
          transform: translateY(-50%);
          pointer-events: none;
        }

        .chart-col {
          flex: 1;
          display: flex;
          flex-direction: column;
          align-items: center;
          height: 100%;
          justify-content: flex-end;
          cursor: pointer;
          position: relative;
          z-index: 2;
          background: none;
          border: none;
          padding: 0;
          font-family: inherit;
        }

        .chart-col-val {
          font-size: 12px;
          font-weight: 700;
          color: var(--accent);
          margin-bottom: 6px;
          white-space: nowrap;
          transition: transform .2s ease, color .2s ease;
        }

        .chart-bar-fill {
          width: 100%;
          max-width: 48px;
          background: linear-gradient(180deg, #10b981 0%, #059669 100%);
          border-radius: 8px 8px 3px 3px;
          transition: height .55s cubic-bezier(0.16, 1, 0.3, 1), background .25s ease, filter .2s ease;
          position: relative;
          min-height: 8px;
        }

        .chart-col:hover .chart-bar-fill {
          filter: brightness(1.12);
        }

        .chart-col.is-active .chart-bar-fill {
          background: linear-gradient(180deg, var(--lime) 0%, #059669 100%);
          box-shadow: 0 0 0 2px var(--accent);
        }

        .chart-col.is-projection .chart-bar-fill {
          background: repeating-linear-gradient(
            45deg,
            #059669,
            #059669 6px,
            #047857 6px,
            #047857 12px
          );
        }

        .chart-col.is-projection.is-active .chart-bar-fill {
          background: repeating-linear-gradient(
            45deg,
            #10b981,
            #10b981 6px,
            #059669 6px,
            #059669 12px
          );
          box-shadow: 0 0 0 2px var(--accent);
        }

        .chart-col-year {
          margin-top: 10px;
          font-size: 13px;
          font-weight: 600;
          color: var(--muted);
          transition: color .2s ease;
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 2px;
        }

        .chart-col.is-active .chart-col-year {
          color: var(--accent);
          font-weight: 800;
        }

        .chart-col-proj-tag {
          font-size: 9px;
          text-transform: uppercase;
          background: #fef3c7;
          color: #92400e;
          padding: 1px 5px;
          border-radius: 4px;
          font-weight: 700;
          letter-spacing: .02em;
        }

        /* Year Detail Insight Card */
        .year-detail-card {
          margin-top: 24px;
          background: #fff;
          border: 1px solid var(--line);
          border-radius: 18px;
          padding: 24px;
          box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
          transition: all .25s ease;
        }

        .year-detail-header {
          display: flex;
          align-items: center;
          justify-content: space-between;
          flex-wrap: wrap;
          gap: 12px;
          margin-bottom: 20px;
          padding-bottom: 14px;
          border-bottom: 1px solid var(--line);
        }

        .year-detail-title {
          font-size: 18px;
          font-weight: 700;
          color: var(--ink);
          display: flex;
          align-items: center;
          gap: 10px;
        }

        .year-detail-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 28px;
        }

        .cat-bar-item {
          margin-bottom: 14px;
        }

        .cat-bar-info {
          display: flex;
          justify-content: space-between;
          font-size: 13px;
          font-weight: 600;
          margin-bottom: 6px;
        }

        .cat-bar-track {
          height: 8px;
          background: #e9ece6;
          border-radius: 999px;
          overflow: hidden;
        }

        .cat-bar-fill {
          height: 100%;
          border-radius: 999px;
          background: linear-gradient(90deg, var(--accent-2), #10b981);
          transition: width .5s ease;
        }

        /* Material Calculator Box */
        .recovery-calc-box {
          margin-top: 28px;
          background: linear-gradient(135deg, #072a1e 0%, #064E3B 60%, #0d3829 100%);
          border-radius: 20px;
          padding: 28px;
          color: #fff;
          position: relative;
          overflow: hidden;
        }

        .recovery-calc-box::after {
          content: "";
          position: absolute;
          right: -40px;
          bottom: -40px;
          width: 220px;
          height: 220px;
          background: radial-gradient(circle, rgba(181, 211, 52, 0.15) 0%, transparent 70%);
          pointer-events: none;
        }

        .calc-header {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          flex-wrap: wrap;
          gap: 16px;
          margin-bottom: 22px;
        }

        .calc-filter-chips {
          display: flex;
          gap: 8px;
          flex-wrap: wrap;
        }

        .calc-chip-btn {
          background: rgba(255, 255, 255, 0.1);
          border: 1px solid rgba(255, 255, 255, 0.2);
          color: #fff;
          padding: 8px 14px;
          border-radius: 999px;
          font-size: 12px;
          font-weight: 600;
          cursor: pointer;
          transition: all .2s ease;
          font-family: inherit;
          min-height: 36px;
        }

        .calc-chip-btn.active,
        .calc-chip-btn:hover {
          background: var(--lime);
          color: var(--deep);
          border-color: var(--lime);
          font-weight: 700;
        }

        .recovery-grid {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 14px;
        }

        .recovery-item {
          background: rgba(255, 255, 255, 0.07);
          border: 1px solid rgba(255, 255, 255, 0.12);
          border-radius: 14px;
          padding: 16px;
          text-align: center;
          backdrop-filter: blur(8px);
        }

        .recovery-item-val {
          font-size: 20px;
          font-weight: 800;
          color: var(--lime);
          margin-bottom: 4px;
        }

        .recovery-item-name {
          font-size: 12px;
          font-weight: 600;
          color: #e4e4e7;
          margin-bottom: 4px;
        }

        .recovery-item-sub {
          font-size: 11px;
          color: rgba(255, 255, 255, 0.65);
        }

        .analisa-source-note {
          margin-top: 20px;
          font-size: 12px;
          color: var(--subtle);
          display: flex;
          align-items: center;
          gap: 8px;
          line-height: 1.5;
        }

        @media (max-width: 1024px) {
          .analisa-grid-kpi {
            grid-template-columns: repeat(2, 1fr);
          }
          .recovery-grid {
            grid-template-columns: repeat(2, 1fr);
          }
        }

        @media (max-width: 860px) {
          .year-detail-grid {
            grid-template-columns: 1fr;
            gap: 20px;
          }
        }

        @media (max-width: 640px) {
          .analisa-grid-kpi {
            grid-template-columns: 1fr;
          }
          .chart-bars-wrap {
            height: 200px;
            gap: 6px;
          }
          .chart-col-val {
            font-size: 10px;
          }
          .chart-col-year {
            font-size: 11px;
          }
          .recovery-grid {
            grid-template-columns: 1fr;
          }
          .metric-toggle-group {
            width: 100%;
            overflow-x: auto;
          }
          .metric-btn {
            font-size: 12px;
            padding: 6px 12px;
          }
        }

        /* Regional Global Comparison */
        .regional-grid {
          display: grid;
          grid-template-columns: repeat(5, 1fr);
          gap: 12px;
          margin-top: 20px;
        }

        .regional-card {
          background: #f8faf9;
          border: 1px solid var(--line);
          border-radius: 14px;
          padding: 14px;
          text-align: center;
          transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
        }

        .regional-card:hover {
          transform: translateY(-2px);
          border-color: var(--accent-2);
          background: #fff;
          box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
        }

        .regional-name {
          font-size: 13px;
          font-weight: 700;
          color: var(--ink);
          margin-bottom: 4px;
        }

        .regional-rate {
          font-size: 18px;
          font-weight: 800;
          color: var(--accent);
          margin-bottom: 2px;
        }

        .regional-rate-sub {
          font-size: 10px;
          text-transform: uppercase;
          color: var(--subtle);
          font-weight: 700;
          letter-spacing: .04em;
        }

        .regional-capita {
          margin-top: 6px;
          padding-top: 6px;
          border-top: 1px dashed var(--line);
          font-size: 11px;
          color: var(--muted);
          font-weight: 600;
        }

        @media (max-width: 1024px) {
          .regional-grid {
            grid-template-columns: repeat(3, 1fr);
          }
        }

        @media (max-width: 640px) {
          .regional-grid {
            grid-template-columns: repeat(2, 1fr);
          }
        }

        /* ===== Rich Luxury Animations & Micro-Interactions ===== */
        @keyframes shimmerSweep {
          0% { background-position: -200% 0; }
          100% { background-position: 200% 0; }
        }

        @keyframes pulseRadar {
          0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
          70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
          100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
        }

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

        @keyframes badgeGlowPulse {
          0%, 100% { box-shadow: 0 0 8px rgba(190, 242, 100, 0.3); }
          50% { box-shadow: 0 0 16px rgba(190, 242, 100, 0.75); }
        }

        /* Interactive Product Card Hover Lift & Zoom */
        .product, .item-card, .analisa-card {
          transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
                      box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                      border-color 0.28s ease !important;
        }

        .product:hover, .item-card:hover {
          transform: translateY(-6px) !important;
          box-shadow: 0 18px 36px rgba(6, 78, 59, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.35) !important;
        }

        .product:hover .ph img, .product:hover .item-thumb img {
          transform: scale(1.06) !important;
          transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }

        /* Button Shine Effect & Press Micro-interaction */
        .btn, button.btn {
          transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                      box-shadow 0.22s ease,
                      background-color 0.2s ease,
                      color 0.2s ease !important;
        }

        .btn:active, button.btn:active {
          transform: scale(0.96) !important;
        }

        .btn-grad, .btn-primary {
          position: relative;
          overflow: hidden;
        }

        .btn-grad::before, .btn-primary::before {
          content: '';
          position: absolute;
          top: 0; left: -100%;
          width: 60%; height: 100%;
          background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
          transform: skewX(-20deg);
          transition: left 0.75s ease;
          pointer-events: none;
        }

        .btn-grad:hover::before, .btn-primary:hover::before {
          left: 140%;
        }

        /* Pill Navigation / Category Chips Hover Float */
        .disasm-step-pill, .chip, .cat-pill {
          transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }

        .disasm-step-pill:hover, .chip:hover {
          transform: translateY(-2px) !important;
        }

        /* Active Spotlight Card Glow in Bedah Perangkat */
        .cap.is-active {
          animation: floatLevitate 5s ease-in-out infinite alternate !important;
          box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 24px rgba(16, 185, 129, 0.35) !important;
        }

        /* Live Indicator Radar Dot */
        .live-dot, .status-live::before {
          display: inline-block;
          width: 8px;
          height: 8px;
          border-radius: 50%;
          background: var(--lime);
          animation: pulseRadar 2s infinite ease-out;
        }

        /* ===== Scroll Progress Indicator & Back-to-Top ===== */
        .scroll-progress-indicator {
          position: fixed;
          top: 0;
          left: 0;
          height: 3.5px;
          width: 0%;
          background: linear-gradient(90deg, #10b981 0%, #bef264 50%, #34d399 100%);
          box-shadow: 0 0 10px rgba(190, 242, 100, 0.7), 0 0 4px rgba(16, 185, 129, 0.9);
          z-index: 99999;
          pointer-events: none;
          transition: width 0.12s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .btn-back-to-top {
          position: fixed;
          bottom: 28px;
          right: 28px;
          width: 46px;
          height: 46px;
          border-radius: 50%;
          background: rgba(13, 38, 29, 0.92);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          border: 1px solid rgba(16, 185, 129, 0.35);
          color: var(--lime, #bef264);
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          z-index: 999;
          opacity: 0;
          visibility: hidden;
          transform: translateY(20px) scale(0.85);
          transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        }

        .btn-back-to-top.visible {
          opacity: 1;
          visibility: visible;
          transform: translateY(0) scale(1);
        }

        .btn-back-to-top:hover {
          background: #059669;
          color: #fff;
          border-color: #34d399;
          transform: translateY(-4px) scale(1.08);
          box-shadow: 0 14px 28px rgba(5, 150, 105, 0.4), 0 0 16px rgba(190, 242, 100, 0.5);
        }

        .btn-back-to-top:active {
          transform: translateY(0) scale(0.95);
        }

        /* Enhanced Navbar Elevation on Scroll */
        .hero-top.scrolled {
          background: rgba(7, 23, 18, 0.88) !important;
          backdrop-filter: blur(14px) !important;
          -webkit-backdrop-filter: blur(14px) !important;
          border: 1px solid rgba(16, 185, 129, 0.25) !important;
          box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
          border-radius: 100px;
          padding: 8px 20px !important;
          transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }


