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

:root {
  /* Clean White & Royal Blue Neo-Brutalism (Matches zamm.my.id) */
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --surface: #ffffff;
  
  --neo-border: #0f172a;
  --neo-border-w: 2.5px;
  --neo-shadow: 4px 4px 0 var(--neo-border);
  --neo-shadow-sm: 2px 2px 0 var(--neo-border);
  --neo-shadow-lg: 6px 6px 0 var(--neo-border);
  --neo-shadow-hover: 1px 1px 0 var(--neo-border);

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #0f172a;

  --accent-green: #10b981;
  --accent-green-bg: #d1fae5;
  --accent-pink: #ef4444;
  --accent-pink-bg: #fee2e2;

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ambient Subtle Grid (Exact like zamm.my.id) */
.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 650px;
  background: 
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(37, 99, 235, 0.12), transparent 70%),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.03) 0px, rgba(15, 23, 42, 0.03) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.03) 0px, rgba(15, 23, 42, 0.03) 1px, transparent 1px, transparent 24px);
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

body > main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

:focus-visible {
  outline: var(--neo-border-w) solid var(--blue-600);
  outline-offset: 3px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input { font-family: 'JetBrains Mono', monospace; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Navigation */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: var(--neo-border-w) solid var(--neo-border);
  transition: all 0.2s ease;
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--blue-600);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  border: var(--neo-border-w) solid var(--neo-border);
  box-shadow: var(--neo-shadow-sm);
}
.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--blue-600);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  border: var(--neo-border-w) solid var(--neo-border);
  box-shadow: var(--neo-shadow-sm);
}
.brand span {
  color: var(--blue-600);
}

/* Neo-Brutalist Buttons */
.btn-slop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: var(--neo-border-w) solid var(--neo-border);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  text-decoration: none;
}
.btn-slop:hover:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: var(--neo-shadow-hover);
}
.btn-slop:active:not(:disabled) {
  transform: translate(3px, 3px);
  box-shadow: none;
}
.btn-slop-primary {
  background: var(--blue-600);
  color: #ffffff;
  box-shadow: var(--neo-shadow);
}
.btn-slop-primary:hover:not(:disabled) {
  background: var(--blue-700);
}
.btn-slop-white {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--neo-shadow);
}
.btn-slop-white:hover:not(:disabled) {
  background: var(--blue-50);
}
.btn-slop-danger {
  background: var(--blue-50);
  color: var(--neo-border);
  box-shadow: var(--neo-shadow-sm);
}
.btn-slop-danger:hover:not(:disabled) {
  background: var(--blue-600);
  color: #ffffff;
}

/* Hamburger Trigger Button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: var(--neo-border-w) solid var(--neo-border);
  box-shadow: var(--neo-shadow-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.hamburger-btn:hover {
  background: var(--blue-50);
  transform: translate(1px, 1px);
  box-shadow: var(--neo-shadow-hover);
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--neo-border);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Side Drawer Menu */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.side-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  border-left: var(--neo-border-w) solid var(--neo-border);
  box-shadow: -6px 0px 0px var(--neo-border);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
}
.side-drawer.open {
  right: 0;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: var(--neo-border-w) solid var(--neo-border);
  margin-bottom: 20px;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  border: var(--neo-border-w) solid var(--neo-border);
  box-shadow: var(--neo-shadow-sm);
  display: grid;
  place-items: center;
  color: var(--neo-border);
  font-size: 1.1rem;
  transition: all 0.15s ease;
}
.drawer-close:hover {
  background: var(--blue-600);
  color: #ffffff;
  transform: translate(1px, 1px);
  box-shadow: var(--neo-shadow-hover);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--neo-shadow-sm);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}
.drawer-link:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  transform: translate(1px, 1px);
  box-shadow: var(--neo-shadow-hover);
}
.drawer-link.active {
  background: var(--blue-600);
  color: #ffffff;
  box-shadow: var(--neo-shadow-sm);
}
.drawer-link.active i {
  color: #ffffff !important;
}
.drawer-footer {
  padding-top: 16px;
  border-top: var(--neo-border-w) solid var(--neo-border);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
}

/* Hero Section */
.hero {
  padding: 50px 0 40px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--neo-border);
  box-shadow: var(--neo-shadow-sm);
  margin-bottom: 22px;
}
.ai-sparkle {
  color: var(--blue-600);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 18px;
}
.hero-gradient-text {
  background: var(--blue-600);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: var(--neo-border-w) solid var(--neo-border);
  box-shadow: 3px 3px 0 var(--neo-border);
  display: inline-block;
}
.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Stats Counter Box */
.slop-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: #ffffff;
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow);
  padding: 16px 20px;
  text-align: center;
}
.stat-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-col:not(:last-child) {
  border-right: 1.5px solid var(--neo-border);
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
}
.stat-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  font-weight: 700;
}

/* Visual Card Preview */
.hero-visual-card {
  position: relative;
}
.slop-preview-box {
  background: #ffffff;
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: var(--neo-border-w) solid var(--neo-border);
}
.mac-dots {
  display: flex;
  gap: 6px;
}
.mac-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--neo-border);
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #facc15; }
.dot-green { background: #10b981; }

.preview-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-family: 'JetBrains Mono', monospace;
  background: var(--blue-100);
  color: var(--blue-900);
  padding: 3px 8px;
  border: 1.5px solid var(--neo-border);
  border-radius: var(--radius-sm);
}

.preview-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blue-50);
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow-sm);
  padding: 16px;
  color: var(--text-main);
}
.chip-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-600);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  border: 1.5px solid var(--neo-border);
  box-shadow: 1px 1px 0 var(--neo-border);
}
.chip-text h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}
.chip-text p {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Features Wrap */
.features-wrap {
  padding: 60px 0;
  background: #ffffff;
  border-top: var(--neo-border-w) solid var(--neo-border);
  border-bottom: var(--neo-border-w) solid var(--neo-border);
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 8px;
}
.section-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.slop-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.slop-feature-card {
  background: #ffffff;
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow);
  padding: 24px 20px;
  transition: all 0.15s ease;
  position: relative;
}
.slop-feature-card:hover {
  background: var(--blue-50);
  transform: translate(2px, 2px);
  box-shadow: var(--neo-shadow-hover);
}
.slop-badge-mini {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 0.75rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  padding: 3px 8px;
  border: 1.5px solid var(--neo-border);
  border-radius: var(--radius-sm);
  box-shadow: 1.5px 1.5px 0 var(--neo-border);
  margin-bottom: 14px;
}
.slop-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}
.slop-feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Dashboard Form Card */
.dash-container {
  max-width: 520px;
  margin: 40px auto;
  width: 100%;
}
.dash-card-slop {
  background: #ffffff;
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow-lg);
  padding: 26px 22px;
}

.stepper-slop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: var(--neo-border-w) solid var(--neo-border);
}
.step-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1.5px solid var(--neo-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: 2px 2px 0 var(--neo-border);
}
.step-item.active {
  background: var(--blue-600);
  color: #ffffff;
  box-shadow: 2px 2px 0 var(--neo-border);
}

.input-label-slop {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.input-slop {
  width: 100%;
  padding: 13px 15px;
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 0.95rem;
  color: var(--text-main);
  box-shadow: var(--neo-shadow-sm);
  transition: all 0.15s ease;
  outline: none;
}
.input-slop:focus {
  background: var(--blue-50);
  border-color: var(--blue-600);
}

.msg-slop {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: var(--neo-border-w) solid var(--neo-border);
  font-size: 0.85rem;
  font-weight: 700;
  display: none;
}
.msg-slop.show { display: block; }
.msg-slop.err {
  background: var(--accent-pink-bg);
  color: #991b1b;
  box-shadow: var(--neo-shadow-sm);
}
.msg-slop.ok {
  background: var(--accent-green-bg);
  color: #065f46;
  box-shadow: var(--neo-shadow-sm);
}

/* Result Card */
.result-card-slop {
  background: var(--blue-50);
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow-sm);
  padding: 18px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.result-kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed var(--neo-border);
  font-size: 0.88rem;
}
.result-kv span {
  font-weight: 700;
  color: var(--text-muted);
}
.result-kv b {
  font-weight: 800;
  color: var(--text-main);
}

.token-slop-box {
  background: #ffffff;
  border: 1.5px solid var(--neo-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  word-break: break-all;
  max-height: 90px;
  overflow-y: auto;
  margin-top: 6px;
  box-shadow: inset 1px 1px 0 rgba(15,23,42,0.1);
}

/* Toast Notice */
.toast-slop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  color: var(--text-main);
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--neo-shadow);
  padding: 12px 18px;
  font-weight: 800;
  font-size: 0.88rem;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast-slop.show {
  transform: translateY(0);
  opacity: 1;
}

/* Modal Popup */
.donate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 300;
  display: none;
  place-items: center;
  padding: 16px;
}
.donate-overlay.show {
  display: grid;
}
.donate-modal {
  background: #ffffff;
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow-lg);
  padding: 26px 22px;
  max-width: 400px;
  width: 100%;
  position: relative;
  text-align: center;
}
.donate-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: var(--blue-50);
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-sm);
  box-shadow: 1.5px 1.5px 0 var(--neo-border);
  display: grid;
  place-items: center;
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.15s ease;
}
.donate-close-btn:hover {
  background: var(--blue-600);
  color: #ffffff;
}

.donate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--blue-100);
  border: 1.5px solid var(--neo-border);
  color: var(--blue-900);
  font-size: 0.775rem;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 1.5px 1.5px 0 var(--neo-border);
}
.donate-modal h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.donate-modal p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.donate-img-wrapper {
  background: var(--blue-50);
  border: var(--neo-border-w) solid var(--neo-border);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow-sm);
  padding: 12px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.donate-qris-img {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}
.donate-bottom-opts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.dont-show-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.dont-show-label input {
  accent-color: var(--blue-600);
  cursor: pointer;
}

/* Footer */
footer.footer-slop {
  background: #ffffff;
  border-top: var(--neo-border-w) solid var(--neo-border);
  padding: 30px 0;
  margin-top: auto;
}
.footer-inner-slop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Media Queries */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-btns { justify-content: center; }
  .slop-cards-grid { grid-template-columns: 1fr; }
  .footer-inner-slop { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 1.85rem; }
  .slop-stats { grid-template-columns: 1fr; gap: 10px; }
  .stat-col:not(:last-child) { border-right: none; border-bottom: 1.5px solid var(--neo-border); padding-bottom: 8px; }
  .dash-container { margin: 25px auto; }
  .dash-card-slop { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}