:root {
  --brand-emerald: #047857;
  --brand-emerald-dark: #064e3b;
  --accent-amber: #d97706;
  --accent-amber-hover: #b45309;
  --accent-teal: #0d9488;
  --neutral-bg: #f8fafc;
  --neutral-text: #1e293b;
  --neutral-border: #e2e8f0;
}

html, body { height: 100%; width: 100%; margin: 0; }
body {
  font-family: "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
  background: var(--neutral-bg);
  color: var(--neutral-text);
}

/* Kartu flat minimalis */
.card-flat {
  background: #fff;
  border: 1px solid var(--neutral-border);
  border-radius: 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* CTA utama pakai amber */
.btn-cta {
  background: var(--accent-amber);
  color: #fff;
  border-radius: 0.9rem;
  font-weight: 800;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-cta:hover { background: var(--accent-amber-hover); transform: translateY(-1px); }

.btn-outline-emerald {
  border: 1.5px solid var(--brand-emerald);
  color: var(--brand-emerald);
  border-radius: 0.9rem;
  font-weight: 700;
  background: transparent;
}
.btn-outline-emerald:hover { background: rgba(4,120,87,0.06); }

.badge-teal {
  background: rgba(13,148,136,0.1);
  color: var(--accent-teal);
  border-radius: 999px;
  font-weight: 700;
}

/* Navbar */
.nav-link { color: #475569; font-weight: 600; border-radius: 0.75rem; }
.nav-link:hover { background: #f1f5f9; }
.nav-link.nav-active { background: rgba(4,120,87,0.08); color: var(--brand-emerald); }

.focus-ring:focus { outline: 3px solid rgba(217,119,6,0.5); outline-offset: 2px; }

/* Reveal animation (dipakai di index.html) */
.reveal { animation: riseIn 0.75s ease both; }
.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.glass {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.soft-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* Upload loading modal animations (dipakai di pesan.html) */
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
@keyframes pulse-ring {
  0%,100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}
.spin-slow    { animation: spin-slow 2s linear infinite; }
.spin-reverse { animation: spin-reverse 1.4s linear infinite; }
.pulse-ring   { animation: pulse-ring 1.8s ease-in-out infinite; }