/* Sampah Berkah v2 - expressive, accessible, mobile-first enhancement */
:root {
  --lime: #b8eb54;
  --lime-soft: #edffd0;
  --sun: #ffc94a;
  --coral: #ff7d61;
  --violet: #7b68ee;
}

body { overflow-x: hidden; background: #fbfdff; }
.scroll-progress { position: fixed; z-index: 999; inset: 0 auto auto 0; width: 0; height: 4px; background: linear-gradient(90deg,var(--cyan-500),var(--lime),var(--sun),var(--coral)); box-shadow: 0 2px 12px rgba(10,169,220,.28); }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .13; pointer-events: none; }
.ambient-a { width: 330px; height: 330px; top: 12vh; left: -160px; background: var(--lime); }
.ambient-b { width: 390px; height: 390px; right: -190px; top: 55vh; background: var(--cyan-500); }

.site-header.scrolled .header-inner { min-height: 72px; }
.brand img, .footer-brand img { flex: 0 0 auto; object-fit: contain; aspect-ratio: 1 / 1; background: #fff; }
.install-button { min-height: 38px; padding: 0 14px; border: 1px solid rgba(7,83,166,.2); border-radius: 999px; color: var(--blue-900); background: #eef8ff; cursor: pointer; font-size: .75rem; font-weight: 800; }
.install-button:hover { background: var(--cyan-100); }

.hero { background: radial-gradient(circle at 85% 20%, rgba(10,169,220,.18), transparent 29%), radial-gradient(circle at 16% 85%, rgba(184,235,84,.2), transparent 22%), linear-gradient(145deg,#fff 10%,#f0fbff 55%,#f5fff1 100%); }
.hero-copy { position: relative; }
.hero h1 em { background: linear-gradient(90deg,var(--cyan-500),var(--blue-700),var(--violet)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.button-shine { position: relative; overflow: hidden; background: linear-gradient(105deg,var(--blue-900),var(--blue-700),var(--cyan-500)); background-size: 180% 100%; }
.button-shine::after { content: ""; position: absolute; inset: -40% auto -40% -35%; width: 24%; transform: rotate(18deg); background: rgba(255,255,255,.34); transition: left .6s cubic-bezier(.16,1,.3,1); }
.button-shine:hover::after { left: 120%; }
.logo-stage { aspect-ratio: 1; display: grid; place-items: center; }
.logo-stage > img { width: 86%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; transform: none; }
.logo-halo { inset: 2%; background: conic-gradient(from 45deg,#b8eb54,#dff5fc,#7bdcff,#d6cbff,#ffd88b,#b8eb54); animation: haloSpin 16s linear infinite, breathe 5s ease-in-out infinite; }
.float-symbol { position: absolute; z-index: 4; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 12px 35px rgba(7,63,128,.14); animation: floaty 4.5s ease-in-out infinite; }
.symbol-leaf { width: 46px; height: 46px; right: 5%; top: 2%; color: var(--green-700); background: var(--lime-soft); }
.symbol-recycle { width: 58px; height: 58px; left: 5%; bottom: 2%; color: var(--blue-800); background: #fff; font-size: 1.35rem; animation-delay: -1.3s; }
.symbol-heart { width: 40px; height: 40px; right: 11%; bottom: 4%; color: #e85467; background: #ffe8eb; animation-delay: -2.4s; }
.impact-chip { border-color: rgba(255,255,255,.95); transform: translateZ(0); transition: transform .25s ease; }
.impact-chip:hover { transform: translateY(-4px) rotate(-1deg); }

.movement-ticker { overflow: hidden; padding: 14px 0; color: #fff; background: linear-gradient(90deg,var(--blue-950),var(--blue-700),var(--cyan-500)); }
.movement-ticker div { display: flex; width: max-content; align-items: center; gap: 24px; animation: ticker 28s linear infinite; }
.movement-ticker span { font: 700 .76rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.movement-ticker b { color: var(--lime); font-size: .72rem; }

.trust-list span { position: relative; }
.process-card:nth-child(1) .process-icon { background: #e5f8ff; }
.process-card:nth-child(2) .process-icon { color: #876300; background: #fff3c8; }
.process-card:nth-child(3) .process-icon { color: #7652b6; background: #efe9ff; }
.process-card { overflow: hidden; }
.process-card::after { content: ""; position: absolute; width: 100px; height: 100px; right: -55px; bottom: -60px; border-radius: 50%; background: var(--cyan-100); opacity: .5; transition: transform .35s ease; }
.process-card { position: relative; }
.process-card:hover::after { transform: scale(1.8); }
.process-card.highlight::after { background: var(--lime); opacity: .13; }
.material-list article { transition: transform .22s ease, background .22s ease; border-radius: 18px; padding-inline: 10px; }
.material-list article:hover { transform: translateX(6px); background: #fff; }
.material-list article:nth-child(1) .material-emoji { background: #e7f8ff; }
.material-list article:nth-child(2) .material-emoji { background: #efffe1; }
.material-list article:nth-child(3) .material-emoji { background: #fff3cd; }
.impact-panel { background: radial-gradient(circle at 92% 10%,rgba(184,235,84,.23),transparent 24%),linear-gradient(135deg,#064b98,#062c5d 72%); }
.stats-grid div { transition: transform .25s ease, background .25s ease; }
.stats-grid div:hover { transform: translateY(-5px); background: rgba(255,255,255,.13); }
.join-card:nth-child(1) { border-left: 5px solid var(--cyan-500); }
.join-card:nth-child(2) { border-left: 5px solid var(--lime); }
.contact-panel { position: relative; overflow: hidden; background: radial-gradient(circle at 88% 15%,rgba(255,201,74,.36),transparent 23%),linear-gradient(115deg,var(--blue-950),var(--blue-700) 55%,var(--cyan-500)); }
.contact-panel::after { content: "♻"; position: absolute; right: -35px; bottom: -100px; font-size: 18rem; color: rgba(255,255,255,.07); line-height: 1; }
.contact-panel > * { position: relative; z-index: 2; }
.back-to-top { position: fixed; z-index: 50; right: 20px; bottom: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(145deg,var(--blue-700),var(--cyan-500)); box-shadow: 0 14px 34px rgba(7,83,166,.25); cursor: pointer; opacity: 0; transform: translateY(18px); pointer-events: none; transition: .25s ease; font-size: 1.2rem; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

@keyframes haloSpin { to { rotate: 360deg; } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .site-nav .install-button { width: 100%; }
}
@media (max-width: 640px) {
  .hero-grid { gap: 30px; }
  .hero-visual { width: 100%; }
  .logo-stage { width: min(100%,430px); }
  .logo-stage > img { width: 88%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
  .chip-top { top: 8%; left: 0; }
  .chip-bottom { right: 0; bottom: 9%; }
  .float-symbol { display: none; }
  .movement-ticker { padding: 12px 0; }
  .movement-ticker div { gap: 18px; }
  .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-halo, .float-symbol, .movement-ticker div { animation: none !important; }
}
