/* ============================================================
   KYC Platform — Design System v2.0
   Premium · Refined · Modern Flow UI
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --brand:        hsl(224, 88%, 62%);
  --brand-light:  hsla(224, 88%, 62%, 0.12);
  --brand-dark:   hsl(224, 88%, 50%);
  --brand-soft:   hsla(224, 88%, 62%, 0.08);
  --brand-glow:   hsla(224, 88%, 62%, 0.25);

  /* Accents */
  --violet:       hsl(258, 88%, 66%);
  --teal:         hsl(172, 70%, 45%);
  --amber:        hsl(37, 95%, 55%);
  --rose:         hsl(348, 90%, 65%);
  --indigo:       hsl(243, 85%, 63%);
  --emerald:      hsl(158, 70%, 45%);
  --sky:          hsl(199, 95%, 52%);

  /* Neutrals (Ultra Premium Dark Theme v3.0) */
  --text-main:    hsl(220, 30%, 96%);
  --text-muted:   hsl(215, 20%, 68%);
  --text-light:   hsl(215, 15%, 48%);
  --bg-page:      hsl(222, 28%, 6%);
  --bg-card:      hsl(222, 24%, 9%);
  --bg-hover:     hsl(222, 20%, 13%);
  --border:       hsla(220, 20%, 95%, 0.07);
  --border-subtle:hsla(220, 20%, 95%, 0.035);

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.3);
  --shadow-sm:    0 2px 4px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 18px rgba(0,0,0,0.5);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.6);
  --shadow-xl:    0 24px 64px rgba(0,0,0,0.7);
  --shadow-brand: 0 4px 20px hsla(224,88%,62%,0.25);
  --shadow-brand-lg: 0 8px 32px hsla(224,88%,62%,0.35);

  /* Status */
  --success:        hsl(150, 72%, 42%);
  --success-bg:     hsla(150, 72%, 42%, 0.08);
  --success-border: hsla(150, 72%, 42%, 0.22);
  --warn:           hsl(38, 92%, 52%);
  --warn-bg:        hsla(38, 92%, 52%, 0.08);
  --warn-border:    hsla(38, 92%, 52%, 0.22);
  --danger:         hsl(0, 84%, 60%);
  --danger-bg:      hsla(0, 84%, 60%, 0.08);
  --danger-border:  hsla(0, 84%, 60%, 0.22);
  --info:           hsl(199, 90%, 48%);
  --info-bg:        hsla(199, 90%, 48%, 0.08);
  --info-border:    hsla(199, 90%, 48%, 0.22);
  --accent:         var(--success);

  /* Sophisticated dark scale */
  --gray-50:  hsl(222, 22%, 11%);
  --gray-100: hsl(222, 20%, 14%);
  --gray-200: hsl(222, 18%, 18%);
  --gray-300: hsl(222, 16%, 26%);
  --gray-400: hsl(215, 14%, 48%);
  --gray-500: hsl(215, 18%, 68%);
  --gray-600: hsl(215, 20%, 78%);
  --gray-700: hsl(215, 22%, 88%);
  --gray-800: hsl(220, 24%, 94%);
  --gray-900: hsl(220, 30%, 98%);

  /* Layout */
  --sidebar-w:  264px;
  --header-h:   64px;
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full:9999px;

  /* Transitions */
  --ease-out:   cubic-bezier(0.2, 0, 0, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 200ms var(--ease-out);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   PUBLIC HOME PAGE — Dark Premium
   ============================================================ */

.public-body {
  background: #07090f;
  color: #eef2ff;
  overflow-x: hidden;
}

/* ── Public Nav ─────────────────────────────────────────────*/
.public-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #eef2ff;
}
.brand-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: white;
  box-shadow: 0 4px 12px hsla(221,83%,53%,0.45);
}
.brand-icon--sm { width: 28px; height: 28px; font-size: 0.85rem; border-radius: 7px; }
.nav-brand strong { color: hsl(221,83%,75%); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.45rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(238,242,255,0.55);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover { color: #eef2ff; background: rgba(255,255,255,0.05); }
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
}

/* ── Hero Section ───────────────────────────────────────────*/
.hero {
  position: relative;
  padding: 9rem 2rem 7rem;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, hsla(221,83%,53%,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 40%, hsla(258,78%,62%,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 30% 20% at 20% 60%, hsla(172,66%,40%,0.07) 0%, transparent 50%);
}
/* Subtle grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-container {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(238,242,255,0.65);
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px;
  background: hsl(152,60%,50%);
  border-radius: 50%;
  box-shadow: 0 0 6px hsl(152,60%,50%);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #eef2ff;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-gradient {
  background: linear-gradient(135deg, hsl(221,83%,72%), hsl(258,78%,75%), hsl(172,66%,60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(238,242,255,0.55);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: white;
  font-size: 0.975rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-brand-lg);
  transition: all 0.3s var(--ease-spring);
  border: 1px solid hsla(221,83%,70%,0.2);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px hsla(221,83%,53%,0.5);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(238,242,255,0.75);
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease-out);
  backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #eef2ff;
  transform: translateY(-1px);
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2.5rem;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #eef2ff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(238,242,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
}

/* ── Features Section ───────────────────────────────────────*/
.features {
  padding: 8rem 2rem;
  background: #080b14;
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-badge {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: hsl(243,75%,75%);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #eef2ff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}
.section-sub {
  font-size: 1rem;
  color: rgba(238,242,255,0.45);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

/* BUG FIX: Feature cards now have proper CSS for all color variants */
.feature-card {
  position: relative;
  padding: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
  cursor: default;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.12); }
.feature-card:hover::before { opacity: 1; }

/* Color variants */
.feature-card--blue   { border-top: 2px solid hsla(221,83%,53%,0.4); }
.feature-card--blue::before   { background: radial-gradient(ellipse at 30% 0%, hsla(221,83%,53%,0.08) 0%, transparent 60%); }
.feature-card--violet { border-top: 2px solid hsla(258,78%,62%,0.4); }
.feature-card--violet::before { background: radial-gradient(ellipse at 30% 0%, hsla(258,78%,62%,0.08) 0%, transparent 60%); }
.feature-card--teal   { border-top: 2px solid hsla(172,66%,40%,0.4); }
.feature-card--teal::before   { background: radial-gradient(ellipse at 30% 0%, hsla(172,66%,40%,0.08) 0%, transparent 60%); }
.feature-card--amber  { border-top: 2px solid hsla(37,91%,50%,0.4); }
.feature-card--amber::before  { background: radial-gradient(ellipse at 30% 0%, hsla(37,91%,50%,0.08) 0%, transparent 60%); }
.feature-card--rose   { border-top: 2px solid hsla(348,86%,60%,0.4); }
.feature-card--rose::before   { background: radial-gradient(ellipse at 30% 0%, hsla(348,86%,60%,0.08) 0%, transparent 60%); }
.feature-card--indigo { border-top: 2px solid hsla(243,75%,59%,0.4); }
.feature-card--indigo::before { background: radial-gradient(ellipse at 30% 0%, hsla(243,75%,59%,0.08) 0%, transparent 60%); }

.fc-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.feature-card--blue   .fc-icon-wrap { background: hsla(221,83%,53%,0.15); color: hsl(221,83%,72%); }
.feature-card--violet .fc-icon-wrap { background: hsla(258,78%,62%,0.15); color: hsl(258,78%,78%); }
.feature-card--teal   .fc-icon-wrap { background: hsla(172,66%,40%,0.15); color: hsl(172,66%,62%); }
.feature-card--amber  .fc-icon-wrap { background: hsla(37,91%,50%,0.15);  color: hsl(37,91%,68%); }
.feature-card--rose   .fc-icon-wrap { background: hsla(348,86%,60%,0.15); color: hsl(348,86%,74%); }
.feature-card--indigo .fc-icon-wrap { background: hsla(243,75%,59%,0.15); color: hsl(243,75%,78%); }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #eef2ff;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: rgba(238,242,255,0.45);
  line-height: 1.65;
}
.fc-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  color: rgba(238,242,255,0.3);
  transition: all 0.25s;
}
.feature-card:hover .fc-arrow {
  background: rgba(255,255,255,0.1);
  color: rgba(238,242,255,0.7);
  transform: translate(2px, -2px);
}

/* ── How It Works ───────────────────────────────────────────*/
.how-it-works {
  padding: 8rem 2rem;
  background: #07090f;
}
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step-card {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(238,242,255,0.2);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.step-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  color: hsl(221,83%,72%);
  margin: 0 auto 1.25rem;
  transition: all 0.3s;
}
.step-card:hover .step-icon {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.25);
  color: hsl(243,75%,78%);
  transform: scale(1.05);
}
.step-card h4 { font-size: 0.9rem; font-weight: 700; color: #eef2ff; margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.82rem; color: rgba(238,242,255,0.4); line-height: 1.65; }
.step-connector {
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  margin-top: 42px;
  align-self: flex-start;
}

/* ── CTA ────────────────────────────────────────────────────*/
.cta-section {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, #080b14 0%, #07090f 100%);
}
.cta-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(139,92,246,0.1));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-2xl);
  padding: 4.5rem 3rem;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(ellipse, hsla(221,83%,53%,0.18), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner h2 { font-size: 2rem; font-weight: 800; color: #eef2ff; letter-spacing: -0.025em; margin-bottom: 0.75rem; position: relative; }
.cta-inner p  { font-size: 1rem; color: rgba(238,242,255,0.5); margin-bottom: 2.25rem; position: relative; }
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.5rem;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-brand-lg);
  transition: all 0.3s var(--ease-spring);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 48px hsla(221,83%,53%,0.5); }

/* ── Public Footer ──────────────────────────────────────────*/
.public-footer {
  padding: 1.75rem 2rem;
  background: #07090f;
  border-top: 1px solid rgba(255,255,255,0.055);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(238,242,255,0.5);
}
.footer-brand strong { color: hsl(221,83%,70%); }
.footer-copy { font-size: 0.75rem; color: rgba(238,242,255,0.3); }

/* ============================================================
   ADMIN PANEL — Light Mode, Refined
   ============================================================ */
.admin-body {
  background: var(--bg-page);
  min-height: 100vh;
}
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ────────────────────────────────────────────────*/
.admin-sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(180deg, #0c1220 0%, #0f1a2e 50%, #111627 100%);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
  border-right: 1px solid rgba(255,255,255,0.04);
}
/* Scrollbar for sidebar */
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.sidebar-brand {
  padding: 1.375rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: #eef2ff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.sidebar-brand span strong { color: hsl(221,83%,74%); }
.sidebar-logo {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: white;
  box-shadow: 0 4px 12px hsla(221,83%,53%,0.4);
  flex-shrink: 0;
}
.sidebar-nav {
  flex: 1;
  padding: 1rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-section-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(238,242,255,0.2);
  padding: 0.875rem 0.875rem 0.3rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.875rem;
  color: rgba(238,242,255,0.48);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.855rem;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-item .ti { font-size: 1.05rem; flex-shrink: 0; }
.nav-item:hover { color: #eef2ff; background: rgba(255,255,255,0.058); }
.nav-item.active {
  color: #eef2ff;
  background: linear-gradient(135deg, hsla(221,83%,53%,0.22), hsla(258,78%,62%,0.14));
  border: 1px solid hsla(221,83%,53%,0.18);
  font-weight: 600;
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: -1px; top: 22%; height: 56%;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--violet));
  border-radius: 0 3px 3px 0;
}
.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.055);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  flex-shrink: 0;
}
.admin-user-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  overflow: hidden;
}
.admin-user-info .avatar {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px hsla(221,83%,53%,0.35);
}
.admin-user-info .name { font-size: 0.8rem; font-weight: 600; color: #eef2ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.admin-user-info .role { font-size: 0.66rem; color: rgba(238,242,255,0.36); text-transform: capitalize; }
.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  color: rgba(238,242,255,0.35);
  background: none;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}
.btn-logout:hover { background: rgba(239,68,68,0.15); color: hsl(0,72%,65%); }

/* ── Admin Main ─────────────────────────────────────────────*/
.admin-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}
.admin-header {
  background: var(--bg-card);
  padding: 0 1.75rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.admin-header h1 { font-size: 1.05rem; font-weight: 700; color: var(--text-main); letter-spacing: -0.01em; }
.admin-content { padding: 1.75rem; flex: 1; }
.admin-footer {
  padding: 1.125rem 1.75rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-light);
}

/* ── Dashboard Stats ────────────────────────────────────────*/
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.625rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(ellipse at 80% 20%, var(--brand-soft), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(255,255,255,0.12); }
.stat-card:hover::after { opacity: 1; }
.stat-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-val { font-size: 1.9rem; font-weight: 800; margin: 0.3rem 0 0.2rem; color: var(--text-main); letter-spacing: -0.04em; line-height: 1; }
.stat-sub  { font-size: 0.7rem; color: var(--text-light); }

/* ── Cards ──────────────────────────────────────────────────*/
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}
.card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.card-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ci-blue   { background: var(--brand-light); color: var(--brand); }
.ci-gray   { background: var(--gray-100); color: var(--gray-500); }
.ci-green  { background: var(--success-bg); color: var(--success); }
.ci-amber  { background: var(--warn-bg); color: var(--warn); }
.ci-red    { background: var(--danger-bg); color: var(--danger); }

/* ── Buttons ────────────────────────────────────────────────*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.855rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-sm  { padding: 0.3rem 0.7rem; font-size: 0.785rem; }
.btn-lg  { padding: 0.7rem 1.5rem; font-size: 0.95rem; }
.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 1px 3px hsla(221,83%,53%,0.35);
}
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-brand); transform: translateY(-1px); }
.btn-outline { border-color: var(--border); background: rgba(255, 255, 255, 0.02); color: var(--text-main); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--brand); }
.btn-ghost { background: none; color: var(--text-muted); border-color: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-main); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { filter: brightness(0.9); }

/* ── Tables ─────────────────────────────────────────────────*/
.tbl-wrap { overflow-x: auto; margin: -1.5rem; padding: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.dtable { width: 100%; border-collapse: collapse; min-width: 600px; }
.dtable th {
  padding: 0.6rem 1rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dtable td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.855rem;
  vertical-align: middle;
}
.dtable tr:last-child td { border-bottom: none; }
.dtable tbody tr { transition: background 0.12s; }
.dtable tbody tr:hover { background: var(--gray-50); }

/* ── Badges ─────────────────────────────────────────────────*/
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bdg-outline { border: 1.5px solid var(--gray-300); color: var(--text-muted); background: rgba(255,255,255,0.02); }
.bdg-success,  .s-approved,  .s-kyc_complete,  .s-kyb_complete  { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.bdg-warn,     .s-pending_verification, .s-under_review, .s-in_progress, .s-more_info_required { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-border); }
.bdg-danger,   .s-rejected,  .s-on_hold       { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger-border); }
.bdg-gray,     .s-draft      { background: var(--gray-100); color: var(--text-muted); border: 1px solid var(--gray-200); }
.bdg-info                    { background: var(--info-bg); color: var(--info); border: 1px solid var(--info-border); }

/* ── Forms ──────────────────────────────────────────────────*/
.form-group { margin-bottom: 1.125rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.35rem; }
.form-control {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px hsla(224,88%,62%,0.2);
  background: rgba(0, 0, 0, 0.35);
}
.form-control::placeholder { color: var(--gray-400); }
.form-control:disabled { background: var(--gray-50); color: var(--gray-400); cursor: not-allowed; }

/* ── Alerts ─────────────────────────────────────────────────*/
.alert-err {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger-border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.855rem;
  margin-bottom: 1.375rem;
  font-weight: 500;
}
.alert-ok {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.855rem;
  margin-bottom: 1.375rem;
  font-weight: 500;
}

/* ── Login Page ─────────────────────────────────────────────*/
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: linear-gradient(135deg, #0b1120 0%, #0f1a2e 60%, #131040 100%);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Grid dots for left panel */
.login-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.login-art-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, hsla(221,83%,53%,0.18), transparent 70%);
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.login-art-content { position: relative; max-width: 440px; }
.login-art-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 3.25rem;
}
.login-art-logo .lal-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: white;
  box-shadow: 0 6px 18px hsla(221,83%,53%,0.45);
}
.login-art-logo span { font-size: 1.25rem; font-weight: 800; color: #eef2ff; letter-spacing: -0.02em; }
.login-art h2 { font-size: 2.1rem; font-weight: 800; color: #eef2ff; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 0.75rem; }
.login-art p  { font-size: 0.95rem; color: rgba(238,242,255,0.45); line-height: 1.75; margin-bottom: 2.75rem; }
.login-art-features { display: flex; flex-direction: column; gap: 1rem; }
.laf { display: flex; align-items: center; gap: 0.875rem; }
.laf-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: hsl(221,83%,76%);
  flex-shrink: 0;
  transition: all 0.2s;
}
.laf:hover .laf-icon { background: rgba(255,255,255,0.1); color: hsl(221,83%,85%); }
.laf span { font-size: 0.875rem; color: rgba(238,242,255,0.6); font-weight: 500; }

.login-form-side {
  background: #090d16;
  border-left: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.login-form-box {
  width: 100%;
  max-width: 400px;
}
.login-form-box .form-heading { margin-bottom: 2rem; }
.login-form-box .form-heading h3 { font-size: 1.6rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.25rem; letter-spacing: -0.025em; }
.login-form-box .form-heading p  { font-size: 0.875rem; color: var(--text-muted); }
.btn-login {
  width: 100%;
  padding: 0.825rem;
  background: linear-gradient(135deg, var(--brand), hsl(243,75%,59%));
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: all 0.25s var(--ease-spring);
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: var(--shadow-brand-lg); }
.btn-login:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.login-footer-note { text-align: center; margin-top: 1.5rem; font-size: 0.78rem; color: var(--gray-400); }
.login-footer-note a { color: var(--brand); font-weight: 600; }

/* ── Password toggle ─────────────────────────────────────── */
.input-wrapper { position: relative; }
.input-wrapper .form-control { padding-right: 2.75rem; }
.btn-eye {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  transition: color 0.15s;
}
.btn-eye:hover { color: var(--gray-600); }

/* ── Responsive ─────────────────────────────────────────────*/
@media (max-width: 900px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-art  { display: none; }
}
@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .step-connector { display: none; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-card { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 6rem 1.25rem 5rem; }
  .hero-stats { padding: 1.25rem; gap: 1.25rem; }
  .hero-stat-divider { display: none; }
}

/* ── Utilities ──────────────────────────────────────────────*/
.d-flex   { display: flex; }
.gap-3    { gap: 1rem; }
.gap-2    { gap: 0.5rem; }
.fw       { flex-wrap: wrap; }
.mb-4     { margin-bottom: 1.5rem; }
.mb-3     { margin-bottom: 1rem; }
.mb-2     { margin-bottom: 0.625rem; }
.mono     { font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace; }
.fw5      { font-weight: 500; }
.fw6      { font-weight: 600; }
.fw7      { font-weight: 700; }
.fw8      { font-weight: 800; }
.text-xs  { font-size: 0.72rem; }
.text-sm  { font-size: 0.825rem; }
.text-muted { color: var(--text-muted); }
.td-actions { display: flex; gap: 0.25rem; align-items: center; }
.text-center { text-align: center; }
.w-full   { width: 100%; }
.truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ── Page transitions & focus ───────────────────────────────*/
*:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
