:root {
  --color-bg: #0e0e0e;
  --color-card: #1a1a1a;
  --color-card-hover: #1f1f1f;
  --color-amber: #f59e0b;
  --color-amber-hover: #fbbf24;
  --color-amber-subtle: rgba(245, 158, 11, 0.1);
  --color-amber-border: rgba(245, 158, 11, 0.25);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);
  --color-muted: #6b7280;
  --color-text: #e5e5e5;
  --color-text-dim: #a3a3a3;
  --color-emerald: #10b981;
  --color-violet: #8b5cf6;
  --container: 1240px;
}

/* Logo dark/light mode toggle rules */
.logo-dark { display: none !important; }
.logo-light { display: inline-block !important; }
html.dark .logo-dark, body.dark .logo-dark, body.theme-cardify-dark .logo-dark, [data-bs-theme="dark"] .logo-dark { display: inline-block !important; }
html.dark .logo-light, body.dark .logo-light, body.theme-cardify-dark .logo-light, [data-bs-theme="dark"] .logo-light { display: none !important; }

body.theme-cardify-dark {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; margin: -12px; }
.g-4 { margin: -12px; }
.g-4 > * { padding: 12px; }
.col, .col-6, .col-md-4, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7 { width: 100%; padding: 12px; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-muted { color: var(--color-muted); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1rem, 1.8vw, 1.18rem); }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fw-medium { font-weight: 500; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }
.mx-auto { margin-inline: auto; }
.py-3 { padding-block: .75rem; }
.py-4 { padding-block: 1rem; }
.py-5 { padding-block: 3rem; }
.px-3 { padding-inline: .75rem; }
.px-4 { padding-inline: 1rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1.25rem; }
.p-5 { padding: 2rem; }
.h-100 { height: 100%; }
.position-relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.list-unstyled { list-style: none; margin: 0; padding: 0; }

@media (min-width: 768px) {
  .col-md-4 { width: 33.333%; }
  .col-md-6 { width: 50%; }
  .py-lg-6 { padding-block: 5rem; }
}
@media (min-width: 992px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-5 { width: 41.667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333%; }
}

body.theme-cardify-dark a { color: inherit; text-decoration: none; }
body.theme-cardify-dark img, body.theme-cardify-dark svg { display: block; max-width: 100%; }
body.theme-cardify-dark button, body.theme-cardify-dark input, body.theme-cardify-dark select, body.theme-cardify-dark textarea { font: inherit; }

.top-strip {
  height: 38px;
  display: flex;
  align-items: center;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #9ca3af;
  font-size: .82rem;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}
.top-strip-center { text-align: left; white-space: nowrap; }
.top-strip-right { display: flex; align-items: center; gap: 22px; font-weight: 600; white-space: nowrap; }
.top-business-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-weight: inherit;
  cursor: pointer;
}
.top-business-link:hover { color: #fff; }

.navbar-cardify {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, .03);
}
.navbar-inner { min-height: 70px; }
.navbar-logo-icon, .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.navbar-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-amber);
  color: #000;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 12px 32px -18px rgba(245, 158, 11, .8);
}
.navbar-brand-text, .footer-brand-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0;
}
.navbar-nav-cardify { display: flex; gap: 28px; align-items: center; margin: 0 auto; padding: 0; list-style: none; }
.nav-link-cardify {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d4d4d4;
  font-size: 1rem;
  font-weight: 600;
  transition: color .15s ease, background .15s ease;
}
.nav-link-cardify:hover, .nav-link-cardify.active { color: #fff; background: transparent; }
.navbar-toggler-cardify {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
}
.navbar-actions-cardify { display: flex; gap: 8px; align-items: center; }
.btn-login {
  min-height: 38px;
  padding: .45rem .8rem;
  border: 0;
  background: transparent;
  color: #d4d4d4;
  box-shadow: none;
}
.btn-login:hover { background: transparent; color: #fff; box-shadow: none; }
.nav-category { position: relative; }
.mega-menu {
  position: absolute;
  left: -200px;
  right: auto;
  width: 900px;
  top: 100%;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(10,10,10,.98);
  box-shadow: 0 28px 60px rgba(0,0,0,.6);
  backdrop-filter: blur(18px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-category:hover .mega-menu,
.nav-category:focus-within .mega-menu,
.nav-category.force-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-inner {
  width: 100%;
  padding: 24px;
}
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mega-title {
  margin: 0 0 12px;
  color: var(--color-amber);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mega-items { display: grid; gap: 8px; }
.mega-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 8px 10px;
  border-radius: 12px;
  color: #fff;
  transition: background .15s ease;
}
.mega-item:hover { background: rgba(255,255,255,.05); }
.mega-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: rgba(245,158,11,.1);
  color: var(--color-amber);
  font-size: .75rem;
  font-weight: 700;
}
.mega-item p { margin: 0; font-size: 0.9rem; }
.mega-item small { display: block; color: var(--color-muted); font-size: .75rem; margin-top: 1px; }
.mega-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--color-muted);
  font-size: .875rem;
}

.btn-cardify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 10px;
  padding: .6rem 1.25rem;
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  box-sizing: border-box !important;
}
.btn-cardify:active { transform: translateY(1px); }
.btn-amber,
a.btn-amber,
button.btn-amber,
.btn-amber *,
.btn.btn-amber { background: var(--color-amber); color: #000000 !important; }
.btn-amber:hover,
a.btn-amber:hover,
button.btn-amber:hover,
.btn-amber:hover *,
.btn.btn-amber:hover { background: var(--color-amber-hover); box-shadow: 0 8px 24px -4px rgba(245, 158, 11, .5); color: #000000 !important; }
.btn-amber-outline { background: transparent; color: var(--color-amber); border-color: var(--color-amber-border); }
.btn-amber-outline:hover { background: var(--color-amber); color: #000000 !important; }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--color-text); border-color: var(--color-border-hover); }
.btn-ghost:hover, .btn-ghost.active { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-sm { min-height: 38px; padding: .45rem 1rem; }

.hero {
  min-height: 704px;
  display: grid;
  align-items: start;
  padding: 86px 0 60px;
  background:
    radial-gradient(ellipse at 54% 14%, rgba(245, 158, 11, .16) 0%, rgba(245, 158, 11, .08) 24%, transparent 56%),
    linear-gradient(90deg, #0a0a0a 0%, #11100d 46%, #080808 100%);
}
.hero-glow {
  position: absolute;
  top: 88px;
  left: 58%;
  width: 780px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(245, 158, 11, .24) 0%, rgba(245, 158, 11, .09) 36%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(440px, 1fr);
  gap: 92px;
  align-items: center;
}
.display-4 {
  margin: 0;
  font-size: clamp(3.65rem, 4.8vw, 4.65rem);
  line-height: .98;
  letter-spacing: 0;
  color: #fff;
  font-weight: 500;
}
.accent { color: var(--color-amber); }
.badge-amber {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 26px;
  background: rgba(255, 255, 255, .025);
  color: var(--color-amber);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  padding: .22rem .75rem;
  letter-spacing: 0;
  text-transform: none;
}
.avatar-stack { display: flex; align-items: center; }
.avatar-stack .av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-bg);
  object-fit: cover;
  margin-left: -8px;
}
.avatar-stack .av:first-child { margin-left: 0; }

.hero-proof-row { margin-top: 31px; color: #9ca3af; }
.hero-proof-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof-item svg { color: #f7c600; }
.hero-avatars { margin-top: 34px; }
.reward-card-stage {
  position: relative;
  min-height: 336px;
  display: grid;
  place-items: center;
  transform: translateY(24px);
}
.reward-card-shadow {
  position: absolute;
  width: 420px;
  height: 104px;
  left: 50%;
  bottom: 22px;
  transform: translateX(-35%) rotate(6deg) skewX(10deg);
  border-radius: 0 0 22px 22px;
  background: linear-gradient(90deg, rgba(245, 158, 11, .16), rgba(245, 158, 11, .03));
  border: 1px solid rgba(245, 158, 11, .15);
}
.reward-card {
  position: relative;
  width: min(100%, 455px);
  min-height: 234px;
  padding: 30px 28px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 8%, rgba(245, 158, 11, .08), transparent 30%),
    linear-gradient(165deg, #191919 0%, #0f0f0f 58%, #171717 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 42px 80px rgba(0, 0, 0, .44), inset 0 1px 0 rgba(255, 255, 255, .05);
  transform: rotate(-4deg);
}
.reward-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.06), transparent 42%);
  pointer-events: none;
}
.reward-card-brand {
  color: #f7c600;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.reward-icon-float {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 34px rgba(0,0,0,.25);
}
.reward-icon-float.star { left: -15px; top: 32px; background: rgba(245, 158, 11, .37); color: #f7c600; }
.reward-icon-float.coins-a { right: 24px; top: 23px; background: rgba(245, 158, 11, .28); color: #f7c600; }
.reward-icon-float.gift { right: -18px; top: 105px; background: rgba(14, 165, 233, .27); color: #38bdf8; }
.reward-icon-float.medal { left: -6px; bottom: 32px; background: rgba(16, 185, 129, .25); color: #34d399; }
.reward-icon-float.coins-b { right: 12px; bottom: -12px; background: rgba(245, 158, 11, .2); color: #f7c600; }
.reward-progress-track {
  height: 8px;
  margin-top: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.reward-progress-fill {
  width: 83%;
  height: 100%;
  background: #f7c600;
  border-radius: inherit;
}
.stamp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; }
.stamp-cell {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--color-muted);
  font-size: .8rem;
}
.stamp-cell.filled { background: var(--color-amber); color: #000; border-color: var(--color-amber); font-weight: 700; }

.section { padding: 84px 0; }
.snapshot-section { padding: 118px 0; }
.section-alt { background: #141414; border-block: 1px solid var(--color-border); }
.section-heading { max-width: 680px; margin-bottom: 38px; }
.snapshot-heading { margin-bottom: 32px; }
.eyebrow {
  color: var(--color-amber);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 7px;
}
h2 { margin: .75rem 0 0; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: 0; }
.snapshot-heading h2 { margin: 0; font-size: clamp(1.75rem, 2.4vw, 2.4rem); font-weight: 400; }

.card-dark {
  height: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.card-dark:hover { border-color: var(--color-border-hover); background: var(--color-card-hover); transform: translateY(-2px); }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.mini-card { padding: 28px; min-height: 250px; }
.mini-card .mini-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(245, 158, 11, .1);
  color: var(--color-amber);
  margin: 16px 0 18px;
}
.mini-card .mini-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.mini-card h3 { font-size: 1.25rem; font-weight: 400; }
.mini-card p { font-size: 1rem; line-height: 1.55; }
.mini-num { color: rgba(245, 158, 11, .42); font-size: 2.5rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.badge-type {
  display: inline-flex;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-loyalty { background: rgba(245, 158, 11, .15); color: #f59e0b; }
.badge-stamp { background: rgba(16, 185, 129, .15); color: #10b981; }
.badge-voucher { background: rgba(139, 92, 246, .15); color: #8b5cf6; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.category-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.category-card:hover { border-color: rgba(245,158,11,.3); transform: translateY(-2px); }
.category-media { position: relative; height: 144px; overflow: hidden; }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .category-media img { transform: scale(1.05); }
.category-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.1), transparent); pointer-events: none; }
.trending-chip {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(251,191,36,.4);
  border-radius: 999px;
  background: rgba(0,0,0,.6);
  color: var(--color-amber);
  padding: 2px 8px;
  font-size: 10px;
  backdrop-filter: blur(6px);
}
.trending-chip svg { width: 10px; height: 10px; stroke: currentColor; fill: none; }
.category-card-body { padding: 20px; }
.category-card h3 { font-size: 1rem; font-weight: 400; }
.category-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--color-muted);
  font-size: .625rem;
}
.category-stats strong { display: block; color: #fff; font-size: .875rem; font-weight: 400; }
.category-stats span:last-child strong { color: var(--color-amber); }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { min-height: 118px; padding: 18px; }
.merchant-band {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border-block: 1px solid var(--color-border);
}
.pill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 26px; }
.feature-pill { display: flex; align-items: center; gap: 10px; border-radius: 10px; border: 1px solid var(--color-border); background: rgba(255,255,255,.045); padding: 10px 12px; font-size: .84rem; color: #e5e5e5; }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.timeline-card { display: flex; align-items: center; gap: 14px; padding: 18px; }
.circle-num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--color-amber); color: #000; font-weight: 800; }
.stat-value {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--color-amber);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: 0;
}
.stat-label { color: var(--color-muted); font-size: .84rem; margin-top: .2rem; }

.dashboard {
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: rgba(10, 10, 10, .8);
  padding: 20px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, .34);
}
.dashboard.snapshot-dashboard { max-width: 520px; margin-left: auto; }
.chart {
  height: 145px;
  border-radius: 16px;
  background:
    linear-gradient(to top, rgba(245, 158, 11, .09), transparent),
    repeating-linear-gradient(to right, transparent 0 68px, rgba(255,255,255,.045) 69px 70px),
    repeating-linear-gradient(to bottom, transparent 0 35px, rgba(255,255,255,.035) 36px 37px);
  position: relative;
  overflow: hidden;
}
.chart svg { width: 100%; height: 100%; }
.form-control-dark {
  width: 100%;
  min-height: 48px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 10px;
  padding: .7rem 1rem;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control-dark::placeholder { color: var(--color-muted); }
.form-control-dark:focus {
  border-color: var(--color-amber-border);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .1);
}
.billing-toggle {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 4px;
  display: inline-flex;
}
.billing-toggle.w-100 { width: 100%; display: flex; }
.billing-toggle.w-100 .toggle-btn { flex: 1; }
.toggle-btn {
  border: 0;
  background: transparent;
  color: var(--color-muted);
  border-radius: 99px;
  min-height: 36px;
  padding: .4rem 1.1rem;
  font-size: .84rem;
  cursor: pointer;
}
.toggle-btn.active { background: var(--color-amber); color: #000; }
.plan-card-highlight {
  border-color: var(--color-amber-border);
  background: linear-gradient(160deg, rgba(245, 158, 11, .09), var(--color-card));
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { padding: 26px; }
.price { font-size: 2.1rem; line-height: 1; color: #fff; font-weight: 750; }
.price small { color: var(--color-muted); font-size: .78rem; font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; color: var(--color-text-dim); font-size: .78rem; }
.check-list li { margin-bottom: 8px; }
.check-list li::before { content: "✓"; color: var(--color-amber); margin-right: 8px; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry-item { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; margin-top: 13px; }
.industry-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(245, 158, 11, .1); color: var(--color-amber); }
.api-panel { border-radius: 20px; border: 1px solid var(--color-border); background: linear-gradient(135deg, #1a1a1a, #0f0f0f); padding: 34px; }
.api-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: .65rem;
  background: rgba(255,255,255,.015);
}
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-button {
  width: 100%;
  min-height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: transparent;
  border: 0;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}
.faq-body { display: none; color: var(--color-muted); padding: 0 1.25rem 1rem; }
.faq-item.open { border-color: var(--color-amber-border); background: rgba(245, 158, 11, .03); }
.faq-item.open .faq-body { display: block; }
.cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-amber-border);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(245, 158, 11, .08), transparent);
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(245, 158, 11, .2) 0%, transparent 70%);
  pointer-events: none;
}
.account-cta {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, .2);
  background: linear-gradient(180deg, rgba(245, 158, 11, .12), rgba(245, 158, 11, .02));
  padding: 42px;
  text-align: center;
}
.site-footer { background: #0a0a0a; border-top: 1px solid var(--color-border); }
.footer-heading {
  margin: 0 0 .75rem;
  color: var(--color-text-dim);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: var(--color-muted); font-size: .875rem; }
.footer-links a:hover { color: var(--color-amber); }
.footer-bottom { border-top: 1px solid var(--color-border); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.modal-backdrop-cardify {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
}
.modal-backdrop-cardify.open { display: flex; }
.merchant-modal {
  width: min(100%, 576px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #111;
  box-shadow: 0 36px 90px rgba(0,0,0,.55);
}
.modal-head, .modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--color-border); }
.modal-foot { border-top: 1px solid var(--color-border); border-bottom: 0; }
.modal-close { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--color-muted); cursor: pointer; }
.modal-close:hover { background: rgba(255,255,255,.08); color: #fff; }
.progress-steps { display: flex; gap: 8px; padding: 18px 24px 4px; }
.progress-steps span { flex: 1; height: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.progress-steps span.active { background: var(--color-amber); }
.modal-body { min-height: 376px; padding: 22px 24px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.color-dots { display: flex; gap: 8px; }
.color-dots button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); cursor: pointer; }
.program-choice { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 16px; margin-top: 10px; border: 1px solid var(--color-border); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; text-align: left; cursor: pointer; }
.program-choice.active { border-color: rgba(245,158,11,.5); background: rgba(245,158,11,.1); }

/* Route subpages */
.route-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.route-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 720px;
  height: 360px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(245,158,11,.11);
  filter: blur(80px);
  pointer-events: none;
}
.route-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 76px 0 60px;
  text-align: center;
}
.route-title {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0;
}
.route-subtitle { max-width: 690px; margin: 14px auto 0; color: var(--color-muted); font-size: 1.02rem; }
.route-section { padding: 64px 0; }
.route-stat-strip {
  border-block: 1px solid var(--color-border);
  background: rgba(255,255,255,.045);
}
.route-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 28px 0; text-align: center; }
.route-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.route-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.route-card { border-radius: 16px; border: 1px solid var(--color-border); background: rgba(255,255,255,.035); padding: 24px; }
.route-card:hover { border-color: var(--color-amber-border); background: rgba(255,255,255,.055); }
.route-card h3 { font-size: 1.05rem; font-weight: 500; }
.route-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--color-amber-subtle);
  color: var(--color-amber);
  font-size: .95rem;
  font-weight: 700;
}
.route-filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.route-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.route-tab {
  min-height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #d4d4d4;
  padding: .45rem 1rem;
  cursor: pointer;
  font-size: .9rem;
}
.route-tab.active { border-color: var(--color-amber); background: var(--color-amber); color: #000; }
.route-select { min-height: 42px; border-radius: 12px; border: 1px solid var(--color-border); background: #151515; color: #fff; padding: 0 .9rem; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.program-card { min-height: 232px; border-radius: 16px; border: 1px solid var(--color-border); background: var(--color-card); padding: 20px; }
.program-card h3 { font-size: 1rem; font-weight: 500; }
.program-card .identifier { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .72rem; color: var(--color-muted); }
.dev-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: 42px; align-items: center; }
.code-window { overflow: hidden; border: 1px solid var(--color-border); border-radius: 18px; background: #090909; box-shadow: 0 28px 70px rgba(0,0,0,.32); }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--color-border); background: rgba(255,255,255,.04); }
.code-dots { display: flex; gap: 7px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.code-dots span:nth-child(2) { background: #f59e0b; }
.code-dots span:nth-child(3) { background: #34d399; }
pre.code-block { margin: 0; overflow-x: auto; padding: 22px; color: #86efac; font-size: .78rem; line-height: 1.65; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.endpoint-list { overflow: hidden; border: 1px solid var(--color-border); border-radius: 16px; }
.endpoint-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--color-border); }
.endpoint-row:last-child { border-bottom: 0; }
.method { min-width: 46px; border-radius: 5px; padding: 2px 7px; text-align: center; font-size: .67rem; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.method.get { color: #67e8f9; background: rgba(8,145,178,.18); }
.method.post { color: #86efac; background: rgba(22,163,74,.18); }

@media (min-width: 901px) {
  #how { min-height: 574px; padding-block: 98px; }
  #card-types-section { min-height: 567px; padding-block: 94px; }
  #explore { min-height: 888px; padding-block: 104px; }
  #value { min-height: 378px; }
  #merchants { min-height: 910px; }
  #pricing { min-height: 774px; }
  #industries { min-height: 598px; padding-block: 100px; }
  #developers { min-height: 670px; }
  #faq { min-height: 872px; padding-block: 64px; }
  #signup { min-height: 480px; }
  .snapshot-section {
    display: flex;
    align-items: center;
  }
  .snapshot-section > .container { width: min(100% - 32px, var(--container)); }
  .site-footer { min-height: 374px; }
  .site-footer .py-5 { padding-block: 1.2rem; }
  .site-footer .py-3 { padding-block: .3rem; }
}

@media (max-width: 900px) {
  .top-strip { height: auto; min-height: 38px; padding: 8px 0; }
  .top-strip-inner { display: grid !important; grid-template-columns: 1fr; text-align: center; gap: 8px; justify-content: center; }
  .top-strip-center { text-align: center; white-space: normal !important; line-height: 1.4; }
  .top-strip-right { display: flex !important; justify-content: center; align-items: center; justify-self: center; font-size: .78rem; white-space: normal !important; gap: 16px; }
  .navbar-toggler-cardify { display: inline-flex; align-items: center; justify-content: center; }
  .navbar-menu-cardify {
    display: none;
    width: 100%;
    padding: 0 0 16px;
  }
  .navbar-menu-cardify.open { display: block; }
  .navbar-inner { flex-wrap: wrap; }
  .navbar-nav-cardify, .navbar-actions-cardify { flex-direction: column; align-items: stretch; margin-top: 12px; }
  .nav-link-cardify, .navbar-actions-cardify .btn-cardify { width: 100%; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 34px; }
  .hero .badge-amber, .hero .d-flex { margin-inline: auto; justify-content: center; }
  .hero { padding-top: 64px; }
  .reward-card-stage { min-height: 330px; transform: none; }
  .reward-card { width: min(100%, 390px); transform: rotate(-3deg); }
  .reward-card-shadow { width: 340px; transform: translateX(-42%) rotate(6deg) skewX(10deg); }
  .mini-grid, .category-grid, .value-grid, .timeline-grid, .pricing-grid, .industry-grid, .api-grid, .program-grid, .dev-shell { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .mega-menu { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; display: none; margin-top: 12px; }
  .nav-category.force-open .mega-menu { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   AUTH PAGES - Login / Register
   ========================================== */
.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-bg);
}
.auth-form-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  position: relative;
}
.auth-back-link {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: .84rem;
  text-decoration: none;
  transition: color .2s;
}
.auth-back-link:hover { color: var(--color-text); }
.auth-back-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-shell {
  width: min(100%, 420px);
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
}
.auth-logo .navbar-brand-text { font-size: 1.25rem; }
.auth-type-toggle {
  margin-bottom: 20px;
}
.auth-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 28px;
}
.auth-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.auth-subtitle {
  color: var(--color-muted);
  font-size: .875rem;
  margin-bottom: 20px;
}
.auth-tos {
  color: var(--color-muted);
  font-size: .72rem;
  text-align: center;
  margin-top: 16px;
}
.form-label-dark {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-text-dim);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.input-with-button {
  position: relative;
  display: flex;
}
.input-with-button .form-control-dark {
  padding-right: 48px;
}
.input-action {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 4px;
  transition: color .2s;
}
.input-action:hover { color: var(--color-amber); }
.divider-dark {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}
.auth-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.auth-google-btn:hover {
  border-color: var(--color-amber-border);
  background: rgba(245, 158, 11, .04);
}
.auth-link {
  color: var(--color-amber);
  text-decoration: none;
  font-weight: 600;
}
.auth-link:hover { text-decoration: underline; }
.auth-forgot {
  background: transparent;
  border: 0;
  color: var(--color-amber);
  font-size: .78rem;
  cursor: pointer;
  padding: 0;
}
.auth-forgot:hover { text-decoration: underline; }
.mb-auth { margin-bottom: 14px; }

/* Auth Right Panel */
.auth-panel-side {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.auth-panel-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(245, 158, 11, .18) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(245, 158, 11, .08) 0%, transparent 55%);
  pointer-events: none;
}
.auth-panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, transparent 0 68px, rgba(255,255,255,.03) 69px 70px),
    repeating-linear-gradient(to bottom, transparent 0 35px, rgba(255,255,255,.025) 36px 37px);
  pointer-events: none;
}
.auth-panel-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
}
.auth-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, .1);
  border: 1px solid var(--color-amber-border);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .78rem;
  color: var(--color-amber);
  margin-bottom: 24px;
  font-weight: 600;
}
.auth-panel-heading {
  font-size: 2rem;
  font-weight: 750;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 12px;
}
.auth-panel-sub {
  color: var(--color-muted);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.auth-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-dim);
  font-size: .875rem;
}
.auth-feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(245, 158, 11, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  font-size: .75rem;
  flex-shrink: 0;
}
.auth-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.auth-stat { text-align: center; }
.auth-stat strong { display: block; font-size: 1.25rem; color: var(--color-amber); font-weight: 750; }
.auth-stat span { font-size: .72rem; color: var(--color-muted); }

/* Alert / flash for auth */
.auth-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .84rem;
  margin-bottom: 16px;
}
.auth-alert-success { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .25); color: #34d399; }
.auth-alert-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .25); color: #f87171; }

/* Auth page responsive */
@media (max-width: 900px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-panel-side { display: none; }
  .auth-form-side { padding: 80px 20px 40px; }
}

/* Width helper to ensure responsive buttons fit in container */
.w-full {
  width: 100% !important;
  box-sizing: border-box !important;
}

