:root {
  --bg: #16002f;
  --bg-deep: #0e001f;
  --violet: #250052;
  --rich-purple: #400080;
  --electric: #9400ff;
  --pink: #ff168b;
  --magenta: #d600ff;
  --orange: #ff8a00;
  --emerald: #10b981;
  --stamp-red: #ff3b5c;
  --text-primary: #ffffff;
  --text-secondary: #d9cbea;
  --text-muted: #a99abf;
  --card-bg: rgba(37, 0, 82, 0.52);
  --card-border: rgba(214, 0, 255, 0.22);
  --gradient: linear-gradient(135deg, #ff168b 0%, #d600ff 50%, #ff8a00 100%);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  line-height: 1.18;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ambient Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.orb-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 22, 139, 0.18), transparent 70%);
}

.orb-2 {
  width: 520px;
  height: 520px;
  top: 30%;
  right: -180px;
  background: radial-gradient(circle, rgba(148, 0, 255, 0.22), transparent 70%);
}

.orb-3 {
  width: 420px;
  height: 420px;
  bottom: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.12), transparent 70%);
}

/* Glass Card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.full-width {
  width: 100%;
}

.btn-primary {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(255, 22, 139, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 22, 139, 0.55), 0 0 24px rgba(214, 0, 255, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(217, 203, 234, 0.28);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--pink);
  background: rgba(255, 22, 139, 0.1);
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-stamp {
  background: linear-gradient(135deg, #ff168b 0%, #ff3b5c 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  box-shadow: 0 6px 22px rgba(255, 59, 92, 0.4);
}

.btn-stamp:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 59, 92, 0.55);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(22, 0, 47, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(214, 0, 255, 0.16);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-ring {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient);
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(255, 22, 139, 0.4);
}

.brand-icon-core {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--pink);
}

.brand-icon-core svg {
  width: 20px;
  height: 20px;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.offershub-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.16);
  border: 1px solid rgba(255, 138, 0, 0.45);
  color: #ffb866;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(37, 0, 82, 0.65);
  border: 1px solid rgba(214, 0, 255, 0.18);
  padding: 5px 8px;
  border-radius: 999px;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  background: var(--violet);
  color: #fff;
  border: 1px solid rgba(214, 0, 255, 0.35);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.mobile-drawer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 22px;
  border-top: 1px solid rgba(214, 0, 255, 0.2);
  background: rgba(14, 0, 31, 0.98);
}

.mobile-drawer a {
  padding: 8px 0;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(37, 0, 82, 0.8);
  border: 1px solid rgba(255, 22, 139, 0.35);
  color: var(--text-secondary);
  font-size: 0.84rem;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.hero-title {
  font-size: clamp(2.2rem, 4.3vw, 3.45rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.metric-pill {
  background: rgba(37, 0, 82, 0.6);
  border: 1px solid rgba(214, 0, 255, 0.22);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-frame {
  width: 100%;
  max-width: 345px;
  background: linear-gradient(160deg, #2b005e 0%, #130028 100%);
  border: 2px solid rgba(214, 0, 255, 0.35);
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 40px rgba(148, 0, 255, 0.25);
  position: relative;
}

.phone-notch {
  width: 110px;
  height: 18px;
  background: #0d001b;
  border-radius: 0 0 14px 14px;
  margin: -12px auto 10px;
}

.phone-screen {
  background: #16002f;
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
}

.phone-brand span {
  color: var(--pink);
  font-weight: 600;
}

.phone-status {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.phone-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(37, 0, 82, 0.75);
  border: 1px solid rgba(214, 0, 255, 0.2);
}

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.p-user-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.p-user-area {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mini-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(37, 0, 82, 0.55);
  border: 1px dashed rgba(214, 0, 255, 0.35);
  position: relative;
}

.mini-coupon.is-used {
  opacity: 0.82;
  background: rgba(255, 59, 92, 0.08);
  border-color: rgba(255, 59, 92, 0.35);
}

.mini-cat {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffb866;
  font-weight: 700;
}

.mini-shop {
  font-size: 0.82rem;
  font-weight: 700;
}

.mini-offer {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ff6cb5;
}

.mini-stamp {
  border: 2.5px solid var(--stamp-red);
  color: var(--stamp-red);
  border-radius: 8px;
  padding: 3px 9px;
  transform: rotate(-12deg);
  text-align: center;
  line-height: 1.05;
  box-shadow: 0 0 12px rgba(255, 59, 92, 0.25);
  background: rgba(22, 0, 47, 0.8);
}

.mini-stamp span {
  display: block;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.mini-stamp small {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.mini-redeem-btn {
  background: var(--gradient);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.phone-wa-toast {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 7px 10px;
  border-radius: 999px;
}

.wa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 390px;
}

.floating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(22, 0, 47, 0.92);
  border: 1px solid rgba(255, 22, 139, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  flex: 1 1 165px;
}

.floating-badge strong {
  display: block;
  font-size: 0.8rem;
}

.floating-badge small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.fb-icon {
  font-size: 1.3rem;
}

/* Generic Section Layout */
.section {
  position: relative;
  z-index: 1;
  padding: 64px 0;
}

.section-compact {
  padding: 52px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* 4-Step Flow */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  padding: 26px 22px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 22, 139, 0.45);
}

.step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: rgba(217, 203, 234, 0.16);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 22, 139, 0.14);
  border: 1px solid rgba(255, 22, 139, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Interactive App Shell */
.app-shell {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 22, 139, 0.28);
}

.app-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(14, 0, 31, 0.72);
  border-bottom: 1px solid rgba(214, 0, 255, 0.18);
}

.app-step-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 0, 255, 0.22);
  background: rgba(37, 0, 82, 0.55);
  color: var(--text-secondary);
  font-size: 0.81rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-tab:hover {
  border-color: var(--pink);
  color: #fff;
}

.step-tab.active {
  background: var(--gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 22, 139, 0.35);
}

.tab-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
  font-size: 0.74rem;
}

.app-utility-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.util-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 0, 0.4);
  background: rgba(255, 138, 0, 0.12);
  color: #ffc278;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.util-btn:hover {
  background: rgba(255, 138, 0, 0.22);
}

.util-reset {
  border-color: rgba(217, 203, 234, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.app-view {
  padding: 30px 26px;
}

/* View 1: WhatsApp Stage */
.wa-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.wa-chat-card {
  background: #0d1418;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.wa-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #1f2c34;
}

.wa-shop-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.wa-shop-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.verified-tick {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #25d366;
  color: #0b141a;
  font-size: 0.65rem;
  font-weight: 900;
  margin-left: 4px;
}

.wa-shop-sub {
  font-size: 0.75rem;
  color: #9bb0bc;
}

.wa-chat-body {
  padding: 20px;
  background: radial-gradient(circle at top right, rgba(37, 211, 102, 0.08), transparent 60%), #0b141a;
}

.wa-bubble {
  background: #1f2c34;
  border-radius: 14px;
  border-top-left-radius: 2px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: #e9edef;
}

.wa-link-preview {
  background: rgba(22, 0, 47, 0.85);
  border: 1px solid rgba(255, 22, 139, 0.35);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-link-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wa-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.06em;
}

.wa-link-banner small {
  color: var(--text-muted);
}

.wa-time {
  align-self: flex-end;
  font-size: 0.7rem;
  color: #53bdeb;
}

.wa-side-info h3 {
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.wa-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.wa-hi-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(37, 0, 82, 0.55);
  border: 1px solid rgba(214, 0, 255, 0.22);
}

.wa-hi-chip span {
  font-size: 1.4rem;
}

.wa-hi-chip strong {
  display: block;
  font-size: 0.9rem;
}

.wa-hi-chip small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #34d399;
  font-weight: 900;
}

/* Auth Stage (Enrolment) */
.auth-stage {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 640px;
  background: rgba(22, 0, 47, 0.72);
  border: 1px solid rgba(214, 0, 255, 0.25);
  border-radius: 20px;
  padding: 28px;
}

.returning-login-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(214, 0, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffb866;
  background: rgba(255, 138, 0, 0.14);
  border: 1px solid rgba(255, 138, 0, 0.35);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.auth-card h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.auth-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.field input,
.field select {
  width: 100%;
  background: rgba(37, 0, 82, 0.7);
  border: 1px solid rgba(214, 0, 255, 0.28);
  color: #ffffff;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder {
  color: rgba(169, 154, 191, 0.6);
}

.field input:focus,
.field select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 22, 139, 0.2);
}

.field select option {
  background: #1d0042;
  color: #ffffff;
}

.phone-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-code {
  padding: 11px 12px;
  background: rgba(37, 0, 82, 0.9);
  border: 1px solid rgba(214, 0, 255, 0.28);
  border-radius: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-error {
  background: rgba(255, 59, 92, 0.14);
  border: 1px solid rgba(255, 59, 92, 0.4);
  color: #ff9eb0;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.auth-footer-switch {
  margin-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.text-link {
  background: none;
  border: none;
  color: #ff6cb5;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 4px;
}

/* Dashboard View */
.dash-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(22, 0, 47, 0.72);
  border: 1px solid rgba(214, 0, 255, 0.22);
}

.dash-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.dash-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}

.pass-id-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(148, 0, 255, 0.25);
  border: 1px solid rgba(214, 0, 255, 0.4);
  color: #e9b8ff;
}

.dash-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.dash-stats {
  display: flex;
  gap: 10px;
}

.dash-stat-box {
  background: rgba(37, 0, 82, 0.65);
  border: 1px solid rgba(214, 0, 255, 0.2);
  border-radius: 12px;
  padding: 8px 16px;
  text-align: center;
  min-width: 92px;
}

.dash-stat-box.active-stat {
  border-color: rgba(16, 185, 129, 0.35);
}

.dash-stat-box.used-stat {
  border-color: rgba(255, 59, 92, 0.4);
}

.stat-n {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}

.stat-l {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.dash-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-box {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 0, 47, 0.75);
  border: 1px solid rgba(214, 0, 255, 0.25);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--text-muted);
}

.search-box input {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 100%;
  outline: none;
  font-size: 0.9rem;
}

.status-filter-pills {
  display: flex;
  gap: 8px;
}

.status-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 0, 255, 0.25);
  background: rgba(22, 0, 47, 0.7);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.status-pill.active {
  background: rgba(255, 22, 139, 0.2);
  border-color: var(--pink);
  color: #ffffff;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(37, 0, 82, 0.55);
  border: 1px solid rgba(214, 0, 255, 0.2);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill:hover {
  border-color: var(--pink);
  color: #fff;
}

.cat-pill.active {
  background: var(--gradient);
  border-color: transparent;
  color: #ffffff;
}

/* Coupon Cards Grid */
.coupons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.coupon-card {
  position: relative;
  background: linear-gradient(155deg, rgba(46, 0, 99, 0.78) 0%, rgba(22, 0, 47, 0.92) 100%);
  border: 1px solid rgba(214, 0, 255, 0.26);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.coupon-card:hover:not(.is-used) {
  transform: translateY(-3px);
  border-color: rgba(255, 22, 139, 0.55);
  box-shadow: 0 12px 30px rgba(255, 22, 139, 0.18);
}

.coupon-card.is-used {
  background: linear-gradient(155deg, rgba(35, 10, 56, 0.6) 0%, rgba(18, 0, 36, 0.85) 100%);
  border-color: rgba(255, 59, 92, 0.35);
}

.coupon-card.is-used .coupon-content {
  opacity: 0.62;
  filter: grayscale(0.25);
}

.coupon-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.coupon-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.15);
  border: 1px solid rgba(255, 138, 0, 0.35);
  color: #ffbe70;
}

.coupon-valid {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.coupon-shop {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 8px;
}

.coupon-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.coupon-offer-banner {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(22, 0, 47, 0.65);
  border: 1px dashed rgba(255, 22, 139, 0.45);
}

.coupon-headline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.32rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coupon-terms {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.coupon-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(217, 203, 234, 0.15);
}

.coupon-code-chip {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 9px;
  border-radius: 7px;
}

/* Card USED Stamp Overlay */
.card-used-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
  border: 4px solid var(--stamp-red);
  border-radius: 12px;
  padding: 6px 18px;
  color: var(--stamp-red);
  background: rgba(22, 0, 47, 0.84);
  box-shadow: 0 0 24px rgba(255, 59, 92, 0.35), inset 0 0 12px rgba(255, 59, 92, 0.2);
  text-align: center;
  pointer-events: none;
  z-index: 5;
  animation: stampSlam 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card-used-stamp strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
}

.card-used-stamp span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

@keyframes stampSlam {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-24deg) scale(2.2);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-14deg) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-16deg) scale(1);
  }
}

.empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Showcase Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cat-showcase-card {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cat-showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
}

.cat-emoji-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 22, 139, 0.14);
  border: 1px solid rgba(255, 22, 139, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cat-showcase-card h3 {
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.cat-offer-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 22, 139, 0.16);
  border: 1px solid rgba(255, 22, 139, 0.42);
  color: #ff8dc4;
}

/* For Businesses Split */
.biz-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.biz-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.biz-intro {
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.biz-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: rgba(37, 0, 82, 0.42);
  border: 1px solid rgba(214, 0, 255, 0.16);
}

.b-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 138, 0, 0.14);
  border: 1px solid rgba(255, 138, 0, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.biz-right {
  padding: 28px;
}

.form-header {
  margin-bottom: 20px;
}

.form-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff6cb5;
  margin-bottom: 8px;
}

.form-header h3 {
  font-size: 1.38rem;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner-success {
  text-align: center;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid #34d399;
  color: #34d399;
  font-size: 1.6rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-deep);
  border-top: 1px solid rgba(214, 0, 255, 0.18);
  padding: 52px 0 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-desc {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 420px;
}

.footer-desc a {
  color: #ff6cb5;
  text-decoration: underline;
}

.footer h4 {
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Redemption Pass Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 0, 24, 0.82);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-dialog {
  width: 100%;
  max-width: 480px;
  padding: 26px;
  position: relative;
  background: linear-gradient(165deg, #270057 0%, #14002b 100%);
  border: 1px solid rgba(255, 22, 139, 0.4);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

.pass-header {
  text-align: center;
  margin-bottom: 18px;
}

.pass-cat-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffb866;
  background: rgba(255, 138, 0, 0.16);
  border: 1px solid rgba(255, 138, 0, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.pass-header h3 {
  font-size: 1.35rem;
}

.pass-address {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.pass-ticket {
  position: relative;
  background: rgba(22, 0, 47, 0.88);
  border: 1.5px dashed rgba(255, 22, 139, 0.48);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  overflow: hidden;
}

.ticket-cutout {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #200046;
  transform: translateY(-50%);
}

.ticket-cutout.left {
  left: -10px;
}

.ticket-cutout.right {
  right: -10px;
}

.pass-offer-main {
  font-family: 'Poppins', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  text-align: center;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pass-offer-sub {
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-top: 4px;
  margin-bottom: 16px;
}

.pass-qr-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(217, 203, 234, 0.18);
}

.qr-box {
  width: 82px;
  height: 82px;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  flex-shrink: 0;
}

.qr-cell {
  border-radius: 2px;
}

.qr-cell.on {
  background: #16002f;
}

.qr-cell.off {
  background: transparent;
}

.pass-code-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
}

.code-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.code-value {
  font-family: monospace;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.holder-line {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Modal Rubber Stamp */
.used-rubber-stamp {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(18, 0, 38, 0.56);
  pointer-events: none;
}

.pass-ticket.is-stamped .used-rubber-stamp {
  display: grid;
  animation: modalStampSlam 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stamp-inner {
  border: 5px solid var(--stamp-red);
  border-radius: 14px;
  padding: 10px 26px;
  transform: rotate(-14deg);
  text-align: center;
  color: var(--stamp-red);
  background: rgba(22, 0, 47, 0.9);
  box-shadow: 0 0 32px rgba(255, 59, 92, 0.45);
}

.stamp-word {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
}

.stamp-meta {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

@keyframes modalStampSlam {
  0% {
    opacity: 0;
    transform: scale(2.4) rotate(-25deg);
  }
  70% {
    opacity: 1;
    transform: scale(0.92) rotate(-12deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-14deg);
  }
}

.shopkeeper-panel {
  background: rgba(37, 0, 82, 0.65);
  border: 1px solid rgba(255, 138, 0, 0.3);
  border-radius: 14px;
  padding: 16px;
}

.sk-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.sk-pin-hint code {
  color: #ffb866;
  font-weight: 800;
}

.sk-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.sk-actions {
  display: flex;
  gap: 10px;
}

.sk-pin-input {
  width: 110px;
  background: rgba(22, 0, 47, 0.9);
  border: 1px solid rgba(214, 0, 255, 0.35);
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 10px;
}

.sk-actions .btn-stamp {
  flex: 1;
}

.redeemed-summary {
  text-align: center;
  background: rgba(255, 59, 92, 0.12);
  border: 1px solid rgba(255, 59, 92, 0.35);
  border-radius: 14px;
  padding: 14px;
}

.rs-badge {
  font-weight: 800;
  color: #ff8fa3;
  margin-bottom: 4px;
}

.redeemed-summary p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Floating Quick-Enrol Dock */
.quick-enrol-dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(16, 0, 36, 0.92);
  border: 1px solid rgba(255, 22, 139, 0.45);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 24px rgba(214, 0, 255, 0.25);
  backdrop-filter: blur(14px);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.dock-btn:active {
  transform: scale(0.97);
}

.dock-customer {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 22, 139, 0.4);
}

.dock-business {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(217, 203, 234, 0.28);
}

.dock-business:hover {
  border-color: var(--pink);
  background: rgba(255, 22, 139, 0.16);
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 22px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(22, 0, 47, 0.95);
  border: 1px solid rgba(255, 22, 139, 0.5);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 340px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .wa-stage,
  .biz-split {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coupons-grid,
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .hide-sm {
    display: none;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 1.08rem;
    gap: 6px;
  }

  .offershub-pill {
    font-size: 0.6rem;
    padding: 2px 7px;
  }

  .nav-actions [data-jump-demo],
  .nav-actions [data-enrol-customer] {
    display: none;
  }

  .dock-btn {
    padding: 8px 13px;
    font-size: 0.78rem;
  }

  .steps-grid,
  .coupons-grid,
  .categories-grid,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .phone-input-group {
    flex-wrap: wrap;
  }

  .phone-input-group input {
    flex: 1;
    min-width: 160px;
  }

  .phone-input-group .btn {
    width: 100%;
  }

  .auth-card {
    padding: 22px 18px;
  }

  .btn-lg {
    white-space: normal;
    text-align: center;
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .sk-actions {
    flex-direction: column;
  }

  .sk-pin-input {
    width: 100%;
  }

  .app-view {
    padding: 20px 16px;
  }
}
