/* ==========================================================================
   Infi Pay — Unified Money + Kashly Design System
   Sovereign UPI Payment Infrastructure
   Responsive & Glassmorphic Blur Edition
   ========================================================================== */

/* Typography & Fonts */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }

:root {
  /* Kashly Electric Lime & Money Theme Tokens */
  --kashly-lime: #d0ff81;
  --kashly-lime-soft: #e7ffa6;
  --kashly-lime-vibrant: #b5f942;
  --kashly-lime-electric: #99f301;
  --kashly-lime-dark: #72dc00;
  --kashly-gold: #ffbb00;
  --kashly-charcoal: #14140f;
  --kashly-charcoal-sub: #24241c;
  --kashly-dark: #080806;
  --kashly-cream: #f5f5eb;
  --kashly-cream-light: #fafaf5;
  --kashly-offwhite: #f9f9f4;
  --kashly-border: #e8e8df;
  --kashly-border-light: #f0f0e8;
  --kashly-muted: #75756b;

  /* Global Theme Remapping (Unifies Dashboard, Public & Payments) */
  --navy: #14140f;
  --navy-2: #080806;
  --navy-3: #1f1f18;
  --blue: #72dc00;
  --blue-600: #5cb300;
  --blue-50: #f5fae8;
  --blue-100: #e4f9b8;
  --blue-200: #d0ff81;
  --teal-slate: #14140f;
  --teal-slate-card: #1f1f18;
  --mint: #99f301;
  --mint-bg: #f4fae6;
  --ink: #14140f;
  --text: #383830;
  --muted: #75756b;
  --line: #e8e8df;
  --line-light: #f2f2eb;
  --bg: #f9f9f4;
  --bg-alt: #f5f5eb;
  --card: #ffffff;
  --red: #ef4444;
  --amber: #f59e0b;
  --green: #10b981;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px -2px rgba(20, 20, 15, 0.06);
  --shadow-lg: 0 16px 36px -6px rgba(20, 20, 15, 0.1);
  --shadow-lime: 0 8px 24px -4px rgba(181, 249, 66, 0.4);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Geist", "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}
a:hover { opacity: 0.85; }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-top: 0;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.ic { vertical-align: -3px; flex: none; display: inline-block; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.center { text-align: center; }
.hide { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* Grid Layouts with Auto-Collapsing Mobile Responsive Rules */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
  }
}

/* Pill Buttons & Action Controls (Kashly Style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 22px;
  font-size: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
}
.btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-kashly-lime {
  background: var(--kashly-lime) !important;
  color: var(--kashly-charcoal) !important;
  border-color: rgba(0, 0, 0, 0.04) !important;
  box-shadow: var(--shadow-lime);
}
.btn-kashly-lime:hover {
  background: var(--kashly-lime-vibrant) !important;
  box-shadow: 0 10px 28px -4px rgba(181, 249, 66, 0.6);
}
.btn-kashly-white, .btn-white-pill {
  background: #ffffff !important;
  color: var(--kashly-charcoal) !important;
  border: 1px solid var(--kashly-border) !important;
  box-shadow: var(--shadow-sm);
}
.btn-kashly-white:hover, .btn-white-pill:hover {
  background: var(--kashly-cream) !important;
  border-color: var(--kashly-charcoal) !important;
}
.btn-kashly-outline {
  background: transparent !important;
  border: 1px solid var(--kashly-border) !important;
  color: var(--kashly-charcoal) !important;
}
.btn-kashly-outline:hover {
  background: var(--kashly-cream) !important;
}
.btn-kashly-dark {
  background: var(--kashly-charcoal) !important;
  color: var(--kashly-lime) !important;
  border: none !important;
}
.btn-primary {
  background: var(--kashly-lime);
  color: var(--kashly-charcoal);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--kashly-lime-vibrant);
}
.btn-secondary {
  background: #ffffff;
  color: var(--kashly-charcoal);
  border-color: var(--line);
}
.btn-secondary:hover {
  background: var(--bg-alt);
}
.btn-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}
.btn-danger:hover {
  background: #fecaca;
}
.btn-sm { padding: 6px 14px; font-size: 12.5px; border-radius: var(--r-pill); }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: var(--r-pill); }
.btn-block { width: 100%; display: flex; }

/* Forms & Inputs */
.form-group { margin-bottom: 18px; }
.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--kashly-charcoal);
  margin-bottom: 6px;
}
.input, .select, .textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--kashly-border);
  border-radius: var(--r);
  padding: 11px 14px;
  outline: none;
  transition: all 0.2s ease;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--kashly-charcoal);
  box-shadow: 0 0 0 3px rgba(208, 255, 129, 0.45);
}
.input[readonly] { background: var(--bg-alt); color: var(--muted); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

/* Cards & Badges with Glassmorphism */
.card {
  background: #ffffff;
  border: 1px solid var(--kashly-border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.badge-lime { background: var(--kashly-lime-soft); color: var(--kashly-charcoal); }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-neutral { background: var(--kashly-cream); color: var(--kashly-charcoal); }

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 13.5px;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid transparent;
}
.alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info { background: #f7fee7; color: #365314; border-color: #d9f99d; }

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}
.table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kashly-muted);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
  vertical-align: middle;
}
.table tr:hover td { background: var(--kashly-cream-light); }

/* Key-value description list */
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; font-size: 14px; }
.kv dt { color: var(--muted); font-weight: 500; }
.kv dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 4px; } .kv dd { margin-bottom: 12px; } }

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 15, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-box {
  background: #ffffff;
  border-radius: 24px;
  max-width: 540px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* ==========================================================================
   Top Ticker Bar
   ========================================================================== */
.kashly-ticker {
  background: rgba(20, 20, 15, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e7ffa6;
  padding: 9px 16px;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}
.ticker-badge {
  background: var(--kashly-lime);
  color: var(--kashly-charcoal);
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}
.ticker-link {
  color: var(--kashly-lime);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ticker-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .kashly-ticker {
    font-size: 11.5px;
    padding: 7px 12px;
    gap: 6px;
    line-height: 1.35;
  }
}

/* ==========================================================================
   Floating Sticky Header & Frosted Glass Mobile Pill Drawer
   ========================================================================== */
.kashly-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  padding: 0 20px;
  margin-bottom: -72px;
  transition: all 0.25s ease;
}
.kashly-header-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--r-pill);
  padding: 6px 14px 6px 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.07);
}
.kashly-nav-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kashly-nav-pill a {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--kashly-charcoal-sub);
  text-decoration: none;
  transition: all 0.18s ease;
}
.kashly-nav-pill a:hover, .kashly-nav-pill a.active {
  background: var(--kashly-cream);
  color: var(--kashly-charcoal);
  font-weight: 600;
}
.mobile-nav-cta { display: none; }
.nav-toggle { display: none; }

/* Backdrop Dimmer for Mobile Menu */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 10, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.mobile-nav-backdrop.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .kashly-header {
    top: 8px;
    padding: 0 12px;
    margin-bottom: 0 !important; /* CRITICAL: Never overlap hero on mobile */
  }
  .kashly-header-inner {
    border-radius: var(--r-pill);
    padding: 8px 12px 8px 16px;
  }
  .header-cta { display: none !important; }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--kashly-lime) !important;
    border: none !important;
    border-radius: var(--r-pill) !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(181, 249, 66, 0.45);
    transition: transform 0.2s ease;
  }
  .nav-toggle:active {
    transform: scale(0.92);
  }

  .kashly-nav-pill {
    display: none;
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    border-radius: 24px;
    flex-direction: column;
    padding: 20px;
    gap: 6px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1001;
    transform: translateY(-12px) scale(0.97);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    pointer-events: none;
  }
  .kashly-nav-pill.open {
    display: flex !important;
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .kashly-nav-pill a {
    width: 100%;
    text-align: left;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 15px;
  }
  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--kashly-border);
  }
  .mobile-nav-cta .btn {
    padding: 14px 20px !important;
    font-size: 15px !important;
    border-radius: var(--r-pill) !important;
  }
}

/* ==========================================================================
   Hero Section & 3D 0% Centerpiece
   ========================================================================== */
.kashly-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 65% at 50% 12%, #d8ff85 0%, #eefadc 40%, #fbfdf9 70%, #ffffff 100%);
  padding: 120px 20px 90px;
  text-align: center;
}
@media (max-width: 960px) {
  .kashly-hero {
    padding: 40px 16px 50px !important;
  }
}
.kashly-hero-grid-lines {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  pointer-events: none;
}
.kashly-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kashly-charcoal);
  background: var(--kashly-cream);
  border-radius: var(--r-pill);
  padding: 6px 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
@media (max-width: 600px) {
  .kashly-pill {
    font-size: 12px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }
}
.kashly-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.kashly-hero-title {
  font-size: clamp(30px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--kashly-charcoal);
  margin: 0 auto 18px;
  max-width: 960px;
  word-break: normal;
  overflow-wrap: break-word;
}
.kashly-hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.55;
  color: var(--kashly-muted);
  margin: 0 auto 34px;
  max-width: 680px;
}
.kashly-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
@media (max-width: 600px) {
  .kashly-hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .kashly-hero-ctas .btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}

/* 3D 0% Centerpiece Showcase & Ambient Blur Glow */
.kashly-showcase-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}
.hero-glow-orb {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(181, 249, 66, 0.55) 0%, rgba(208, 255, 129, 0.25) 50%, transparent 70%);
  filter: blur(60px);
  -webkit-filter: blur(60px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.75; }
  50% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
}

.zero-3d-center {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: floatZero 5s ease-in-out infinite;
}
@keyframes floatZero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.zero-3d-center img {
  max-height: 380px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 26px 40px rgba(153, 243, 1, 0.35));
}
.zero-center-tagline {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--kashly-charcoal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Floating Tilted Stat Cards */
.kashly-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-radius: 20px;
  padding: 16px 22px;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.85);
  z-index: 3;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.kashly-float-card:hover {
  transform: translateY(-5px) scale(1.03) !important;
}

.kashly-card-tl { top: 10%; left: 2%; transform: rotate(-3.5deg); }
.kashly-card-tr { top: 14%; right: 2%; transform: rotate(3deg); }
.kashly-card-bl { bottom: 8%; left: 5%; transform: rotate(2deg); }
.kashly-card-br { bottom: 5%; right: 4%; transform: rotate(-3deg); }

.kashly-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--kashly-charcoal);
  background: var(--kashly-lime-soft);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  margin-bottom: 6px;
}
.kashly-card-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--kashly-charcoal);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.kashly-card-lbl {
  font-size: 12px;
  color: var(--kashly-muted);
  margin-top: 3px;
}

.hero-stats-grid {
  display: contents;
}

@media (max-width: 900px) {
  .kashly-showcase-stage {
    min-height: auto;
    flex-direction: column;
    gap: 18px;
    padding: 10px 0;
  }
  .hero-glow-orb {
    width: 240px;
    height: 240px;
    filter: blur(45px);
  }
  .zero-3d-center img {
    max-height: 210px !important;
  }
  .hero-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
  }
  .kashly-float-card {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px 14px !important;
    border-radius: 16px !important;
  }
  .kashly-card-num {
    font-size: 19px !important;
  }
  .kashly-card-lbl {
    font-size: 11px !important;
  }
}
@media (max-width: 440px) {
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .kashly-float-card {
    padding: 12px 10px !important;
  }
  .kashly-card-badge {
    font-size: 9.5px !important;
    padding: 2px 6px !important;
  }
  .kashly-card-num {
    font-size: 17px !important;
  }
}

/* ==========================================================================
   Bento Grids & Feature Cards
   ========================================================================== */
.kashly-bento-hero {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.kashly-bento-card {
  background: rgba(245, 245, 235, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
  box-sizing: border-box;
}
.kashly-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.kashly-bento-card h3 {
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--kashly-charcoal);
  word-break: break-word;
}
.kashly-bento-card p {
  color: var(--kashly-muted);
  font-size: 15px;
  line-height: 1.6;
  word-break: break-word;
}

@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .kashly-bento-hero {
    grid-column: span 1 !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 26px 18px !important;
    text-align: center;
  }
  .kashly-bento-hero h3 {
    font-size: 24px !important;
  }
  .kashly-bento-hero p {
    font-size: 14.5px !important;
  }
  .kashly-bento-hero img {
    max-height: 200px !important;
    margin: 0 auto;
  }
  .kashly-bento-hero .btn {
    width: 100% !important;
  }
  .kashly-bento-card {
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }
}

/* ==========================================================================
   Values & Pricing Sections
   ========================================================================== */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .faq-sticky-card {
    position: static !important;
    border-radius: 20px !important;
    padding: 24px 18px !important;
  }
  .faq-sticky-card h3 {
    font-size: 24px !important;
  }
}

/* ==========================================================================
   Dark Pre-Footer CTA with Glow Blur Orb
   ========================================================================== */
.kashly-dark-cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--kashly-dark);
  border-radius: 28px;
  padding: 64px 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  margin: 60px auto;
}
.kashly-dark-cta::before {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(153, 243, 1, 0.28) 0%, transparent 70%);
  filter: blur(60px);
  -webkit-filter: blur(60px);
  pointer-events: none;
  animation: floatOrb 6s ease-in-out infinite;
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}
.kashly-dark-cta h2 {
  color: #ffffff !important;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}
.kashly-dark-cta p {
  color: #a8a8a2;
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 32px;
}
.dark-cta-chart-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 26px;
  color: var(--kashly-charcoal);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
@media (max-width: 900px) {
  .kashly-dark-cta {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    padding: 36px 20px !important;
    border-radius: 20px !important;
    margin: 30px auto !important;
    text-align: center;
  }
  .kashly-dark-cta h2 {
    font-size: 26px !important;
  }
  .kashly-dark-cta p {
    font-size: 14.5px !important;
    margin: 0 auto 24px !important;
  }
  .kashly-dark-cta .btn {
    width: 100% !important;
  }
  .dark-cta-chart-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
}

/* ==========================================================================
   Electric Lime Signature Footer
   ========================================================================== */
.kashly-footer-electric {
  background: var(--kashly-lime-electric) !important;
  color: var(--kashly-charcoal) !important;
  padding: 80px 0 36px !important;
  position: relative;
  overflow: hidden;
}
.kashly-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 960px) {
  .kashly-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 20px !important;
  }
}
@media (max-width: 600px) {
  .kashly-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .kashly-footer-electric {
    padding: 50px 0 28px !important;
  }
}
.kashly-footer-electric h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kashly-charcoal);
  margin-bottom: 16px;
}
.kashly-footer-electric ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kashly-footer-electric li {
  margin-bottom: 10px;
}
.kashly-footer-electric a {
  color: var(--kashly-charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.kashly-footer-electric a:hover {
  opacity: 1;
  text-decoration: underline;
}
.kashly-footer-wordmark {
  font-size: clamp(34px, 12.5vw, 180px) !important;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--kashly-charcoal);
  text-align: center;
  user-select: none;
  margin: 30px 0 20px;
  opacity: 0.95;
  width: 100%;
  overflow: hidden;
  word-break: break-word;
}
.kashly-footer-legal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--kashly-charcoal);
  font-weight: 500;
  border-top: 1px solid rgba(20, 20, 15, 0.15);
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 640px) {
  .kashly-footer-legal-bar {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* Floating WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--kashly-charcoal);
  color: var(--kashly-lime);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  z-index: 1000;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.whatsapp-fab:hover {
  transform: scale(1.08) translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   Dashboard Shell & Navigation
   ========================================================================== */
.dash {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--kashly-charcoal);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  color: #a8a8a0;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}
.sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.sidebar nav a.active {
  background: var(--kashly-lime);
  color: var(--kashly-charcoal);
  font-weight: 600;
}
.sidebar .foot {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-panel {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-width: 0;
}
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.content-body {
  padding: 28px;
  flex: 1;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
}

@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar.open + .sidebar-backdrop {
    display: block;
  }
  .topbar { padding: 14px 18px; }
  .content-body { padding: 18px 14px; }
}

/* Stats / KPI Tiles */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.stat-card {
  background: #ffffff;
  border: 1px solid var(--kashly-border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card .label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.stat-card .value { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.stat-card .meta { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   Checkout & Hosted Payment Links (Unified Kashly Style)
   ========================================================================== */
.checkout-page,
.co-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 10%, #d8ff85 0%, #f4fae6 40%, #fafaf5 80%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  box-sizing: border-box;
}
.checkout-card,
.co-card {
  background: #ffffff;
  border-radius: 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px -10px rgba(20, 20, 15, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-sizing: border-box;
}
.checkout-head,
.co-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line-light);
  background: var(--kashly-cream-light);
}
.mock-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--kashly-lime-soft);
  color: var(--kashly-charcoal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.co-merchant {
  font-weight: 700;
  font-size: 16px;
  color: var(--kashly-charcoal);
  line-height: 1.25;
}
.checkout-body,
.co-body {
  padding: 24px 22px;
  text-align: center;
  box-sizing: border-box;
}
.co-amount {
  text-align: center;
  margin-bottom: 10px;
}
.co-amount .label {
  font-size: 13px;
  color: var(--kashly-muted);
  font-weight: 500;
}
.co-amount .value {
  font-size: 38px;
  font-weight: 800;
  color: var(--kashly-charcoal);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 4px;
}
.co-note {
  text-align: center;
  font-size: 12px;
  color: #854d0e;
  background: #fef9c3;
  border: 1px solid #fef08a;
  border-radius: 8px;
  padding: 7px 12px;
  margin: 10px auto 0;
  max-width: 360px;
}
.co-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 12px;
  padding: 14px;
  border: 1px solid var(--kashly-border);
  border-radius: 20px;
  width: 240px;
  height: 240px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
.co-qr svg,
.co-qr img,
.co-qr canvas {
  width: 208px !important;
  height: 208px !important;
  max-width: 208px !important;
  max-height: 208px !important;
  display: block;
}
.co-timer {
  text-align: center;
  font-size: 13px;
  color: var(--kashly-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.co-timer b {
  color: var(--kashly-charcoal);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.co-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.co-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: all .15s ease;
}
.co-app:hover {
  border-color: #99f301;
  background: var(--kashly-cream);
  transform: translateY(-2px);
  color: var(--ink);
}
.co-app img { width: 34px; height: 34px; object-fit: contain; }
.co-app .ph {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.co-mobile-only { display: none; }
@media (max-width: 760px), (pointer: coarse) {
  .co-mobile-only { display: block; }
  .co-desktop-only { display: none; }
}
.co-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0;
}
.co-or::before, .co-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.co-vpa {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 14px;
  flex-wrap: wrap;
}
.co-foot {
  padding: 16px 26px;
  background: var(--kashly-cream-light);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.co-state {
  text-align: center;
  padding: 24px 0 10px;
}
.co-state img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 14px;
}
.co-state h2 {
  font-size: 24px;
  margin: 12px 0 6px;
  color: var(--kashly-charcoal);
  font-weight: 700;
}
.co-utr {
  margin-top: 14px;
}
.co-utr summary {
  cursor: pointer;
  font-size: 13.5px;
  color: var(--kashly-charcoal);
  text-align: center;
  list-style: none;
  font-weight: 600;
  text-decoration: underline;
}
.co-utr summary::-webkit-details-marker { display: none; }
.co-utr form { margin-top: 14px; text-align: left; }
.co-utr label { font-size: 12.5px; font-weight: 600; color: var(--kashly-charcoal); margin-bottom: 6px; display: block; }
.co-utr .input-group { display: flex; gap: 8px; }
.co-utr .input-group input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.co-utr .input-group input:focus {
  border-color: var(--kashly-charcoal);
  box-shadow: 0 0 0 3px rgba(208, 255, 129, 0.4);
}
.co-utr .hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.co-wait { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid #e8e8df; border-top-color: #99f301; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-badges { display: flex; gap: 14px; justify-content: center; margin-top: 20px; align-items: center; color: var(--muted); font-size: 12.5px; }

/* Global Button & Input helper aliases */
.btn-dark {
  background: var(--kashly-charcoal) !important;
  color: #ffffff !important;
  border: none !important;
}
.btn-dark:hover {
  background: #000000 !important;
}
.input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.input-group input {
  flex: 1;
}

/* ==========================================================================
   Auth (Login & Signup) — Unified Kashly Style
   ========================================================================== */
.auth-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 12%, #d8ff85 0%, #f4fae6 45%, #fafaf5 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  max-width: 960px;
  width: 100%;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(20, 20, 15, 0.16);
  border: 1px solid var(--kashly-border);
}
.auth-side {
  background: var(--kashly-charcoal);
  color: #ffffff;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-side-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(153, 243, 1, 0.28) 0%, transparent 70%);
  filter: blur(50px);
  -webkit-filter: blur(50px);
  pointer-events: none;
}
.auth-zero-floating {
  animation: floatZero 5s ease-in-out infinite;
}
.auth-ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cfcfc6;
  line-height: 1.45;
}
.auth-ticks li .ic, .auth-ticks li svg {
  color: var(--kashly-lime);
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-side-foot {
  font-size: 12px;
  color: #8c8c82;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  margin-top: 24px;
}

.auth-main {
  background: #ffffff;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-box {
  width: 100%;
  max-width: 400px;
}
.auth-header-logo {
  text-align: center;
  margin-bottom: 24px;
}
.auth-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--kashly-charcoal);
  letter-spacing: -0.035em;
  margin: 0 0 6px;
}
.auth-sub {
  font-size: 14px;
  color: var(--kashly-muted);
  margin: 0 0 24px;
}

/* Auth Form Fields — Full Width & Proper Spacing */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kashly-charcoal);
  display: block;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"] {
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: 1px solid var(--kashly-border);
  border-radius: 14px;
  padding: 0 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--kashly-charcoal);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.field input:focus {
  border-color: var(--kashly-charcoal);
  box-shadow: 0 0 0 3px rgba(208, 255, 129, 0.45);
}
.field .hint {
  font-size: 12px;
  color: var(--kashly-muted);
  margin-top: 2px;
}

/* Checkbox */
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--kashly-muted);
  cursor: pointer;
  line-height: 1.4;
  margin: 4px 0 6px;
}
.check-field input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--kashly-charcoal);
  cursor: pointer;
}
.check-field a {
  color: var(--kashly-charcoal);
  text-decoration: underline;
  font-weight: 600;
}

.auth-form .btn-kashly-lime {
  height: 48px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lime);
}

.auth-foot-text {
  text-align: center;
  font-size: 13.5px;
  color: var(--kashly-muted);
  margin-top: 22px;
}
.auth-foot-text a {
  color: var(--kashly-charcoal);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .auth-wrap {
    grid-template-columns: 1fr !important;
    max-width: 440px;
    border-radius: 22px;
  }
  .auth-side { display: none !important; }
  .auth-main {
    padding: 32px 20px;
  }
  .auth-title {
    font-size: 24px;
  }
}

/* ==========================================================================
   API Docs & Legal Pages
   ========================================================================== */
.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 60px 24px;
}
.doc-nav {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.doc-nav a {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  color: var(--muted);
}
.doc-nav a:hover {
  background: var(--bg-alt);
  color: var(--ink);
}
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr !important; gap: 24px; padding: 30px 16px; }
  .doc-nav { display: none; }
}

.prose { max-width: 720px; line-height: 1.7; color: var(--text); }
.prose h1 { font-size: 38px; margin: 0 0 16px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.prose h3 { font-size: 20px; margin: 24px 0 8px; }
.prose code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}
.code {
  background: #14140f;
  color: #e7ffa6;
  padding: 16px 20px;
  border-radius: var(--r);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  margin: 16px 0;
}
.doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 16px 0; }
.doc-table th, .doc-table td { padding: 10px 12px; border: 1px solid var(--line); }
.doc-table th { background: var(--bg-alt); font-weight: 600; text-align: left; }


/* ==========================================================================
   Supported Providers Logo Strip (Kashly Frosted Glass Pills)
   ========================================================================== */
.providers-strip {
  background: #ffffff;
  border-top: 1px solid var(--kashly-border);
  border-bottom: 1px solid var(--kashly-border);
  padding: 22px 0;
  position: relative;
  overflow: hidden;
}
.providers-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.providers-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--kashly-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.providers-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kashly-lime-dark);
}
.providers-pills-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.provider-pill {
  background: var(--kashly-cream-light);
  border: 1px solid var(--kashly-border);
  border-radius: 999px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.provider-pill:hover {
  background: #ffffff;
  border-color: var(--kashly-charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.provider-pill img {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 900px) {
  .providers-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .providers-pills-wrap {
    justify-content: center;
    gap: 8px;
  }
  .provider-pill {
    padding: 6px 14px;
  }
  .provider-pill img {
    height: 20px;
  }
}\n\n/* ==========================================================================
   Dashboard Shell & Navigation (Unified Kashly Style)
   ========================================================================== */
.dash {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--kashly-charcoal);
  color: #a8a8a0;
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar .brand {
  display: flex;
  align-items: center;
  padding: 4px 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}
.sidebar .brand img {
  height: 34px;
  width: auto;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.side-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8e8e84 !important;
  padding: 16px 12px 6px;
  font-weight: 700;
}
.sidebar a.side-link,
.sidebar .side-link,
.side-link {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  color: #d6d6cd !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  margin-bottom: 2px !important;
}
.sidebar .side-link .ic,
.side-link .ic {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  color: inherit !important;
  stroke: currentColor !important;
}
.sidebar a.side-link:hover,
.sidebar .side-link:hover,
.side-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}
.sidebar a.side-link.active,
.sidebar .side-link.active,
.side-link.active {
  background: #d0ff81 !important;
  color: #14140f !important;
  font-weight: 700 !important;
}
.sidebar a.side-link.active .ic,
.sidebar .side-link.active .ic,
.side-link.active .ic {
  color: #14140f !important;
  stroke: #14140f !important;
}
.side-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-foot button.side-link {
  width: 100% !important;
  background: none !important;
  border: 0 !important;
  cursor: pointer !important;
  text-align: left !important;
  font-family: inherit !important;
  color: #d6d6cd !important;
}
.side-foot button.side-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

/* Dashboard Main Viewport & Topbar */
.dash-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.topbar {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar h1 {
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}
.topbar .who {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  line-height: 1.35;
}
.topbar .who b {
  color: var(--ink);
  display: block;
  font-weight: 600;
}
.topbar .who span.e {
  color: var(--muted);
  font-size: 12px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--kashly-lime-soft);
  color: var(--kashly-charcoal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.side-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--ink);
}
.dash-content {
  padding: 28px;
  max-width: 1240px;
  width: 100%;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 10, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
}

@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 270px;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  }
  .sidebar.open {
    transform: none;
  }
  .sidebar.open + .sidebar-backdrop {
    display: block;
  }
  .side-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .topbar { padding: 0 16px; }
  .topbar .who span.e { display: none; }
  .dash-content { padding: 18px 14px; }
}

/* Dashboard Cards, KPI Tiles & Stats */
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.stat {
  padding: 22px;
}
.stat .label {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.stat .label .ic {
  color: var(--kashly-lime-dark);
}
.stat .value {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 8px;
  line-height: 1.1;
}
.stat .sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}

/* Revenue Trend Chart */
.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: end;
  height: 200px;
  padding-top: 20px;
}
.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
}
.bar .fill {
  width: 100%;
  max-width: 44px;
  background: linear-gradient(180deg, var(--kashly-lime-vibrant), var(--kashly-lime-dark));
  border-radius: 8px 8px 3px 3px;
  min-height: 6px;
  transition: height 0.3s ease;
}
.bar .fill.zero {
  background: var(--line-light);
  min-height: 4px;
}
.bar .lbl {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.bar .amt {
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

/* Setup Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}
.checklist li:last-child {
  border-bottom: 0;
}
.checklist .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--line-light);
  color: var(--muted);
  flex: none;
}
.checklist li.done .dot {
  background: #dcfce7;
  color: #166534;
}

/* Progress Bar */
.progress {
  height: 8px;
  background: var(--line-light);
  border-radius: 999px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--kashly-lime-dark);
  border-radius: 999px;
}

/* Badges & Live Status */
.badge-blue {
  background: var(--kashly-lime-soft);
  color: var(--kashly-charcoal);
  font-weight: 700;
}
.badge-ok {
  background: #dcfce7;
  color: #166534;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

/* Ghost Buttons */
.btn-ghost {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}
.btn-ghost:hover {
  background: var(--bg-alt) !important;
  border-color: var(--ink) !important;
}