/* ============================================================
   Smart Dobi — Design System
   ============================================================ */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #DBEAFE;
  --blue-50: #EFF6FF;
  --navy: #0F172A;
  --navy-800: #1E293B;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;

  --green: #22C55E;
  --green-bg: #DCFCE7;
  --red: #EF4444;
  --red-bg: #FEE2E2;
  --yellow: #F59E0B;
  --yellow-bg: #FEF3C7;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, .12);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .22);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1180px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.eyebrow.light { color: #93C5FD; }

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-sub {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
}

.section-head { text-align: center; margin-bottom: 48px; }
.section-head .section-sub { margin-inline: auto; }

.text-accent { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }

.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .55);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(37, 99, 235, .6);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--gray-light); transform: translateY(-2px); }

.btn-ghost-inverse { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost-inverse:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--blue-dark); box-shadow: 0 10px 24px -10px rgba(0,0,0,.3); }
.btn-white:hover { background: var(--blue-50); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-50); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -12px rgba(15,23,42,.12);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--navy); }


/*.brand-icon {
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(37,99,235,.6);
}*/

/* LOGO */
.brand-icon {
  display: grid;
  place-items: center;
  width: 70px; height: 70px;
}

/*.brand-icon svg { width: 22px; height: 22px; }

.nav-links { display: none; }

.nav-actions { display: none; align-items: center; gap: 10px; }*/

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.hamburger span {
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: url('../image/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.821); /* gelapkan 40% */
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1; /* pastikan teks di atas overlay */
}
  /*padding: 64px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(219, 234, 254, .7), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(219, 234, 254, .5), transparent 60%),
    var(--bg);*/

.hero-blob {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(37,99,235,.06) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-light);
  color: var(--blue-dark);
  font-size: .84rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulse-ring 1.8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.hero-subtitle {
  margin-top: 20px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--gray);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: .88rem;
  color: var(--gray);
}
.hero-trust span { display: inline-flex; align-items: center; }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-light); }

/* Hero visual */
.hero-visual { position: relative; max-width: 460px; margin-inline: auto; min-height: 420px; }

.visual-phone {
  position: relative;
  z-index: 2;
  width: 230px;
  margin: 20px auto 0;
  padding: 14px 14px 18px;
  border-radius: 26px;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.phone-notch {
  width: 90px; height: 18px;
  margin: -6px auto 10px;
  border-radius: 0 0 12px 12px;
  background: rgba(255,255,255,.15);
}
.phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #fff; }
.phone-brand { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; }
.phone-brand svg { width: 15px; height: 15px; }
.phone-live { display: inline-flex; align-items: center; gap: 5px; font-size: .6rem; font-weight: 700; color: var(--green); letter-spacing: .08em; }
.phone-live .pulse-dot { width: 6px; height: 6px; }
.phone-live .pulse-dot::after { inset: -3px; }

.phone-status-list { display: flex; flex-direction: column; gap: 8px; }
.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: #E2E8F0;
  font-size: .72rem;
}
.phone-row span:not(.st-dot) { flex: 1; }
.phone-row strong { font-size: .68rem; color: #fff; }
.phone-btn {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: .74rem;
  font-weight: 700;
}

.visual-machine {
  position: absolute;
  left: -14px;
  bottom: 0;
  width: 150px;
  filter: drop-shadow(0 24px 28px rgba(15,23,42,.18));
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.visual-qr {
  position: absolute;
  top: 0;
  right: -6px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: .7rem;
  font-weight: 600;
  color: var(--navy);
  animation: float 7s ease-in-out infinite reverse;
}
.qr-svg { width: 72px; height: 72px; position: relative; background: #fff; }

.qr-svg.large { width: 148px; height: 148px; margin-inline: auto; }

.hero-status-card {
  position: absolute;
  left: 6px;
  bottom: 8px;
  z-index: 3;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: float 8s ease-in-out infinite;
}
.hero-status-title { font-size: .78rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.hero-status-list { display: flex; flex-direction: column; gap: 7px; }
.hero-status-list li { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--gray); }
.hero-status-list li strong { margin-left: auto; color: var(--navy); }

.st-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.st-dot.green { background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }
.st-dot.red { background: var(--red); box-shadow: 0 0 0 3px var(--red-bg); animation: blink 2s ease-in-out infinite; }
.st-dot.yellow { background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-bg); }
@keyframes blink { 50% { opacity: .45; } }

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

/* QR pattern */
.qr-f3, .qr-f1, .qr-f2, .qr-f4 { position: absolute; background: #0F172A; }
.qr-f3 { width: 20px; height: 20px; top: 6px; left: 6px; }
.qr-f1 { width: 8px; height: 8px; top: 12px; left: 12px; background: #fff; }
.qr-f2 { width: 20px; height: 20px; top: 6px; right: 6px; }
.qr-f4 { width: 20px; height: 20px; bottom: 6px; left: 6px; }
.qr-dots {
  position: absolute;
  inset: 34px 10px 10px 34px;
  background:
    radial-gradient(circle at 0 0, #0F172A 4px, transparent 4.5px),
    radial-gradient(circle at 100% 0, #0F172A 4px, transparent 4.5px),
    radial-gradient(circle at 100% 100%, #0F172A 4px, transparent 4.5px),
    radial-gradient(circle at 0 100%, #0F172A 4px, transparent 4.5px),
    radial-gradient(circle at 50% 50%, #0F172A 4px, transparent 4.5px);
  background-size: 20px 20px;
  background-position: 0 0, 8px 0, 8px 8px, 0 8px, 4px 4px;
}
.qr-svg.large .qr-f3 { width: 42px; height: 42px; top: 12px; left: 12px; }
.qr-svg.large .qr-f1 { width: 16px; height: 16px; top: 25px; left: 25px; }
.qr-svg.large .qr-f2 { width: 42px; height: 42px; top: 12px; right: 12px; }
.qr-svg.large .qr-f4 { width: 42px; height: 42px; bottom: 12px; left: 12px; }
.qr-svg.large .qr-dots { inset: 70px 20px 20px 70px; background-size: 40px 40px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background:
    radial-gradient(800px 400px at 20% -20%, rgba(37,99,235,.35), transparent 60%),
    var(--navy);
  color: #fff;
}

/* ---------- Member offer ---------- */
.member-offer { padding: 48px 0; background: var(--bg-alt); }
.member-offer-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #fff 45%, var(--blue-50));
  box-shadow: var(--shadow);
}
.member-offer-copy .section-title { max-width: 600px; }
.member-offer-copy .section-sub { margin-top: 12px; }
.member-offer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.member-offer-badge {
  display: flex;
  width: 190px;
  height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  justify-self: center;
  border: 8px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 14px 32px -12px rgba(37, 99, 235, .7);
  color: #fff;
  transform: rotate(5deg);
}
.member-offer-badge span { font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.member-offer-badge strong { font-size: 3.5rem; line-height: 1.1; }

/* ---------- Machines ---------- */
.machines-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 32px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  width: 100%;
  overflow-x: auto;
}
.filter-tab {
  flex: 1;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.filter-tab:hover { color: var(--navy); }
.filter-tab.active {
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.legend { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; font-size: .85rem; color: var(--gray); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* jarak antara kotak */
.machine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.machine-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, opacity .3s ease;
}
.machine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.machine-card.filtered-out { display: none; }

.machine-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.machine-id { font-size: .72rem; font-weight: 600; color: var(--gray-light); letter-spacing: .04em; }

.machine-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
}
.machine-icon svg { width: 28px; height: 28px; }

.machine-name { font-size: 1.12rem; font-weight: 700; color: var(--navy); }
.machine-meta { font-size: .82rem; color: var(--gray); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.badge .st-dot { width: 8px; height: 8px; }

.badge-available { color: #15803D; background: var(--green-bg); }
.badge-in_use { color: #B91C1C; background: var(--red-bg); }
.badge-maintenance { color: #B45309; background: var(--yellow-bg); }

.machine-status-line { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--gray); }
.machine-status-line strong { color: var(--navy); }

.machine-progress { height: 6px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.machine-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width .6s ease;
}
.progress-in_use { background: var(--red); }

.machine-card .btn { margin-top: auto; }

.machine-unavailable { font-size: .88rem; font-weight: 600; color: var(--yellow); }

.machine-updated {
  margin-top: 28px;
  text-align: center;
  font-size: .8rem;
  color: var(--gray-light);
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.step-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 18px;
}
.step-icon svg { width: 28px; height: 28px; }
.step-num {
  position: absolute;
  top: -8px; right: -8px;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  box-shadow: 0 4px 10px -4px rgba(37,99,235,.6);
}

.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: .92rem; color: var(--gray); }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-light); }

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.feature-icon.blue { background: var(--blue-50); color: var(--blue); }
.feature-icon svg { width: 25px; height: 25px; }

.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--gray); }

/* ---------- QR section ---------- */
.qr-section {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(37,99,235,.14), transparent 60%),
    var(--bg-alt);
}

.qr-panel {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.qr-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.qr-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 44px 24px;
  background:
    radial-gradient(400px 260px at 50% -20%, rgba(219,234,254,.9), transparent 70%),
    var(--blue-50);
  border-bottom: 1px solid var(--border);
}

.qr-scan-line { font-size: .95rem; font-weight: 700; color: var(--navy); }
.qr-note { font-size: .84rem; color: var(--gray); }
.qr-cta { margin-top: 8px; }

.qr-copy { padding: 36px 28px; }
.qr-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.qr-text { margin-top: 14px; color: var(--gray); font-size: 1rem; max-width: 460px; }

.qr-checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.qr-checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  flex-shrink: 0;
}
.check-icon svg { width: 14px; height: 14px; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff 30%, #93C5FD 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .9rem; font-weight: 500; color: #94A3B8; margin-top: 6px; }

/* ---------- Access ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 860px;
  margin-inline: auto;
}

.access-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.access-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.access-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px -10px rgba(37,99,235,.6);
}
.access-icon.alt { background: var(--navy); box-shadow: 0 10px 22px -10px rgba(15,23,42,.5); }
.access-icon svg { width: 28px; height: 28px; }

.access-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }

.benefits { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.benefits li { display: flex; align-items: center; gap: 10px; font-size: .94rem; color: var(--gray); }
.benefit-check {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-bg);
  color: #15803D;
  font-size: .72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.access-text { color: var(--gray); font-size: .96rem; margin-bottom: 24px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}
.about-illus { width: 100%; max-width: 440px; }

.about-copy .section-title { margin-bottom: 16px; }
.about-text { color: var(--gray); font-size: 1.03rem; max-width: 560px; }

.about-points { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; }
.about-points svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 80px; 
       margin-top: 80px; /*BARU*/
}
.cta-panel {
  padding: 56px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 320px at 90% -40%, rgba(147,197,253,.5), transparent 60%),
    radial-gradient(500px 300px at 0% 120%, rgba(59,130,246,.5), transparent 60%),
    var(--blue);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -20px rgba(37,99,235,.55);
  position: relative;
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-title { position: relative; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.cta-text { position: relative; margin: 14px auto 0; max-width: 460px; font-size: 1.05rem; color: #DBEAFE; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #CBD5E1; padding: 64px 0 0; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-tagline { font-size: .92rem; color: #94A3B8; margin-top: 6px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: .9rem; }
.footer-col ul a { transition: color .15s ease; }
.footer-col ul a:hover { color: #fff; }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: #94A3B8; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--blue); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .84rem;
  color: #94A3B8;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  color: #94A3B8;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.show { opacity: 1; }

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}
.modal-overlay.show .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  color: var(--gray);
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--bg-alt); color: var(--navy); }
.modal-close svg { width: 18px; height: 18px; }

.modal h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.modal .qr-svg { margin-bottom: 14px; }
.modal .qr-note { margin-bottom: 20px; }

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.login-tab {
  padding: 10px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.login-tab.active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }

.login-title { margin-bottom: 4px !important; }
.login-subtitle { font-size: .9rem; color: var(--gray); margin-bottom: 22px; }

.login-modal form { text-align: left; }

.field { margin-bottom: 16px; }
.field[data-form-field="signup"][hidden] { display: none; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--navy);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.field.invalid input { border-color: var(--red); }
.field-error { display: none; font-size: .78rem; color: var(--red); margin-top: 5px; }
.field.invalid .field-error { display: block; }

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  font-size: .84rem;
  color: var(--gray);
}
.check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.check input { accent-color: var(--blue); width: 15px; height: 15px; }
.forgot { color: var(--blue); font-weight: 600; }
.forgot:hover { text-decoration: underline; }

.login-divider { position: relative; text-align: center; margin: 20px 0 14px; }
.login-divider::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.login-divider span {
  position: relative;
  padding: 0 12px;
  background: #fff;
  font-size: .8rem;
  color: var(--gray-light);
}

.select-check {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-bg);
  color: #15803D;
}
.select-check svg { width: 30px; height: 30px; }
.select-modal .btn-block:not(:last-of-type) { margin-bottom: 10px; }

/* ---------- FAB ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: .85rem;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.fab svg { width: 18px; height: 18px; }
.fab:hover { transform: translateY(-3px); }
.fab.hidden { opacity: 0; visibility: hidden; transform: translateY(10px); }

/* ---------- Toast ---------- */
.guest-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 120;
  transform: translate(-50%, 16px);
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  white-space: nowrap;
}
.guest-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .machines-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .filter-tabs { width: auto; }
  .access-grid { grid-template-columns: 1fr 1fr; }
  .qr-panel-grid { grid-template-columns: 5fr 7fr; }
  .qr-display { border-bottom: none; border-right: 1px solid var(--border); }
  .member-offer-card { grid-template-columns: 1fr auto; }
  .member-offer-badge { margin: 0 12px; }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero { padding: 96px 0 110px; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--navy);
  }
  .nav-link {
    position: relative;
    padding: 6px 0;
    transition: color .15s ease;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
  }
  .nav-link:hover { color: var(--blue); }
  .nav-link:hover::after { transform: scaleX(1); }
  .nav-link.active { color: var(--blue); }

  .nav-actions { display: flex; }
  .hamburger { display: none; }
  .nav-cta-mobile { display: none; }

  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .nav-actions { display: flex; }
  .hamburger { display: none; }
  .nav-cta-mobile { display: none; }
}

/* ---------- Mobile menu (hamburger open state) ---------- */
@media (max-width: 1023px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -24px rgba(15,23,42,.25);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links .nav-link {
    display: block;
    padding: 13px 4px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px solid var(--bg-alt);
  }
  .nav-cta-mobile { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
  .nav-cta-mobile .btn { width: 100%; }
}

/* ---------- Empty state for filters ---------- */
.machine-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--gray);
  font-size: .95rem;
}

/* Aturan asal (keadaan tersembunyi) */
.reveal {
  opacity: 0;
  transform: translateY(30px); /* Atau bergantung pada design asal anda */
  transition: all 0.6s ease-out; /* Supaya ada efek pergerakan licin */
}

/* Tambah kod ini di bawahnya (keadaan bila dah muncul) */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}