/* ===================================
   SIPARES - Sistem Pembayaran Retribusi Sampah
   Design System & All Styles
   =================================== */

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

/* ── CSS Variables ── */
:root {
  /* Primary Green (Environment Theme) */
  --primary-50: #e8f5e9;
  --primary-100: #c8e6c9;
  --primary-200: #a5d6a7;
  --primary-300: #81c784;
  --primary-400: #66bb6a;
  --primary-500: #4caf50;
  --primary-600: #43a047;
  --primary-700: #388e3c;
  --primary-800: #2e7d32;
  --primary-900: #1b5e20;

  /* Emerald Accent */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;

  /* Teal Accent */
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;

  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;

  /* Semantic Colors */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Background */
  --bg-primary: #0a0f1a;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.8);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.15);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(76, 175, 80, 0.15);

  /* Spacing */
  --sidebar-width: 260px;
  --header-height: 70px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Animated Background ── */
.bg-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-animated::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 50%, rgba(27, 94, 32, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(20, 184, 166, 0.08) 0%, transparent 50%);
  animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, -2%) rotate(1deg); }
  50% { transform: translate(-1%, 3%) rotate(-0.5deg); }
  75% { transform: translate(1%, -1%) rotate(0.5deg); }
}

/* Floating particles */
.particle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--primary-400);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation: float 15s 0s infinite; }
.particle:nth-child(2) { top: 60%; left: 80%; animation: float 18s 3s infinite; }
.particle:nth-child(3) { top: 40%; left: 50%; animation: float 20s 6s infinite; }
.particle:nth-child(4) { top: 80%; left: 30%; animation: float 16s 2s infinite; }
.particle:nth-child(5) { top: 10%; left: 70%; animation: float 22s 8s infinite; }

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

/* ══════════════════════════════════════
   LOGIN PAGE
   ══════════════════════════════════════ */

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
}

.login-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.6s ease-out;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--emerald-400), var(--teal-400));
}

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

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.login-logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.login-logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-300), var(--emerald-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.login-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 0.9rem;
}

/* ── Form Elements ── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.form-input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
  background: var(--bg-glass-hover);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: var(--transition-base);
}

.form-select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-600));
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--primary-500);
  color: var(--primary-400);
  background: rgba(76, 175, 80, 0.05);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* ══════════════════════════════════════
   LAYOUT: Sidebar + Main
   ══════════════════════════════════════ */

.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: var(--transition-base);
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-500));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sidebar-brand-text h2 {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-300), var(--emerald-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-brand-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.sidebar-nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 8px 12px 8px;
  margin-top: 8px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  margin-bottom: 2px;
  position: relative;
}

.sidebar-nav-item:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

.sidebar-nav-item.active {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(16, 185, 129, 0.1));
  color: var(--primary-300);
  font-weight: 600;
}

.sidebar-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, var(--primary-400), var(--emerald-400));
  border-radius: 0 4px 4px 0;
}

.sidebar-nav-item i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border-color);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
}

.sidebar-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Main Content ── */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.main-header {
  height: var(--header-height);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.main-header-title h1 {
  font-size: 1.3rem;
  font-weight: 700;
}

.main-header-title p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.main-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-body {
  padding: 32px;
}

/* Menu toggle for mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ══════════════════════════════════════
   CARDS & STAT BOXES
   ══════════════════════════════════════ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.stat-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.stat-card.green::before { background: linear-gradient(90deg, var(--primary-500), var(--emerald-400)); }
.stat-card.blue::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.stat-card.yellow::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.stat-card.red::before { background: linear-gradient(90deg, #ef4444, #f87171); }

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-card.green .stat-card-icon { background: rgba(76, 175, 80, 0.15); color: var(--primary-400); }
.stat-card.blue .stat-card-icon { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.stat-card.yellow .stat-card-icon { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.stat-card.red .stat-card-icon { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.stat-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-card-value {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Card (general) ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.card:hover {
  border-color: var(--border-color-hover);
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.card-body {
  padding: 24px;
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
}

/* ══════════════════════════════════════
   TABLE
   ══════════════════════════════════════ */

.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-glass);
  white-space: nowrap;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--bg-glass-hover);
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.data-table tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ── Status Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.badge-neutral {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
}

/* ── Badge with dot ── */
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-success::before { background: #4ade80; }
.badge-warning::before { background: #fbbf24; }
.badge-danger::before { background: #f87171; }
.badge-info::before { background: #60a5fa; }
.badge-neutral::before { background: var(--text-muted); }

/* ══════════════════════════════════════
   MODAL
   ══════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: var(--transition-base);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border-color: transparent;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 0 24px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ══════════════════════════════════════
   PAKET IURAN SELECTION
   ══════════════════════════════════════ */

.paket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.paket-card {
  position: relative;
  background: var(--bg-glass);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  user-select: none;
}

.paket-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--paket-color, var(--primary-500));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.paket-card:hover {
  border-color: var(--paket-color, var(--primary-500));
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.paket-card:hover::before,
.paket-card.paket-selected::before {
  opacity: 1;
}

.paket-card.paket-selected {
  border-color: var(--paket-color, var(--primary-500));
  background: rgba(76,175,80,0.06);
  box-shadow: 0 0 0 1px var(--paket-color, var(--primary-500)), 0 8px 24px rgba(0,0,0,0.2);
}

.paket-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.paket-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.paket-nama {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.paket-harga {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--paket-color, var(--primary-400));
  line-height: 1;
  margin-bottom: 4px;
}

.paket-harga span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.paket-frekuensi {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 4px 10px;
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  display: inline-block;
}

.paket-layanan {
  text-align: left;
  margin-bottom: 16px;
}

.paket-layanan-item {
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding: 4px 0;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.5;
}

.paket-layanan-item:last-child {
  border-bottom: none;
}

.paket-select-indicator {
  display: inline-block;
  padding: 7px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--paket-color, var(--primary-500));
  color: var(--paket-color, var(--primary-400));
  background: transparent;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.paket-card.paket-selected .paket-select-indicator {
  background: var(--paket-color, var(--primary-500));
  color: #fff;
}

/* ══════════════════════════════════════
   QRIS PAYMENT SECTION
   ══════════════════════════════════════ */

.qris-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.qris-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}

.qris-card h4 {
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.qris-card .qris-merchant {
  color: #555;
  font-size: 0.75rem;
  margin-bottom: 16px;
}

.qris-qr-wrapper {
  background: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 16px;
}

.qris-qr-wrapper canvas,
.qris-qr-wrapper img {
  display: block;
}

.qris-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.qris-label {
  color: #888;
  font-size: 0.8rem;
}

.qris-instructions {
  max-width: 400px;
  width: 100%;
}

.qris-instructions h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.qris-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.qris-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}

.qris-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-top: 3px;
}

/* Upload proof */
.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
}

.upload-area:hover {
  border-color: var(--primary-500);
  background: rgba(76, 175, 80, 0.05);
}

.upload-area.has-file {
  border-color: var(--primary-500);
  background: rgba(76, 175, 80, 0.05);
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-area i {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.upload-area p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.upload-area .upload-filename {
  color: var(--primary-400);
  font-weight: 600;
  margin-top: 8px;
}

/* ══════════════════════════════════════
   PETUGAS - Jadwal & Konfirmasi
   ══════════════════════════════════════ */

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  flex-wrap: wrap;
  gap: 12px;
}

.schedule-item:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-glass-hover);
}

.schedule-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.schedule-date-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-600));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.schedule-date-badge .day {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.schedule-date-badge .month {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.8;
}

.schedule-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.schedule-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.schedule-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ══════════════════════════════════════
   PROFILE SECTION
   ══════════════════════════════════════ */

.profile-card {
  max-width: 600px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(16, 185, 129, 0.05));
  border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.profile-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.profile-details {
  padding: 24px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-row label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-row span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ══════════════════════════════════════
   PROOF IMAGE VIEWER (Admin Verify)
   ══════════════════════════════════════ */

.proof-viewer {
  text-align: center;
}

.proof-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin: 16px auto;
  object-fit: contain;
  background: var(--bg-glass);
}

.proof-details {
  text-align: left;
  margin-top: 16px;
}

.proof-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
}

.proof-details .detail-row:last-child {
  border-bottom: none;
}

.proof-details .detail-label {
  color: var(--text-muted);
}

.proof-details .detail-value {
  font-weight: 600;
}

/* ══════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.hidden { display: none !important; }

/* ── Animations ── */
.fade-in {
  animation: fadeIn 0.4s ease-out;
}

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

.slide-in-right {
  animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── Toast Notifications ── */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xl);
  animation: toastIn 0.3s ease-out;
  min-width: 300px;
  max-width: 420px;
}

.toast-success {
  background: linear-gradient(135deg, #065f46, #064e3b);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #a7f3d0;
}

.toast-error {
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.toast-info {
  background: linear-gradient(135deg, #1e3a5f, #1e40af);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #bfdbfe;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(30px); }
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 0.88rem;
}

/* ── Search Bar ── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  max-width: 280px;
}

.search-bar i {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-bar input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 100%;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }

  .main-content {
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-body {
    padding: 20px 16px;
  }

  .main-header {
    padding: 0 16px;
  }

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

  .modal {
    max-width: 100%;
    margin: 0 12px;
  }

  .login-card {
    padding: 32px 24px;
  }

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

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

/* ── Overlay for mobile sidebar ── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.sidebar-overlay.active {
  display: block;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-700);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* ══════════════════════════════════════
   FILTER BAR
   ══════════════════════════════════════ */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-bar .form-select {
  width: auto;
  min-width: 150px;
  padding: 8px 36px 8px 12px;
  font-size: 0.85rem;
}

/* ══════════════════════════════════════
   TRANSACTION DETAIL (Riwayat)
   ══════════════════════════════════════ */

.transaction-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.transaction-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-base);
}

.transaction-card:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-glass-hover);
}

.transaction-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.transaction-card-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.transaction-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transaction-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
}

.transaction-card-row .label {
  color: var(--text-muted);
}

.transaction-card-row .value {
  font-weight: 600;
}

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.tab-item {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.tab-item:hover {
  color: var(--text-secondary);
}

.tab-item.active {
  color: var(--primary-400);
  border-bottom-color: var(--primary-400);
}

/* ══════════════════════════════════════
   CHART CONTAINER
   ══════════════════════════════════════ */

.chart-container {
  position: relative;
  width: 100%;
  height: 350px;
}

@media (max-width: 768px) {
  .chart-container {
    height: 260px;
  }
}

/* ══════════════════════════════════════
   LANDING PAGE - EDUKASI SAMPAH
   ══════════════════════════════════════ */

/* ── Navbar ── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition-base);
  background: transparent;
}

.landing-nav.scrolled {
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.landing-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.landing-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-nav-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-500));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.landing-nav-brand span {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-300), var(--emerald-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.landing-nav-link {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
}

.landing-nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.landing-nav-login {
  margin-left: 8px;
}

.landing-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.3rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.landing-nav-toggle:hover {
  background: var(--bg-glass-hover);
}

.landing-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(20px);
}

.landing-mobile-menu.open {
  display: flex;
}

.landing-mobile-menu .landing-nav-link {
  padding: 12px 16px;
}

/* ── Landing Container ── */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero Section ── */
.landing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
}

.landing-hero-content {
  max-width: 800px;
  text-align: center;
  animation: slideUp 0.8s ease-out;
}

.landing-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-300);
  margin-bottom: 24px;
}

.landing-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.landing-hero-title span {
  background: linear-gradient(135deg, var(--primary-300), var(--emerald-400), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.landing-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.landing-hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-300), var(--emerald-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.landing-hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Section ── */
.landing-section {
  padding: 80px 0;
}

.landing-section-alt {
  background: var(--bg-secondary);
}

.landing-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.landing-section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-300);
  margin-bottom: 16px;
}

.landing-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.landing-section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Info Grid (Edukasi) ── */
.landing-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.landing-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-base);
}

.landing-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.landing-info-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.landing-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.landing-info-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Waste Types Grid ── */
.landing-waste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.landing-waste-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.landing-waste-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.landing-waste-organic::before { background: linear-gradient(90deg, #22c55e, #86efac); }
.landing-waste-anorganic::before { background: linear-gradient(90deg, #3b82f6, #93c5fd); }
.landing-waste-b3::before { background: linear-gradient(90deg, #ef4444, #fca5a5); }
.landing-waste-residu::before { background: linear-gradient(90deg, #8b5cf6, #c4b5fd); }
.landing-waste-electronic::before { background: linear-gradient(90deg, #f59e0b, #fde68a); }

.landing-waste-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.landing-waste-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.landing-waste-icon {
  font-size: 2.4rem;
}

.landing-waste-badge-type {
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.landing-waste-organic .landing-waste-badge-type {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.landing-waste-anorganic .landing-waste-badge-type {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.landing-waste-b3 .landing-waste-badge-type {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.landing-waste-residu .landing-waste-badge-type {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.landing-waste-electronic .landing-waste-badge-type {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.landing-waste-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.landing-waste-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.landing-waste-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.landing-waste-tag {
  padding: 5px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.landing-waste-tip {
  padding: 12px 16px;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Impact Grid ── */
.landing-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.landing-impact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition-base);
}

.landing-impact-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.landing-impact-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.landing-impact-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.landing-impact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.landing-impact-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Tips Grid ── */
.landing-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.landing-tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-base);
  position: relative;
}

.landing-tip-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.landing-tip-step {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-600), var(--emerald-500));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.landing-tip-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.landing-tip-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── CTA Section ── */
.landing-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.2), rgba(16, 185, 129, 0.1));
  border-top: 1px solid rgba(76, 175, 80, 0.15);
  border-bottom: 1px solid rgba(76, 175, 80, 0.15);
}

.landing-cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.landing-cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.landing-cta-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.landing-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Footer ── */
.landing-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
}

.landing-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

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

/* ── Landing Responsive ── */
@media (max-width: 768px) {
  .landing-nav-links {
    display: none;
  }

  .landing-nav-toggle {
    display: block;
  }

  .landing-hero {
    padding: 100px 20px 60px;
  }

  .landing-hero-title {
    font-size: 2rem;
  }

  .landing-hero-desc {
    font-size: 1rem;
  }

  .landing-hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-hero-stat-value {
    font-size: 1.4rem;
  }

  .landing-section {
    padding: 48px 0;
  }

  .landing-section-title {
    font-size: 1.5rem;
  }

  .landing-info-grid,
  .landing-waste-grid,
  .landing-impact-grid,
  .landing-tips-grid {
    grid-template-columns: 1fr;
  }

  .landing-cta-content h2 {
    font-size: 1.5rem;
  }

  .landing-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
