/* ══════════════════════════════════════════════════════════════════════════
   CLOUDBASE POS — ENHANCED UX/UI DESIGN SYSTEM & STYLES
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand Core Colors (design.md) */
  --cb-primary-50:  #f0f9ff;
  --cb-primary-100: #e0f2fe;
  --cb-primary-500: #0284c7;
  --cb-primary-600: #0284c7; /* Primary Accent Blue */
  --cb-primary-700: #0369a1;
  --cb-primary-900: #0c4a6e;

  /* Secondary Deep Slate */
  --cb-slate-50:  #f8fafc;
  --cb-slate-100: #f1f5f9;
  --cb-slate-200: #e2e8f0;
  --cb-slate-700: #334155;
  --cb-slate-800: #1e293b;
  --cb-slate-900: #0f172a; /* Deep Background Dark Mode */

  /* Semantic Feedback Colors */
  --cb-success-500: #10b981; /* Emerald Green - Approved / Active / Stock Available */
  --cb-warning-500: #f59e0b; /* Amber - Low Stock / Pending Approval / Due */
  --cb-danger-500:  #ef4444; /* Rose Red - Overdue / Out of Stock / Cancelled */
  --cb-info-500:    #6366f1; /* Indigo - System Notes / AI Insights */

  /* Legacy Color Mappings */
  --blue: var(--cb-primary-600);
  --blue-bright: #0284c7;
  --blue-d: var(--cb-primary-700);
  --orange: #ff6900;
  --orange-d: #e05c00;
  --emerald: var(--cb-success-500);
  --emerald-bg: rgba(16, 185, 129, 0.1);
  --dark: var(--cb-slate-900);
  --ink: var(--cb-slate-800);
  --body: var(--cb-slate-700);
  --muted: #94a3b8;
  --border: var(--cb-slate-200);
  --border-glow: rgba(2, 132, 199, 0.25);
  --bg-soft: var(--cb-slate-50);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.7);
  
  /* Typography System */
  --font-display: "Outfit", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation Shadows & Glows */
  --cb-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --cb-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --cb-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --cb-shadow-glow: 0 0 20px rgba(2, 132, 199, 0.25);

  --sh-sm: var(--cb-shadow-sm);
  --sh-md: var(--cb-shadow-md);
  --sh-lg: var(--cb-shadow-lg);
  --sh-xl: 0 24px 64px rgba(15, 23, 42, 0.16);
  --glow-blue: var(--cb-shadow-glow);
  --glow-orange: 0 0 24px rgba(255, 105, 0, 0.35);
}

/* Base Enhancements */
body {
  font-family: var(--font-body);
  color: var(--body);
  background-color: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  letter-spacing: -0.02em;
}

/* Inline Lucide Icon Sizing */
[data-lucide], .lucide {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  stroke-width: 2px;
}

.inline-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  color: var(--emerald);
}

.drop-arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 2px;
}

.nav-dropdown-wrap:hover .drop-arrow-icon {
  transform: rotate(180deg);
}

/* ══════════════════════════════════════════════════════════════════════════
   OFFLINE POS BETA BADGE SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */
.badge-beta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ff6900 0%, #d946ef 100%);
  color: #ffffff !important;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  vertical-align: middle;
  margin-left: 6px;
  box-shadow: 0 0 12px rgba(255, 105, 0, 0.4);
  line-height: 1.3;
}

.badge-beta::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: betaPulse 1.8s infinite ease-in-out;
}

@keyframes betaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ══════════════════════════════════════════════════════════════════════════
   THEME BUTTONS & PILL ELEMENT SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */
.btn-theme-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7 !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(2, 132, 199, 0.22);
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.06);
}

.btn-theme-back:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.btn-theme-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6900 0%, #e05c00 100%) !important;
  color: #ffffff !important;
  padding: 14px 26px;
  border-radius: 30px !important;
  font-weight: 800;
  font-size: 0.95rem;
  border: none !important;
  box-shadow: 0 6px 20px rgba(255, 105, 0, 0.4) !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none;
  width: 100%;
}

.btn-theme-orange:hover {
  background: linear-gradient(135deg, #ff7a1a 0%, #ff6900 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 105, 0, 0.5) !important;
}

.btn-share-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.btn-share-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.btn-share-li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.3);
  transition: all 0.2s ease;
}

.btn-share-li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.45);
}

.btn-share-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(15, 23, 42, 0.04) 100%);
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.btn-share-copy:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

/* Category Filter Tabs (blog.php) */
.blog-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tab {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.filter-tab:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}

.filter-tab.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════════════
   ENHANCED HEADER SYSTEM & GLASSMORPHISM PILL
   ══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.nav-pill-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
  pointer-events: auto;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 100px;
  padding: 6px 8px 6px 18px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible !important; /* Allows sub-menu dropdowns to float freely! */
  position: relative;
}

.site-header.scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 0 20px rgba(2, 132, 199, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 6px;
  transition: transform 0.25s ease;
}

.nav-logo:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cb-slate-800);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--cb-primary-600);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--cb-primary-600);
  background: rgba(2, 132, 199, 0.1);
  font-weight: 700;
}

/* Nav Dropdowns 3D Perspective Entrance & Full Visibility */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 1200;
  transform-origin: top center;
  transform: translate(-50%) perspective(1000px) rotateX(-10deg) translateY(12px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18), 0 0 25px rgba(2, 132, 199, 0.18) !important;
}

.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%) perspective(1000px) rotateX(0deg) translateY(0) scale(1) !important;
}

/* Mega & Solutions Dropdown Hover Items */
.mega-item-icon, .drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(27, 117, 187, 0.08);
  color: var(--blue);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mega-item:hover .mega-item-icon,
.drop-item:hover .drop-icon {
  background: var(--blue);
  color: #ffffff;
  transform: scale(1.08);
}

/* Action Buttons Container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Sign In Link */
.nav-login {
  padding: 7px 14px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cb-slate-700);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-login:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--cb-primary-600);
}

/* ══════════════════════════════════════════════════════════════════════════
   HIGH-PERFORMANCE BUTTON ANIMATIONS & COLOR TRANSITIONS
   ══════════════════════════════════════════════════════════════════════════ */
.nav-cta,
.btn-primary-cb,
.btn-cb-primary,
.btn-primary-lg,
.modal-submit-btn,
.cta-btn-primary,
.drawer-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0284c7 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #ffffff !important;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-position 0.5s ease;
  white-space: nowrap;
}

/* Primary Button Hover State: Dynamic Gradient Shift + Glow + 3D Lift */
.nav-cta:hover,
.btn-primary-cb:hover,
.btn-cb-primary:hover,
.btn-primary-lg:hover,
.modal-submit-btn:hover,
.cta-btn-primary:hover,
.drawer-btn--primary:hover {
  background-position: 100% 50%;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5), 0 0 20px rgba(2, 132, 199, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Primary Button Active/Click State */
.nav-cta:active,
.btn-primary-cb:active,
.btn-cb-primary:active,
.btn-primary-lg:active,
.modal-submit-btn:active,
.cta-btn-primary:active,
.drawer-btn--primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

/* Arrow Icon Motion Inside Buttons */
.nav-cta svg,
.btn-primary-cb svg,
.btn-cb-primary svg,
.btn-primary-lg svg,
.cta-btn-primary svg,
.nav-cta [data-lucide],
.btn-primary-cb [data-lucide],
.btn-cb-primary [data-lucide] {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-cta:hover svg,
.btn-primary-cb:hover svg,
.btn-cb-primary:hover svg,
.btn-primary-lg:hover svg,
.cta-btn-primary:hover svg,
.nav-cta:hover [data-lucide],
.btn-primary-cb:hover [data-lucide],
.btn-cb-primary:hover [data-lucide] {
  transform: translateX(4px);
}

/* Secondary & Ghost Buttons Color Transitions */
.btn-secondary-cb,
.btn-cb-secondary,
.btn-ghost-lg,
.cta-btn-ghost,
.drawer-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 100px;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--cb-slate-200);
  color: var(--cb-slate-700) !important;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-secondary-cb:hover,
.btn-cb-secondary:hover,
.btn-ghost-lg:hover,
.cta-btn-ghost:hover,
.drawer-btn--ghost:hover {
  background: rgba(2, 132, 199, 0.08);
  border-color: var(--cb-primary-500);
  color: var(--cb-primary-700) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15);
}

/* ══════════════════════════════════════════════════════════════════════════
   3D CARD TILT, SPOTLIGHT & PERSPECTIVE INTERACTION SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */
.tilt-3d-active {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Radial Mouse Spotlight Effect */
.tilt-3d-active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    550px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(2, 132, 199, 0.14),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.tilt-3d-active:hover::before {
  opacity: 1;
}

/* Z-Axis Layers Elevate Inside Card */
.tilt-3d-active > * {
  transform: translateZ(16px);
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.tilt-3d-active:hover {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16), 0 0 30px rgba(2, 132, 199, 0.22);
  border-color: rgba(2, 132, 199, 0.45) !important;
}

.tilt-3d-active:hover .wc-icon,
.tilt-3d-active:hover .icon-box,
.tilt-3d-active:hover .mc-icon-wrap,
.tilt-3d-active:hover .if-icon {
  transform: translateZ(32px) scale(1.1);
  background: var(--blue) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO 3D PARALLAX & DYNAMIC FLOATING KEYFRAMES
   ══════════════════════════════════════════════════════════════════════════ */
.hero-visual {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-visual .browser-frame {
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
  animation: heroFloat3D 6.5s ease-in-out infinite alternate;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

@keyframes heroFloat3D {
  0% {
    transform: perspective(1200px) rotateX(2deg) rotateY(-2deg) translateY(0px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  }
  50% {
    transform: perspective(1200px) rotateX(4deg) rotateY(1.5deg) translateY(-12px);
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.2), 0 0 35px rgba(2, 132, 199, 0.22);
  }
  100% {
    transform: perspective(1200px) rotateX(1deg) rotateY(-3deg) translateY(-5px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
  }
}

.float-card--tl {
  animation: floatBadgeTL 5s ease-in-out infinite alternate;
  transform-style: preserve-3d;
}

.float-card--br {
  animation: floatBadgeBR 5.5s ease-in-out infinite alternate;
  transform-style: preserve-3d;
}

@keyframes floatBadgeTL {
  0% { transform: translateZ(40px) translateY(0px) rotate(-1deg); }
  100% { transform: translateZ(55px) translateY(-9px) rotate(1.5deg); }
}

@keyframes floatBadgeBR {
  0% { transform: translateZ(60px) translateY(0px) rotate(1deg); }
  100% { transform: translateZ(75px) translateY(-11px) rotate(-1.5deg); }
}

/* ══════════════════════════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS & SCROLL REVEAL VARIANTS
   ══════════════════════════════════════════════════════════════════════════ */
[hero-animation], [slide-animation], [card-animation], [finsaro-card], .reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[hero-animation].animate-in, [slide-animation].animate-in, [card-animation].animate-in, [finsaro-card].animate-in, .reveal-on-scroll.animate-in {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Entrance Variants */
[data-anim="zoom-in"] {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
}
[data-anim="zoom-in"].animate-in {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

[data-anim="flip-up"] {
  opacity: 0;
  transform: perspective(800px) rotateX(25deg) translateY(40px);
}
[data-anim="flip-up"].animate-in {
  opacity: 1 !important;
  transform: perspective(800px) rotateX(0deg) translateY(0) !important;
}

[data-anim="slide-left"] {
  opacity: 0;
  transform: translateX(-40px);
}
[data-anim="slide-left"].animate-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

[data-anim="slide-right"] {
  opacity: 0;
  transform: translateX(40px);
}
[data-anim="slide-right"].animate-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  [hero-animation], [slide-animation], [card-animation], [finsaro-card], .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Hero Section Refinements */
.hero-h1-blue {
  background: linear-gradient(135deg, #1b75bb 0%, #1e66f5 50%, #0d4a77 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge {
  background: rgba(27, 117, 187, 0.08);
  border: 1px solid rgba(27, 117, 187, 0.2);
  transition: all 0.25s ease;
}

.hero-badge:hover {
  background: rgba(27, 117, 187, 0.14);
  transform: translateY(-1px);
}

/* Icon Box Helper */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(27, 117, 187, 0.08);
  border: 1px solid rgba(27, 117, 187, 0.15);
  color: var(--blue);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.icon-box--orange {
  background: rgba(255, 105, 0, 0.08);
  border-color: rgba(255, 105, 0, 0.18);
  color: var(--orange);
}

.icon-box--green {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.18);
  color: var(--emerald);
}

/* ══════════════════════════════════════════════════════════════════════════
   BUTTON SHIMMER SWEEPS & TACTILE RIPPLES
   ══════════════════════════════════════════════════════════════════════════ */
.btn-primary-cb, .btn-cb-primary, .btn-primary-lg, .modal-submit-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-cb::after, .btn-cb-primary::after, .btn-primary-lg::after, .modal-submit-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: rotate(25deg);
  transition: none;
  pointer-events: none;
}

.btn-primary-cb:hover::after, .btn-cb-primary:hover::after, .btn-primary-lg:hover::after, .modal-submit-btn:hover::after {
  animation: buttonShimmer 1.1s ease-in-out;
}

@keyframes buttonShimmer {
  0% { left: -60%; }
  100% { left: 140%; }
}

.btn-click-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleWave 0.6s linear;
  pointer-events: none;
}

@keyframes rippleWave {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* Regional Office Card Styling */
.fo-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(27, 117, 187, 0.15);
  color: var(--blue);
  flex-shrink: 0;
}

/* Lead Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2000;
  background: rgba(9, 17, 34, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 20px;
  line-height: 1;
  color: var(--body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--border);
  color: var(--dark);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(27, 117, 187, 0.1);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.5;
}

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

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

.form-group label {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.input-icon-wrap input,
.input-icon-wrap select {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.input-icon-wrap input:focus,
.input-icon-wrap select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 117, 187, 0.15);
}

.modal-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, #1b75bb, #12558d);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(27, 117, 187, 0.35);
  transition: all 0.22s ease;
  margin-top: 6px;
}

.modal-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27, 117, 187, 0.45);
}

.form-guarantee {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Page Load Animation */
.page-fade-in {
  animation: pageFade 0.4s ease-out both;
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════════════
   CLOUDBASE RETAIL OS — COMPONENT STYLES (design.md Specifications)
   ══════════════════════════════════════════════════════════════════════════ */

/* 5.1 Touchscreen POS Interface Layout */
.pos-numeric-display {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pos-product-tile {
  min-width: 120px;
  min-height: 120px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--cb-slate-200);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pos-product-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--cb-shadow-md);
  border-color: var(--cb-primary-500);
}

.pos-product-tile.out-of-stock {
  filter: grayscale(0.85);
  opacity: 0.75;
  cursor: not-allowed;
}

.pos-product-tile.out-of-stock::after {
  content: 'Out of Stock';
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--cb-danger-500);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* 5.2 Buttons & Controls */
.btn-primary-cb,
.btn-cb-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 20px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease-in-out;
  box-shadow: var(--cb-shadow-sm);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary-cb:hover,
.btn-cb-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--cb-shadow-glow);
  color: #ffffff !important;
}

.btn-secondary-cb,
.btn-cb-secondary {
  background: transparent;
  border: 1.5px solid var(--cb-slate-200);
  color: var(--cb-slate-700) !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary-cb:hover,
.btn-cb-secondary:hover {
  background: var(--cb-slate-100);
  border-color: var(--cb-slate-700);
  color: var(--cb-slate-900) !important;
}

/* 5.3 Data Tables (Inventory, Invoices & Ledgers) */
.cb-data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--cb-slate-200);
  box-shadow: var(--cb-shadow-sm);
  background: #ffffff;
}

.cb-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cb-data-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: var(--cb-slate-700);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cb-slate-200);
}

.cb-data-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--cb-slate-800);
  border-bottom: 1px solid var(--cb-slate-100);
}

.cb-data-table tbody tr:nth-child(even) {
  background-color: #fafbfc;
}

.cb-data-table tbody tr:hover {
  background-color: #f1f5f9;
}

/* Status Badges */
.cb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.cb-badge-success,
.cb-badge-in-stock,
.cb-badge-paid {
  background: #d1fae5;
  color: #065f46;
}

.cb-badge-warning,
.cb-badge-low-stock,
.cb-badge-pending {
  background: #fef3c7;
  color: #92400e;
}

.cb-badge-danger,
.cb-badge-out-of-stock,
.cb-badge-overdue {
  background: #ffe4e6;
  color: #9f1239;
}

/* 5.4 Floating AI Assistant ("Ask Airah") Widget */
.airah-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1050;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.airah-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.55);
}

.airah-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.airah-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.airah-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 92vw;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1070;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.airah-drawer-overlay.open .airah-drawer {
  transform: translateX(0);
}

.airah-header {
  padding: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.airah-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.airah-prompt-pill {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cb-slate-50);
  border: 1px solid var(--cb-slate-200);
  color: var(--cb-slate-800);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.airah-prompt-pill:hover {
  background: var(--cb-primary-50);
  border-color: var(--cb-primary-500);
  color: var(--cb-primary-700);
}

/* ══════════════════════════════════════════════════════════════════════════
   GLOBAL LIGHT THEME OVERRIDES — UNIFIED DESIGN SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */
body {
  background-color: #ffffff !important;
  color: #334155 !important;
}

/* Footer Light Theme */
.footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

.footer-top {
  border-bottom: 1px solid #e2e8f0 !important;
}

.footer-desc {
  color: #475569 !important;
}

.fn-title {
  color: #0f172a !important;
}

.fn-form {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

.fn-input {
  color: #0f172a !important;
}

.fn-input::placeholder {
  color: #94a3b8 !important;
}

.footer-socials {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.fsoc {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.fsoc svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #334155 !important;
  transition: all 0.25s ease !important;
}

.fsoc:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35) !important;
}

.fsoc:hover svg {
  stroke: #ffffff !important;
}

.fl-head {
  color: #0284c7 !important;
}

.fl-a {
  color: #475569 !important;
}

.fl-a:hover {
  color: #0284c7 !important;
}

.footer-offices {
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.fo-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.fo-card:hover {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.12) !important;
}

.fo-card-t {
  color: #0f172a !important;
}

.fo-card-a {
  color: #475569 !important;
}

.fo-map-link {
  color: #0284c7 !important;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0 !important;
}

.fb-copy {
  color: #64748b !important;
}

.fb-copy strong {
  color: #0f172a !important;
}

.fb-legal a {
  color: #64748b !important;
}

.fb-legal a:hover {
  color: #0284c7 !important;
}

/* CTA Banner Light Theme */
.cta-panel {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%) !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  box-shadow: 0 20px 60px rgba(2, 132, 199, 0.12) !important;
}

.cta-eyebrow {
  color: #0284c7 !important;
}

.cta-h2 {
  color: #0f172a !important;
}

.cta-sub {
  color: #334155 !important;
}

.cta-trust span {
  color: #334155 !important;
}

.cta-btn-ghost {
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
  background: #ffffff !important;
}

.cta-btn-ghost:hover {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
  color: #0284c7 !important;
}

/* Why Card Dark Variant Light Override */
.why-card--dark {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%) !important;
  border: 1px solid rgba(2, 132, 199, 0.3) !important;
}

.why-card--dark .wc-title--light {
  color: #0f172a !important;
}

.why-card--dark .wc-text--light {
  color: #334155 !important;
}

.why-card--dark .wc-icon--light {
  background: rgba(2, 132, 199, 0.15) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  color: #0284c7 !important;
}

/* Bento Blue Variant Light Override */
.bento-blue {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  position: relative;
}

.bento-blue .icon-box {
  background: rgba(2, 132, 199, 0.12) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
}

.bento-blue .bc-h3 {
  color: #0f172a !important;
}

.bento-blue .bc-p {
  color: #334155 !important;
}

.bento-blue .fbr-ring {
  background: #ffffff !important;
  border: 3px solid #0284c7 !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15) !important;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-blue:hover .fbr-ring {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.25) !important;
}

.bento-blue .fbr-inner {
  color: #0284c7 !important;
  text-align: center;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.bento-blue .fbr-inner [data-lucide],
.bento-blue .fbr-inner .lucide {
  width: 24px;
  height: 24px;
  color: #0284c7;
  margin-bottom: 2px;
}

/* ══════════════════════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE ENGINE & BREAKPOINT ADAPTATION (MOBILE & TABLET)
   ══════════════════════════════════════════════════════════════════════════ */

/* Prevent horizontal overflow */
html, body, #page-wrapper {
  overflow-x: hidden !important;
  width: 100%;
}

/* Touch optimization */
button, a, input, select, .drawer-link, .drawer-acc-btn, .airah-prompt-pill {
  touch-action: manipulation;
}

/* 1. Large Laptops / Desktop (1025px - 1280px) */
@media (max-width: 1280px) {
  .nav-pill-wrap {
    max-width: 100%;
    padding: 0 16px;
  }

  .nav-link {
    padding: 6px 9px;
    font-size: 13px;
  }

  .bento-cell {
    padding: 24px 20px;
  }

  .why-card {
    padding: 24px 20px;
  }

  .faq-layout {
    gap: 40px;
  }
}

/* Intermediate Laptop Padding (1025px - 1180px) */
@media (max-width: 1180px) {
  .nav-link {
    padding: 5px 8px !important;
    font-size: 12.5px !important;
  }
  .nav-login {
    padding: 6px 10px !important;
    font-size: 12.5px !important;
  }
  .nav-cta {
    padding: 7px 14px !important;
    font-size: 12.5px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE HAMBURGER (3-LINE ICON) & DRAWER OVERLAY SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.18);
  padding: 8px;
  cursor: pointer;
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.nav-burger span {
  display: block !important;
  width: 20px !important; /* Explicit width guarantees lines are ALWAYS visible! */
  height: 2.5px !important;
  border-radius: 2px !important;
  background: #0f172a !important; /* High contrast dark slate bars */
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-burger:hover {
  background: rgba(2, 132, 199, 0.16);
  border-color: rgba(2, 132, 199, 0.35);
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg) !important;
  background: #0284c7 !important;
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg) !important;
  background: #0284c7 !important;
}

/* Mobile Drawer Overlay Z-Index & Light Theme Polish */
.nav-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 2500 !important; /* Higher than fixed header (z-index 1000) so header pill doesn't overlap drawer! */
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: auto;
}

.nav-drawer.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-drawer-inner {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(340px, 88vw) !important;
  background: #ffffff !important;
  padding: 24px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.2) !important;
  z-index: 2510 !important;
}

.nav-drawer.open .nav-drawer-inner {
  transform: translateX(0) !important;
}

.drawer-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 18px !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  margin-bottom: 12px !important;
}

.drawer-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.drawer-close:hover {
  background: #e2e8f0 !important;
  color: #0284c7 !important;
}

/* 2. Tablets & Small Laptops (769px - 1024px) */
@media (max-width: 1024px) {
  .nav-links,
  .nav-login {
    display: none !important;
  }

  .nav-burger {
    display: flex !important;
  }

  .nav-pill {
    padding: 6px 8px 6px 14px !important;
  }

  .nav-cta {
    padding: 7px 16px !important;
    font-size: 13px !important;
  }

  .container {
    padding: 0 20px !important;
  }

  .section {
    padding: 64px 0 !important;
  }

  /* Grid Conversions for Tablet */
  .why-grid,
  .bento,
  .modules-grid,
  .ind-feat-grid,
  .founders-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .bento-wide {
    grid-column: span 2 !important;
  }

  .split-grid,
  .ind-hero-grid,
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .pricing-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
  }

  /* Footer Layout for Tablet */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }

  .footer-offices {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .faq-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .faq-left {
    position: static !important;
  }

  .float-card--tl {
    top: 10px !important;
    left: 10px !important;
  }

  .float-card--br {
    bottom: 10px !important;
    right: 10px !important;
  }
}

/* 3. Mobile Landscape & Tablets (577px - 768px) */
@media (max-width: 768px) {
  /* Navigation adjustments */
  .nav-pill {
    padding: 6px 12px !important;
  }

  .nav-logo-img {
    height: 28px !important;
  }

  /* Hero Adjustments */
  .hero {
    padding-top: 108px !important;
    padding-bottom: 48px !important;
  }

  .hero-h1 {
    font-size: clamp(28px, 6.5vw, 42px) !important;
  }

  .hero-p {
    font-size: 15.5px !important;
    line-height: 1.6 !important;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .btn-primary-lg,
  .btn-ghost-lg {
    width: 100% !important;
    justify-content: center !important;
  }

  .float-card {
    display: none !important; /* Hide floating badges on smaller screens for zero clutter */
  }

  /* All Grids collapse to Single Column on Mobile */
  .why-grid,
  .bento,
  .modules-grid,
  .ind-feat-grid,
  .founders-grid,
  .pillars-grid,
  .footer-links,
  .footer-offices {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .bento-wide {
    grid-column: span 1 !important;
    flex-direction: column !important;
  }

  /* Stats Row on Mobile */
  .stats-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 12px !important;
  }

  .stat-box {
    padding: 12px 10px !important;
  }

  .stat-div {
    display: none !important;
  }

  .stat-n {
    font-size: 32px !important;
  }

  /* CTA Panel on Mobile */
  .cta-panel {
    padding: 44px 20px !important;
    border-radius: 24px !important;
  }

  .cta-h2 {
    font-size: 24px !important;
  }

  .cta-btns {
    flex-direction: column !important;
    width: 100% !important;
  }

  .cta-btn-primary,
  .cta-btn-ghost {
    width: 100% !important;
    justify-content: center !important;
  }

  .cta-trust {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }

  /* Modals & Drawers */
  .modal-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
    max-width: 95vw !important;
  }

  .airah-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

/* 4. Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .site-header {
    top: 10px !important;
  }

  .container {
    padding: 0 16px !important;
  }

  .nav-pill-wrap {
    padding: 0 10px !important;
  }

  .nav-pill {
    padding: 5px 6px 5px 12px !important;
  }

  .nav-logo-img {
    height: 25px !important;
    width: auto !important;
  }

  .nav-cta {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .hero-h1 {
    font-size: 26px !important;
  }

  .sec-h2 {
    font-size: 22px !important;
  }

  .sec-sub {
    font-size: 14.5px !important;
  }

  .why-card,
  .bento-cell,
  .module-card,
  .ind-feat-card,
  .pricing-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }

  .footer {
    padding-top: 48px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .fb-legal {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }
}

/* 5. Extra Small Mobile Devices (<= 380px) */
@media (max-width: 380px) {
  .nav-cta span {
    font-size: 11.5px !important;
  }

  .nav-cta svg,
  .nav-cta [data-lucide] {
    display: none !important;
  }
}

