/* ==========================================================================
   ByDukaan — Digital Solutions for Modern Businesses
   Production Design System & Responsive Stylesheet
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Refined High-End Tech Palette */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0b0f19;
  --bg-dark-surface: #0f172a;
  --bg-dark-card: #1e293b;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-dark: #334155;

  /* Brand Accents */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: #38bdf8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;

  --cyan: #06b6d4;
  --cyan-light: #ecfeff;

  --emerald: #10b981;
  --emerald-hover: #059669;
  --emerald-glow: #34d399;
  --emerald-light: #ecfdf5;
  --emerald-border: #a7f3d0;

  --indigo: #4f46e5;
  --indigo-light: #eef2ff;

  --amber: #f59e0b;
  --amber-hover: #d97706;
  --amber-light: #fffbeb;
  --amber-border: #fde68a;

  --rose: #e11d48;
  --rose-light: #fff1f2;
  --rose-border: #fecdd3;

  /* Payment Provider Accents */
  --jazzcash: #d4145a;
  --jazzcash-bg: #ffe4ee;
  --easypaisa: #00854a;
  --easypaisa-bg: #dff7e9;
  --oneqr: #7c3aed;
  --oneqr-bg: #f3e8ff;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-hero: linear-gradient(135deg, #0b0f19 0%, #0f172a 50%, #1e293b 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-dark-card: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  --grad-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(15, 23, 42, 0.08), 0 3px 6px -3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.09), 0 6px 12px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 38px -6px rgba(15, 23, 42, 0.12), 0 12px 18px -6px rgba(15, 23, 42, 0.06);
  --shadow-glow-primary: 0 0 25px rgba(37, 99, 235, 0.25);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@keyframes liveDotGlow {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes shimmerEffect {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes badgePop {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: var(--border-light);
}

.top-bar {
  background: linear-gradient(90deg, #0b0f19 0%, #111827 50%, #0f172a 100%);
  color: #94a3b8;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar a {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.top-bar a:hover {
  color: #ffffff;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 11px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: liveDotGlow 1.8s infinite;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 42px;
  height: 42px;
  background: var(--grad-brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  transition: transform var(--transition-bounce);
}

.brand-logo:hover .logo-badge {
  transform: scale(1.08) rotate(-4deg);
}

.logo-text {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--bg-dark);
  line-height: 1.1;
}

.logo-text span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   Navigation Bar (Floating Premium Glassmorphic Pill)
   ========================================================================== */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 3px;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 5px 6px;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav-links li {
  position: relative;
  display: flex;
}

.nav-links a {
  color: #475569;
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 15px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-links a i {
  font-size: 12.5px;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.nav-links a:hover i {
  color: var(--primary);
  transform: scale(1.15);
}

.nav-links a.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.nav-links a.active i {
  color: #ffffff;
}

.nav-badge-pill {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 9999px;
  margin-left: 2px;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.35);
  line-height: 1;
}

.nav-links a.active .nav-badge-pill {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: none;
}

/* ==========================================================================
   Header Actions (WhatsApp, Cart, Customer Login)
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* WhatsApp Header Pill */
.btn-whatsapp-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-whatsapp-header:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-whatsapp-header:active {
  transform: translateY(1px) scale(0.98);
}

.live-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: liveGreenPulse 1.8s infinite;
}

@keyframes liveGreenPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Header Cart Button */
.btn-icon {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-icon:hover {
  background: #ffffff;
  border-color: var(--primary-border);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}

.btn-icon:active {
  transform: translateY(1px) scale(0.96);
}

.cart-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ef4444 0%, #e11d48 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.45);
  border: 2px solid #ffffff;
  animation: badgePop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Customer Login CTA Button */
.btn-customer-login {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.btn-customer-login i {
  font-size: 13px;
  color: #93c5fd;
  transition: transform 0.25s ease, color 0.25s ease;
}

.btn-customer-login:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-customer-login:hover i {
  color: #ffffff;
  transform: translateX(2px);
}

.btn-customer-login:active {
  transform: translateY(1px) scale(0.98);
}

.btn-customer-login.btn-logged-in {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-customer-login.btn-logged-in i {
  color: #6ee7b7;
}

.btn-customer-login.btn-logged-in:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: rgba(110, 231, 183, 0.5);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.4);
}

.avatar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 6px #34d399;
}

.btn-menu-toggle {
  display: none;
}

/* ==========================================================================
   Buttons & UI Elements — Advanced Premium SaaS Styling
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.btn:hover i {
  transform: scale(1.1);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-light);
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.btn-outline-primary {
  background: rgba(37, 99, 235, 0.04);
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
}

.btn-pill {
  border-radius: 9999px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: var(--radius-lg);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-blue { background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-border); }
.badge-emerald { background: var(--emerald-light); color: var(--emerald); border: 1px solid var(--emerald-border); }
.badge-amber { background: var(--amber-light); color: var(--amber); border: 1px solid var(--amber-border); }
.badge-rose { background: var(--rose-light); color: var(--rose); border: 1px solid var(--rose-border); }
.badge-gray { background: var(--bg-subtle); color: var(--text-muted); border: 1px solid var(--border-light); }

.badge-jazzcash { background: var(--jazzcash-bg); color: var(--jazzcash); font-weight: 700; }
.badge-easypaisa { background: var(--easypaisa-bg); color: var(--easypaisa); font-weight: 700; }
.badge-oneqr { background: var(--oneqr-bg); color: var(--oneqr); font-weight: 700; }

/* Alerts / Flashes */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid;
}

.alert-success { background: var(--emerald-light); border-color: var(--emerald-border); color: #065f46; }
.alert-error, .alert-danger { background: var(--rose-light); border-color: var(--rose-border); color: #9f1239; }
.alert-warning { background: var(--amber-light); border-color: var(--amber-border); color: #92400e; }
.alert-info { background: var(--primary-light); border-color: var(--primary-border); color: #1e40af; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  padding: 85px 0 95px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 55px;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.hero-badge-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
  border-color: var(--primary-border);
}

.hero-headline {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.4px;
  color: var(--bg-dark);
  margin-bottom: 22px;
}

.hero-headline span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.trust-item i {
  color: var(--emerald);
  font-size: 15px;
}

/* ==========================================================================
   Hero Interactive POS / Software Mockup Screen
   ========================================================================== */
.hero-mockup-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-mockup-screen {
  background: #0f172a;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-mockup-wrapper:hover .hero-mockup-screen {
  transform: translateY(-4px);
}

.hero-mockup-header {
  background: #1e293b;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-mockup-dots {
  display: flex;
  gap: 6px;
}

.hero-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-floating-chip-top {
  position: absolute;
  top: -16px;
  right: -16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-full);
  padding: 9px 18px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  animation: floatSlow 4.5s ease-in-out infinite;
  z-index: 10;
}

.hero-floating-chip-bottom {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-full);
  padding: 9px 18px;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #065f46;
  animation: floatReverse 5s ease-in-out infinite;
  z-index: 10;
}

.pos-demo-tab {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.pos-demo-tab.active, .pos-demo-tab:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.pos-demo-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.pos-demo-item:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.pos-demo-item:active {
  transform: scale(0.96);
}

.pos-demo-item-pulse {
  animation: badgePop 0.3s ease;
}

/* ==========================================================================
   Section Headers & Cards
   ========================================================================== */
.section-padding {
  padding: 85px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.section-label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-border);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.9px;
  color: var(--bg-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.08);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: var(--grad-brand);
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.category-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.category-card .cat-count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.category-card:hover .cat-count {
  gap: 10px;
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
}

.product-thumb {
  height: 200px;
  background: radial-gradient(circle at center, #1e293b 0%, #0b0f19 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.product-thumb img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-thumb img {
  transform: scale(1.1) translateY(-4px);
}

.product-badge-corner {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.product-type-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.product-title {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--bg-dark);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: inherit;
  transition: color var(--transition-fast);
}

.product-title a:hover {
  color: var(--primary);
}

.product-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta-specs {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}

.product-meta-specs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-pricing {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--bg-dark);
}

.price-original {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

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

.product-actions .btn {
  flex: 1;
  text-align: center;
}

.product-actions form {
  flex: 1.2;
  margin: 0;
}

.product-actions form .btn {
  width: 100%;
}

/* ==========================================================================
   Why ByDukaan & Value Props
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--emerald-light);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Business Solutions Section
   ========================================================================== */
.solutions-tabs-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #ffffff;
}

.tab-panel {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.solution-details h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 12px;
}

.solution-details p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.solution-feature-list {
  list-style: none;
  margin-bottom: 24px;
}

.solution-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
}

.solution-feature-list li i {
  color: var(--emerald);
  font-size: 16px;
}

/* ==========================================================================
   Custom Software CTA Banner
   ========================================================================== */
.custom-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: var(--shadow-xl);
  margin: 60px 0;
}

.custom-cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.custom-cta-banner p {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 600px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.author-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bg-dark);
}

.author-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Accordion / FAQs
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--bg-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-subtle);
}

.faq-question i {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 70px 0 30px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.footer-payment-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Checkout & Forms
   ========================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
}

.card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--text-main);
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* Payment Method Cards */
.payment-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.payment-method-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.payment-method-card:hover {
  border-color: var(--border-dark);
}

.payment-method-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.payment-method-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.pm-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pm-jazzcash { background: var(--jazzcash); color: #fff; }
.pm-easypaisa { background: var(--easypaisa); color: #fff; }
.pm-oneqr { background: var(--oneqr); color: #fff; }
.pm-hosted { background: var(--bg-dark); color: #fff; }

.pm-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--bg-dark);
}

.pm-desc {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Live Search Modal */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  padding: 60px 20px;
}

.search-modal.open {
  display: flex;
  justify-content: center;
}

.search-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.search-modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

.search-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 17px;
  color: var(--text-main);
}

.search-results-list {
  list-style: none;
  overflow-y: auto;
  padding: 10px 0;
}

.search-result-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  color: var(--text-main);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.search-result-item a:hover {
  background: var(--bg-subtle);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Navigation Drawer
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .desktop-nav, .nav-links {
    display: none !important;
  }
  .btn-menu-toggle {
    display: flex !important;
  }
}

/* Mobile Menu Drawer (Modern App Sheet Styling) */
.mobile-menu-drawer {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 20px 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  animation: slideDrawerDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.open {
  display: block;
}

@keyframes slideDrawerDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-container {
  max-width: 600px;
  margin: 0 auto;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: #ffffff;
  border-color: var(--primary-border);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  transform: translateX(4px);
}

.mobile-nav-link.active .mobile-nav-title {
  color: var(--primary);
  font-weight: 700;
}

.mobile-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mobile-nav-link:hover .mobile-nav-icon {
  transform: scale(1.08);
}

.mobile-nav-icon.highlight {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
  color: #8b5cf6;
}

.mobile-nav-content {
  flex: 1;
}

.mobile-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.mobile-nav-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.mobile-nav-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  padding: 1px 6px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.mobile-nav-arrow {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover .mobile-nav-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

.mobile-menu-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 34px;
  }
  .section-title {
    font-size: 28px;
  }
  .form-row, .payment-selector {
    grid-template-columns: 1fr;
  }
  .tab-panel.active {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .header-actions .btn-whatsapp-header span:not(.live-dot-green) {
    display: none;
  }
  .header-actions .btn-whatsapp-header {
    padding: 8px 12px;
  }
}

