/* ============================================================
   KUBIGA STORE — store.css  (TEMA GUNDAM RX-78)
   Palette resmi RX-78-2: Putih (#f5f5f7) + Biru EFSF (#1a3a8f) +
   Merah (#d8232a) + Kuning V-fin (#ffc20e). Aksen panel-line gelap
   (#1c2333) untuk kesan armor mecha. Mewah, gagah, kontras tegas.
   Font: Plus Jakarta Sans + Orbitron (judul, kesan teknologi).
   ============================================================ */

:root {
  /* Gundam RX-78 core */
  --gundam-white: #f5f6f9;
  --gundam-blue:  #1a3a8f;
  --gundam-blue-light: #2b5fd9;
  --gundam-red:   #d8232a;
  --gundam-yellow:#ffc20e;
  --armor-dark:   #1c2333;
  --armor-line:   #0f1320;

  --bg: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f0f3fa;
  --border: #d9deeb;
  --text: #1a1f2e;
  --text-2: #38405a;
  --text-muted: #6b7388;
  --text-faint: #9aa1b5;

  --primary: var(--gundam-blue);
  --primary-2: var(--gundam-blue-light);
  --primary-grad: linear-gradient(135deg, #1a3a8f 0%, #2b5fd9 100%);
  --hero-grad: linear-gradient(135deg, #1a3a8f 0%, #d8232a 130%);
  --primary-soft: rgba(26, 58, 143, 0.10);
  --primary-soft-2: rgba(43, 95, 217, 0.10);

  --success: #1f9d57;
  --success-soft: rgba(31, 157, 87, 0.12);
  --warn: #e8920c;
  --warn-soft: rgba(232, 146, 12, 0.14);
  --danger: var(--gundam-red);
  --danger-soft: rgba(216, 35, 42, 0.12);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-xs: 5px;
  --shadow: 0 2px 14px rgba(26,58,143,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-card: 0 6px 24px rgba(26,58,143,0.12), 0 1px 6px rgba(0,0,0,0.05);
  --shadow-hover: 0 16px 44px rgba(26,58,143,0.22), 0 2px 10px rgba(216,35,42,0.10);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
  --mono: 'JetBrains Mono', 'Fira Mono', monospace;

  --nav-h: 66px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===================== TICKER ===================== */
.ticker-wrap {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 100;
}
.ticker-inner { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ticker-live {
  background: rgba(255,255,255,0.25); border-radius: 999px;
  padding: 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  animation: pulse-live 2s ease-in-out infinite;
}
@keyframes pulse-live { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--gundam-blue) 0%, var(--gundam-blue) 33%, var(--gundam-red) 33%, var(--gundam-red) 66%, var(--gundam-yellow) 66%, var(--gundam-yellow) 100%) 1;
  height: var(--nav-h);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gundam-blue);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-icon {
  width: 38px; height: 38px;
  background: var(--hero-grad);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  border: 2px solid var(--gundam-yellow);
  box-shadow: 0 2px 8px rgba(216,35,42,0.25);
}
.nav-center { flex: 1; max-width: 440px; position: relative; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1.5px solid var(--border);
  border-radius: 999px; padding: 8px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.search-ic { font-size: 14px; }
.search-box input {
  border: none; background: transparent; outline: none;
  width: 100%; font-size: 14px; font-family: var(--font); color: var(--text);
}
.search-box input::placeholder { color: var(--text-faint); }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
  max-height: 320px; overflow-y: auto; z-index: 99;
  display: none;
}
.search-results.open { display: block; }
.sr-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer; transition: background 0.1s;
}
.sr-item:hover { background: var(--surface-2); }
.sr-item .sr-thumb {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary-soft); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; overflow: hidden;
}
.sr-item .sr-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.sr-item .sr-name { font-weight: 600; font-size: 13px; }
.sr-item .sr-price { font-size: 12px; color: var(--primary); font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-ops {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted); font-weight: 500;
}
.ops-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse-live 2s infinite; }
.nav-cart-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--primary-grad); color: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 700;
  transition: filter 0.15s, transform 0.1s; position: relative;
}
.nav-cart-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cart-count {
  background: #fff; color: var(--primary);
  border-radius: 999px; padding: 0 6px;
  font-size: 11px; font-weight: 800; min-width: 18px; text-align: center;
}

/* ===================== HERO (GUNDAM ARMOR) ===================== */
.hero {
  background:
    linear-gradient(160deg, rgba(26,58,143,0.06) 0%, rgba(216,35,42,0.04) 60%, var(--bg) 100%),
    repeating-linear-gradient(135deg, transparent 0 38px, rgba(26,58,143,0.025) 38px 40px);
  padding: 64px 24px 56px;
  overflow: hidden;
  position: relative;
  border-bottom: 3px solid var(--gundam-yellow);
}
.hero::before {
  content: "";
  position: absolute; top: -60px; right: -60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(26,58,143,0.14) 0%, transparent 70%);
  pointer-events: none;
}
/* Pita aksen merah-kuning khas Gundam di sisi kiri hero */
.hero::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, var(--gundam-red) 0%, var(--gundam-red) 50%, var(--gundam-yellow) 50%, var(--gundam-yellow) 100%);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-soft); color: var(--primary);
  border: 1px solid rgba(108,71,255,0.2); border-radius: 999px;
  padding: 5px 14px; font-size: 13px; font-weight: 700;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 50px); font-weight: 800;
  line-height: 1.14; letter-spacing: 0.01em; margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-gradient {
  background: linear-gradient(135deg, var(--gundam-red) 0%, var(--gundam-blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 17px; color: var(--text-muted); max-width: 460px; margin-bottom: 28px; line-height: 1.65; }
.hero-stats {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--primary); display: block; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.stat-sep { color: var(--border); font-size: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--primary-grad); color: #fff;
  border-radius: 999px; padding: 14px 32px; font-size: 15px; font-weight: 700;
  transition: filter 0.15s, transform 0.12s; display: inline-block;
  box-shadow: 0 4px 20px rgba(108,71,255,0.35);
}
.btn-hero-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-hero-ghost {
  background: var(--surface); color: var(--primary);
  border: 2px solid rgba(108,71,255,0.3);
  border-radius: 999px; padding: 12px 28px; font-size: 15px; font-weight: 700;
  transition: border-color 0.15s, background 0.15s;
}
.btn-hero-ghost:hover { background: var(--primary-soft); border-color: var(--primary); }

/* Hero card visual */
.hero-visual { position: relative; }
.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 20px; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; top: -30%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(108,71,255,0.08), transparent 70%);
  pointer-events: none;
}
.hc-badge {
  display: inline-block; background: var(--warn-soft); color: var(--warn);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700;
  margin-bottom: 16px;
}
.hc-prod-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; margin-bottom: 6px;
  background: var(--surface-2); transition: background 0.15s;
}
.hc-prod-item:hover { background: var(--primary-soft); }
.hc-prod-thumb {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--primary-soft); display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; overflow: hidden;
}
.hc-prod-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.hc-prod-name { font-weight: 700; font-size: 14px; }
.hc-prod-price { font-size: 13px; color: var(--primary); font-weight: 700; font-family: var(--mono); }
.hc-prod-stock { font-size: 11px; color: var(--text-muted); }

/* ===================== FEATURES ===================== */
.features { padding: 48px 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.features-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feat-item { text-align: center; padding: 8px; }
.feat-ic { font-size: 28px; margin-bottom: 10px; }
.feat-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.feat-desc { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }

/* ===================== CONTAINER / SECTION ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase;
  position: relative; padding-left: 14px;
}
.section-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px;
  background: linear-gradient(180deg, var(--gundam-blue) 0%, var(--gundam-red) 100%);
  border-radius: 2px;
}
.section-count { font-family: var(--mono); font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ===================== CATEGORIES ===================== */
.cats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
}
.cat-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px;
  cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  display: flex; align-items: center; gap: 14px;
}
.cat-card:hover, .cat-card.active {
  border-color: var(--primary); box-shadow: 0 4px 20px rgba(108,71,255,0.12);
  transform: translateY(-2px);
}
.cat-card.active { background: var(--primary-soft); }
.cat-icon { font-size: 28px; flex-shrink: 0; }
.cat-info { min-width: 0; }
.cat-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-count { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.cat-skeleton { height: 80px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface-2) 25%, #e8eaf2 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }

/* ===================== PRODUCT GRID ===================== */
.prod-filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text-muted);
  cursor: pointer; transition: all 0.15s;
}
.filter-pill:hover, .filter-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.prod-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 18px;
}
.prod-skeleton { height: 280px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface-2) 25%, #e8eaf2 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.prod-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.prod-thumb {
  height: 160px; background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-soft-2) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 52px;
  position: relative; overflow: hidden;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-thumb-emoji { font-size: 52px; user-select: none; }
.prod-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.prod-badge {
  padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  display: inline-block; backdrop-filter: blur(8px);
}
.pb-flash { background: rgba(239,68,68,0.9); color: #fff; }
.pb-low { background: rgba(245,158,11,0.9); color: #fff; }
.pb-new { background: rgba(108,71,255,0.9); color: #fff; }
.pb-hot { background: rgba(239,68,68,0.85); color: #fff; }
.prod-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.prod-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); font-weight: 700; margin-bottom: 6px; }
.prod-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; line-height: 1.3; }
.prod-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--primary); }
.prod-price-orig { font-family: var(--mono); font-size: 12px; color: var(--text-faint); text-decoration: line-through; display: block; }
.prod-stock { font-size: 11.5px; color: var(--text-muted); font-weight: 500; }
.prod-stock.low { color: var(--warn); font-weight: 700; }
.prod-stock.empty { color: var(--danger); font-weight: 700; }
.btn-order {
  background: var(--primary-grad); color: #fff;
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700;
  border: none; cursor: pointer; transition: filter 0.15s; font-family: var(--font);
}
.btn-order:hover { filter: brightness(1.1); }
.btn-order:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===================== MODAL ===================== */
.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fade-in 0.18s ease;
}
@keyframes fade-in { from{opacity:0} to{opacity:1} }
.modal-box {
  background: var(--surface); border-radius: 24px;
  width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto;
  animation: slide-up 0.22s cubic-bezier(0.34,1.2,0.64,1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
@keyframes slide-up { from{transform:translateY(30px);opacity:0} to{transform:translateY(0);opacity:1} }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 0; margin-bottom: 20px;
}
.modal-title { font-size: 20px; font-weight: 800; }
.modal-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: background 0.15s; color: var(--text-muted);
}
.modal-close:hover { background: var(--border); }

/* Product detail modal */
.md-thumb {
  margin: 0 24px; border-radius: var(--radius); overflow: hidden;
  height: 180px; background: linear-gradient(135deg, var(--primary-soft), var(--primary-soft-2));
  display: flex; align-items: center; justify-content: center; font-size: 64px;
  margin-bottom: 20px;
}
.md-thumb img { width: 100%; height: 100%; object-fit: cover; }
.md-body { padding: 0 24px 24px; }
.md-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); font-weight: 700; margin-bottom: 4px; }
.md-name { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.md-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.md-price { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--primary); }
.md-price-orig { font-family: var(--mono); font-size: 15px; color: var(--text-faint); text-decoration: line-through; }
.md-flash-badge { background: var(--danger-soft); color: var(--danger); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.md-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; white-space: pre-line; }
.md-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.md-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.qty-ctrl { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-ctrl button { width: 36px; height: 36px; border: none; background: var(--surface-2); color: var(--text); font-size: 18px; cursor: pointer; transition: background 0.15s; font-family: var(--font); }
.qty-ctrl button:hover { background: var(--primary-soft); color: var(--primary); }
.qty-ctrl span { width: 44px; text-align: center; font-weight: 700; font-size: 16px; font-family: var(--mono); }
.qty-total { font-family: var(--mono); font-weight: 700; color: var(--primary); font-size: 18px; }
.md-stock-info { font-size: 13px; color: var(--text-muted); }

/* Order form */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--surface-2);
  font-size: 14px; font-family: var(--font); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); background: var(--surface); }
.form-hint { font-size: 12px; color: var(--text-faint); margin-top: 5px; }

.voucher-row { display: flex; gap: 8px; }
.voucher-row .form-input { border-radius: 999px; }
.btn-apply { background: var(--surface-2); border: 1.5px solid var(--border); border-radius: 999px; padding: 11px 18px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: all 0.15s; font-family: var(--font); }
.btn-apply:hover { border-color: var(--primary); color: var(--primary); }
.voucher-ok { font-size: 12px; color: var(--success); font-weight: 600; margin-top: 4px; }
.voucher-err { font-size: 12px; color: var(--danger); margin-top: 4px; }

.order-summary {
  background: var(--surface-2); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 16px; font-size: 14px;
}
.os-row { display: flex; justify-content: space-between; padding: 4px 0; }
.os-row.disc { color: var(--success); font-weight: 600; }
.os-row.total { font-weight: 800; font-size: 16px; padding-top: 10px; border-top: 1px dashed var(--border); margin-top: 8px; }

.btn-pay {
  width: 100%; padding: 15px; border-radius: 999px;
  background: var(--primary-grad); color: #fff; border: none;
  font-size: 16px; font-weight: 800; cursor: pointer; font-family: var(--font);
  transition: filter 0.15s, transform 0.1s;
  box-shadow: 0 4px 20px rgba(108,71,255,0.35);
}
.btn-pay:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-pay:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* QRIS view */
.qris-wrap { text-align: center; }
.qris-wrap img { max-width: 260px; border-radius: 12px; margin: 16px auto; display: block; border: 1px solid var(--border); }
.qris-amount { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--primary); margin: 10px 0; }
.qris-order { font-size: 12px; color: var(--text-faint); font-family: var(--mono); }
.qris-timer { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--warn); margin: 10px 0; }
.qris-checking { font-size: 13px; color: var(--text-muted); animation: pulse-live 1.5s infinite; }
.qris-steps { text-align: left; background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px 0; }
.qris-steps li { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; padding-left: 4px; }
.qris-steps li:last-child { margin-bottom: 0; }

/* success state */
.success-wrap { text-align: center; padding: 20px 0; }
.success-ic { font-size: 56px; margin-bottom: 12px; }
.success-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.success-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.order-detail-box { background: var(--surface-2); border-radius: var(--radius-sm); padding: 16px; text-align: left; font-size: 13px; font-family: var(--mono); white-space: pre-wrap; word-break: break-all; max-height: 200px; overflow-y: auto; }

/* ===================== FOOTER ===================== */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 32px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 13px; color: var(--text-faint); }

/* ===================== TOAST ===================== */
.toast-stack { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 8px; z-index: 300; }
.toast {
  background: var(--text); color: #fff;
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: slide-in-r 0.22s ease-out;
  display: flex; align-items: center; gap: 8px; max-width: 320px;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes slide-in-r { from{transform:translateX(20px);opacity:0} to{transform:translateX(0);opacity:1} }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-center { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 40px 16px; }
  .section { padding: 40px 0; }
  .footer-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
