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

/* ═══════════════════════════════════════════════════════════
   PAYZONKE — Official Design System
   Forest Green · Gold · Clean Light Theme
   ═══════════════════════════════════════════════════════════ */

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

/* ── VARIABLES ── */
:root {
  --pz-ink:        #173d34;
  --pz-ink-deep:   #071916;
  --pz-teal:       #2f7d69;
  --pz-gold:       #d7ef63;
  --pz-coral:      #f28f5b;
  --pz-blue:       #2f6f9f;
  --pz-sky:        #d9f2ff;
  --pz-soft:       #edf7f2;
  --pz-mist:       #f7fbf8;
  --pz-card:       rgba(255,255,255,.92);
  --pz-line:       rgba(23,61,52,.12);
  --pz-shadow:     0 24px 70px rgba(23,61,52,.11);
  --pz-shadow-strong: 0 34px 90px rgba(7,25,22,.22);
  /* compat aliases */
  --pz-green:       #2f7d69;
  --pz-green-dark:  #173d34;
  --pz-green-light: #edf7f2;
  --pz-amber:       #d97706;
  --pz-amber-light: #fef3c7;
  --pz-red:         #dc2626;
  --pz-red-light:   #fef2f2;
  --pz-purple:      #7c3aed;
  --pz-purple-light:#ede9fe;
  --bg:    #ffffff;
  --bg2:   #f7fbf8;
  --txt:   #173d34;
  --txt2:  rgba(23,61,52,.62);
  --border: rgba(23,61,52,.12);
  --rad:   8px;
  --radmd: 8px;
  --radsm: 6px;
  --font-head: Inter, ui-sans-serif, system-ui, Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, Arial, sans-serif;
  --shadow:    0 24px 70px rgba(23,61,52,.11);
  --shadow-sm: 0 12px 32px rgba(23,61,52,.08);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(215,239,99,.16), transparent 32rem),
    linear-gradient(180deg, #fbfdfb 0%, #f4faf6 42%, #ffffff 100%);
  background-attachment: fixed;
  color: var(--pz-ink);
  font-family: Inter, ui-sans-serif, system-ui, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hide { display: none !important; }
.green { color: var(--pz-teal); }
.accent {
  background: linear-gradient(135deg, #ecff83, var(--pz-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(47,125,105,.3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(47,125,105,.5); }

/* ── SELECTION ── */
::selection { background: rgba(215,239,99,.4); color: var(--pz-ink); }

/* ── FOCUS ── */
:focus-visible { outline: 2px solid rgba(47,125,105,.6); outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--pz-line);
  border-radius: 8px;
  background: white;
  color: var(--pz-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(23,61,52,.16);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--pz-ink), #246253);
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(47,125,105,.18);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1f5749, #2d7060);
  box-shadow: 0 18px 40px rgba(47,125,105,.25);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(220,38,38,.2);
}
.btn-danger:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 14px 28px rgba(220,38,38,.3);
}

.btn-amber {
  background: var(--pz-gold);
  color: var(--pz-ink);
  border-color: transparent;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(215,239,99,.3);
}
.btn-amber:hover {
  background: #e4f570;
  box-shadow: 0 14px 28px rgba(215,239,99,.4);
  color: var(--pz-ink);
}

.btn-sm  { padding: 8px 14px;  font-size: 12px; min-height: 36px; }
.btn-xs  { padding: 5px 10px;  font-size: 11px; min-height: 30px; }

/* ═══════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(47,125,105,.24);
  background: rgba(255,255,255,.72);
  color: #246253;
}
.badge-green  { background: rgba(47,125,105,.1);  color: #246253;  border-color: rgba(47,125,105,.24); }
.badge-red    { background: #fef2f2;               color: #dc2626;  border-color: #fecaca; }
.badge-amber  { background: #fef3c7;               color: #92400e;  border-color: #fde68a; }
.badge-blue   { background: rgba(47,111,159,.1);   color: #2f6f9f;  border-color: rgba(47,111,159,.24); }
.badge-purple { background: #ede9fe;               color: #7c3aed;  border-color: #ddd6fe; }
.badge-gray   { background: var(--pz-mist);        color: var(--txt2); border-color: var(--pz-line); }

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */

.card {
  border: 1px solid var(--pz-line);
  border-radius: 8px;
  background: var(--pz-card);
  padding: 24px;
  box-shadow: var(--pz-shadow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pz-gold), var(--pz-teal), var(--pz-blue));
}

.metric-card {
  border: 1px solid var(--pz-line);
  border-radius: 8px;
  background: var(--pz-card);
  padding: 20px;
  box-shadow: var(--pz-shadow);
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pz-shadow-strong);
}
.metric-card .label {
  font-size: 11px;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
  font-weight: 900;
}
.metric-card .value {
  font-size: 28px;
  font-weight: 950;
  color: var(--pz-ink);
  line-height: 1.1;
}
.metric-card .sub {
  font-size: 12px;
  color: var(--txt2);
  margin-top: 4px;
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════ */

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(23,61,52,.18);
  border-radius: 8px;
  background: white;
  padding: 12px 14px;
  color: var(--pz-ink);
  font: inherit;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(23,61,52,.04);
  transition: border-color .18s ease, box-shadow .18s ease;
  outline: none;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(47,125,105,.62);
  box-shadow: 0 0 0 4px rgba(47,125,105,.12);
}
input::placeholder, textarea::placeholder { color: rgba(23,61,52,.4); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23173d34' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
textarea { resize: vertical; min-height: 100px; }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: rgba(23,61,52,.8);
  margin-bottom: 6px;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr;       gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr;   gap: 14px; }

/* ═══════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════ */

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 900;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--pz-line);
  background: var(--pz-mist);
}
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(23,61,52,.06);
  color: var(--pz-ink);
  transition: background .15s;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--pz-soft); }

/* ═══════════════════════════════════════════════════════════
   LAYOUT GRIDS
   ═══════════════════════════════════════════════════════════ */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr;          gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr);    gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr);    gap: 1rem; }

/* ═══════════════════════════════════════════════════════════
   MISC COMPONENTS
   ═══════════════════════════════════════════════════════════ */

.section-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--pz-ink);
  margin-bottom: 1rem;
}

.progress-bar {
  height: 8px;
  background: rgba(23,61,52,.08);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pz-gold), var(--pz-teal));
  border-radius: 4px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

.divider { height: 1px; background: var(--pz-line); margin: 1.25rem 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid var(--pz-line);
  color: var(--txt2);
  background: var(--pz-mist);
  font-weight: 900;
}

.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--txt2); }
.empty-state .empty-icon { font-size: 36px; margin-bottom: 10px; opacity: .4; display: block; }
.empty-state p { font-size: 13px; opacity: .7; }

.tabs {
  display: flex;
  border-bottom: 1px solid var(--pz-line);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 10px 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  color: var(--txt2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .18s;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.tab:hover { color: var(--pz-ink); background: rgba(215,239,99,.12); }
.tab.active { color: var(--pz-teal); border-bottom-color: var(--pz-teal); }

/* ═══════════════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════════════ */

.toast {
  position: fixed;
  bottom: 24px;
  right: 20px;
  background: var(--pz-ink);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  z-index: 9999;
  box-shadow: var(--pz-shadow-strong);
  max-width: 320px;
  border: 1px solid rgba(255,255,255,.12);
}
.toast.success { background: linear-gradient(135deg, #2f7d69, #173d34); }
.toast.error   { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.toast.warning { background: linear-gradient(135deg, #d97706, #b45309); }

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

.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(7,25,22,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal {
  background: rgba(255,255,255,.98);
  border: 1px solid var(--pz-line);
  border-radius: 8px;
  padding: 28px;
  width: 520px;
  max-width: 95vw;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--pz-shadow-strong);
  position: relative;
  overflow: hidden;
}
.modal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pz-gold), var(--pz-teal), var(--pz-blue));
}
.modal h2 {
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 1.25rem;
  color: var(--pz-ink);
}

/* ═══════════════════════════════════════════════════════════
   LOGO
   ═══════════════════════════════════════════════════════════ */

.logo {
  font-family: inherit;
  font-size: 22px;
  font-weight: 950;
  color: var(--pz-ink);
  display: flex;
  align-items: center;
  text-decoration: none;
  letter-spacing: -.02em;
}
.logo span { color: var(--pz-teal); }

/* ═══════════════════════════════════════════════════════════
   APP SHELL — Sidebar + Main
   ═══════════════════════════════════════════════════════════ */

.app-shell { display: flex; height: 100vh; overflow: hidden; }

/* Sidebar */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--pz-ink-deep) 0%, #153b33 58%, #214f45 100%);
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 500;
  transition: left .3s cubic-bezier(.4,0,.2,1);
}
.sidebar-logo {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.sidebar-logo .logo { color: white; font-size: 20px; }
.sidebar-logo .logo span { color: var(--pz-gold); }
.sidebar-role {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 800;
}
.sidebar-nav { flex: 1; overflow-y: auto; padding: .75rem 0; scrollbar-width: none; }
.sidebar-nav::-webkit-scrollbar { display: none; }
.nav-section {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 10px 1.25rem 4px;
  margin-top: 6px;
  font-weight: 800;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 1.25rem;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  transition: all .15s ease;
  border-left: 3px solid transparent;
  min-height: 44px;
  font-weight: 800;
  -webkit-tap-highlight-color: transparent;
}
.nav-item:hover {
  background: rgba(215,239,99,.1);
  color: rgba(255,255,255,.95);
  border-left-color: rgba(215,239,99,.4);
}
.nav-item.active {
  background: rgba(215,239,99,.15);
  color: white;
  border-left-color: var(--pz-gold);
  font-weight: 950;
}
.nav-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-footer {
  padding: .875rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.sidebar-user-name {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  font-weight: 800;
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,25,22,.6);
  z-index: 499;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.sidebar-overlay.visible { display: block; }

/* Main content */
.main-content {
  flex: 1;
  overflow-y: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Page header */
.page-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--pz-line);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 60px;
  box-shadow: 0 14px 34px rgba(23,61,52,.05);
}
.page-header h1 { font-size: 18px; font-weight: 950; color: var(--pz-ink); }
.page-body { padding: 1.5rem; max-width: 1100px; width: 100%; }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--pz-soft);
  border: 1px solid var(--pz-line);
  border-radius: 8px;
  cursor: pointer;
  color: var(--pz-ink);
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all .18s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-btn:hover { background: var(--pz-soft); box-shadow: var(--pz-shadow-sm); }

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════════ */

#page-landing {
  background:
    radial-gradient(circle at top left, rgba(215,239,99,.16), transparent 32rem),
    linear-gradient(180deg, #fbfdfb 0%, #f4faf6 42%, #ffffff 100%);
  min-height: 100vh;
}

.landing-nav {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--pz-line);
  padding: .875rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 14px 34px rgba(23,61,52,.05);
}
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--pz-ink-deep);
  padding: clamp(72px,9vh,104px) 2rem clamp(64px,8vh,92px);
  display: flex;
  align-items: center;
  min-height: 500px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 18%, rgba(215,239,99,.23), transparent 22rem),
    linear-gradient(90deg, rgba(7,25,22,.97) 0%, rgba(7,25,22,.88) 35%, rgba(7,25,22,.5) 64%, rgba(7,25,22,.12) 100%),
    linear-gradient(180deg, rgba(7,25,22,.16) 0%, rgba(7,25,22,.88) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(36px,5.6vw,60px);
  font-weight: 950;
  line-height: 1.05;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 20px 60px rgba(0,0,0,.48);
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-weight: 600;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  border: 1px solid var(--pz-line);
  border-radius: 8px;
  background: var(--pz-card);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--pz-shadow);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pz-gold), var(--pz-teal), var(--pz-blue));
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--pz-shadow-strong); }
.feature-icon  { font-size: 32px; margin-bottom: 10px; display: block; }
.feature-title { font-weight: 950; color: var(--pz-ink); margin-bottom: 6px; font-size: 14px; }
.feature-desc  { font-size: 12px; color: var(--txt2); line-height: 1.5; }

.demo-hint {
  text-align: center;
  padding: 1rem 2rem 2.5rem;
  color: var(--txt2);
  font-size: 12px;
  font-weight: 800;
}
.demo-hint code {
  background: var(--pz-soft);
  border: 1px solid var(--pz-line);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11px;
  color: #246253;
}

/* ═══════════════════════════════════════════════════════════
   GUEST BILL
   ═══════════════════════════════════════════════════════════ */

.guest-bill-wrap {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(215,239,99,.16), transparent 32rem),
    linear-gradient(180deg, #fbfdfb 0%, #f4faf6 100%);
  padding: 1rem;
}
.guest-bill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.25rem;
  background: rgba(255,255,255,.92);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--pz-line);
  box-shadow: var(--pz-shadow);
}

/* ═══════════════════════════════════════════════════════════
   AUTH PAGE
   ═══════════════════════════════════════════════════════════ */

#page-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(215,239,99,.22), transparent 22rem),
    radial-gradient(circle at 88% 10%, rgba(47,111,159,.18), transparent 24rem),
    linear-gradient(180deg, #ffffff, #f4faf6);
  padding: 2rem;
}
.auth-wrap { width: 100%; display: flex; justify-content: center; }
.auth-card {
  width: 460px;
  max-width: 100%;
  background: rgba(255,255,255,.96);
  box-shadow: var(--pz-shadow-strong);
  border: 1px solid var(--pz-line);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pz-gold), var(--pz-teal), var(--pz-blue));
}

/* ═══════════════════════════════════════════════════════════
   OFFER CARDS
   ═══════════════════════════════════════════════════════════ */

.offer-card {
  border: 2px solid var(--pz-line);
  border-radius: 8px;
  background: var(--pz-card);
  padding: 1.25rem;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--pz-shadow);
}
.offer-card:hover {
  border-color: var(--pz-teal);
  box-shadow: var(--pz-shadow-strong);
  transform: translateY(-2px);
}
.offer-card.selected {
  border-color: var(--pz-teal);
  background: rgba(47,125,105,.06);
  box-shadow: var(--pz-shadow-strong);
}
.offer-card.accepted {
  border-color: var(--pz-teal);
  background: rgba(47,125,105,.04);
  opacity: .7;
  pointer-events: none;
}
.offer-card.expired {
  opacity: .4;
  pointer-events: none;
  filter: grayscale(.5);
}

.compare-table td { padding: 10px 14px; border-bottom: 1px solid var(--pz-line); font-size: 13px; }
.compare-table th { background: var(--pz-mist); padding: 10px 14px; font-size: 12px; font-weight: 900; color: var(--txt2); }

/* ═══════════════════════════════════════════════════════════
   KYC UPLOAD ZONE
   ═══════════════════════════════════════════════════════════ */

.upload-zone {
  border: 2px dashed rgba(23,61,52,.2);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all .2s ease;
  background: var(--pz-mist);
  color: var(--txt2);
}
.upload-zone:hover { border-color: var(--pz-teal); background: var(--pz-soft); }
.upload-zone.uploaded {
  border-color: var(--pz-teal);
  background: rgba(47,125,105,.06);
  border-style: solid;
  color: var(--pz-teal);
}

/* ═══════════════════════════════════════════════════════════
   CHECKOUT
   ═══════════════════════════════════════════════════════════ */

.checkout-step { display: none; }
.checkout-step.active { display: block; }

.payment-method-btn {
  background: var(--pz-mist);
  border: 2px solid var(--pz-line);
  border-radius: 8px;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .2s ease;
  color: var(--pz-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  width: 100%;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
}
.payment-method-btn:hover { border-color: var(--pz-teal); background: var(--pz-soft); }
.payment-method-btn.selected {
  border-color: var(--pz-teal);
  background: rgba(47,125,105,.08);
  color: var(--pz-teal);
}

/* ═══════════════════════════════════════════════════════════
   LEDGER
   ═══════════════════════════════════════════════════════════ */

.ledger-row-debit  td:last-child { color: #dc2626; font-weight: 700; }
.ledger-row-credit td:last-child { color: #2f7d69; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ═══════════════════════════════════════════════════════════ */

#mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--pz-line);
  z-index: 400;
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -14px 34px rgba(23,61,52,.08);
}
#mobile-bottom-nav .mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  cursor: pointer;
  color: rgba(23,61,52,.5);
  font-size: 10px;
  font-family: inherit;
  font-weight: 900;
  border-radius: 8px;
  transition: all .2s;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
#mobile-bottom-nav .mob-nav-item.active { color: var(--pz-teal); }
#mobile-bottom-nav .mob-nav-item .mob-icon { font-size: 20px; line-height: 1; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet ≤768px
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 30px; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .landing-nav { padding: .75rem 1.25rem; }
  .sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    height: 100vh;
    z-index: 500;
    width: 260px;
    box-shadow: none;
  }
  .sidebar.open { left: 0; box-shadow: 4px 0 30px rgba(7,25,22,.3); }
  .mobile-menu-btn { display: flex; }
  .page-body { padding: 1rem; }
  .page-header { padding: .875rem 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile ≤480px
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .hero-sub { font-size: 14px; }
  .landing-nav { padding: .75rem 1rem; }
  .page-header { padding: .75rem 1rem; min-height: 56px; }
  .page-body { padding: .75rem; }
  .modal { padding: 1.25rem; }
  table { font-size: 12px; }
  th, td { padding: 8px 10px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  input, select, textarea { min-height: 48px; font-size: 16px; }
  .app-shell { height: 100dvh; }
  #mobile-bottom-nav { display: flex; }
  .main-content { padding-bottom: 70px; }
  .card { padding: 18px; }
  .metric-card .value { font-size: 22px; }
  .features-grid { padding: 1.5rem 1rem; gap: .875rem; }
  .toast { bottom: 80px; right: 12px; left: 12px; max-width: none; }
  .nav-item { min-height: 48px; }
  .tab { min-height: 48px; }
}

@media (max-width: 420px) {
  .hero-btns .btn { width: 100%; }
}
