/* ==========================================================================
   B-Lab ERP - Next-Gen Marketing Landing Page Design System & Styles
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-main);

  /* Emerald Brand Palette */
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-200: #a7f3d0;
  --primary-300: #6ee7b7;
  --primary-400: #34d399;
  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-700: #047857;
  --primary-800: #065f46;
  --primary-900: #064e3b;

  /* Accents */
  --accent-cyan: #06b6d4;
  --accent-violet: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Light Theme Variables */
  --landing-bg: #f8fafc;
  --landing-text: #1e293b;
  --landing-text-muted: #64748b;
  --landing-card-bg: #ffffff;
  --landing-card-border: rgba(226, 232, 240, 0.85);
  --landing-nav-bg: rgba(255, 255, 255, 0.85);
  --landing-nav-border: rgba(226, 232, 240, 0.8);
  --landing-hero-glow: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
  --landing-pill-bg: rgba(16, 185, 129, 0.1);
  --landing-pill-text: #059669;
  --landing-pill-border: rgba(16, 185, 129, 0.25);
  --landing-code-bg: #0f172a;
  --landing-footer-bg: #0f172a;
  --landing-footer-text: #94a3b8;
  --landing-footer-heading: #f8fafc;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.08), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 12px 30px -8px rgba(16, 185, 129, 0.45);
}

[data-bs-theme="dark"] {
  --landing-bg: #0b0f19;
  --landing-text: #f1f5f9;
  --landing-text-muted: #94a3b8;
  --landing-card-bg: rgba(17, 24, 39, 0.75);
  --landing-card-border: rgba(255, 255, 255, 0.09);
  --landing-nav-bg: rgba(11, 15, 25, 0.85);
  --landing-nav-border: rgba(255, 255, 255, 0.08);
  --landing-hero-glow: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(6, 182, 212, 0.12) 50%, transparent 75%);
  --landing-pill-bg: rgba(16, 185, 129, 0.15);
  --landing-pill-text: #34d399;
  --landing-pill-border: rgba(16, 185, 129, 0.3);
  --landing-footer-bg: #080c14;
  --landing-footer-text: #64748b;
  --landing-footer-heading: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 12px 30px -8px rgba(16, 185, 129, 0.55);
}

/* Base Document Styles */
body.landing-page {
  font-family: var(--font-main);
  background-color: var(--landing-bg);
  color: var(--landing-text);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--landing-text);
  letter-spacing: -0.02em;
}

/* Ambient Ambient Glow Mesh */
.ambient-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 850px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.ambient-orb-1 {
  width: 650px;
  height: 650px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--landing-hero-glow);
}

.ambient-orb-2 {
  width: 400px;
  height: 400px;
  top: 200px;
  right: -100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.ambient-orb-3 {
  width: 450px;
  height: 450px;
  top: 450px;
  left: -120px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
}

/* Navigation Bar with Bottom Green Border */
.landing-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--landing-nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2.5px solid var(--primary-500);
  box-shadow: 0 4px 20px -2px rgba(16, 185, 129, 0.25);
  transition: all 0.3s ease;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.landing-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.landing-brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--landing-text);
  letter-spacing: -0.03em;
  margin: 0;
}

.landing-brand-title span {
  color: var(--primary-500);
}

.landing-nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--landing-text-muted);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.landing-nav-link:hover {
  color: var(--primary-500);
}

/* Glowing Live Demo Button */
.btn-live-demo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: #ffffff !important;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  transition: all 0.25s ease;
  overflow: hidden;
  cursor: pointer;
}

.btn-live-demo:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(16, 185, 129, 0.55);
}

.btn-live-demo:active {
  transform: translateY(0);
}

/* Pulsating Live Dot */
.pulse-indicator {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: #ffffff;
  border-radius: 50%;
}

.pulse-indicator::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: pulseRing 1.8s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulseRing {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Theme Toggle Button */
.theme-toggle-round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--landing-card-border);
  background: var(--landing-card-bg);
  color: var(--landing-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-round:hover {
  color: var(--primary-500);
  border-color: var(--primary-500);
  transform: rotate(15deg);
}

/* Pill Badges */
.badge-pill-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.95rem;
  border-radius: 9999px;
  background: var(--landing-pill-bg);
  color: var(--landing-pill-text);
  border: 1px solid var(--landing-pill-border);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.035em;
}

.hero-headline .text-gradient-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--landing-text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: none;
  color: #ffffff !important;
  box-shadow: 0 14px 28px -6px rgba(16, 185, 129, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -6px rgba(16, 185, 129, 0.55);
}

.btn-hero-secondary {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 0.85rem;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  color: var(--landing-text) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: var(--landing-card-border);
  color: var(--primary-500) !important;
  transform: translateY(-2px);
}

/* Trust Ticker Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--landing-text-muted);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust-item i {
  color: var(--primary-500);
  font-size: 1.05rem;
}

/* =========================================================================
   Simulated ERP Workspace Mockup (High Aesthetic Dashboard Graphic)
   ========================================================================= */
.dashboard-mockup-wrapper {
  position: relative;
  max-width: 1080px;
  margin: 3rem auto 0;
  perspective: 1000px;
}

.dashboard-mockup-window {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.15), 0 0 40px rgba(16, 185, 129, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--landing-card-border);
}

[data-bs-theme="dark"] .mockup-header-bar {
  background: rgba(255, 255, 255, 0.03);
}

.mockup-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.mockup-dot-red { background-color: #ef4444; }
.mockup-dot-yellow { background-color: #f59e0b; }
/* Modern 2-Column Split Hero */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.75rem;
  align-items: center;
  text-align: left;
}

@media (max-width: 991px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-split-grid .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-split-grid .hero-cta-group {
    justify-content: center;
  }
  .hero-split-grid .hero-trust-bar {
    justify-content: center;
  }
}

.screenshot-tab-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  padding: 0.3rem 0.4rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.85rem;
}

.screenshot-tab-btn {
  padding: 0.35rem 0.85rem;
  font-size: 0.775rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--landing-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.screenshot-tab-btn:hover {
  color: var(--primary-500);
}

.screenshot-tab-btn.active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Compact Modern Screenshot Window */
.screenshot-window-compact {
  position: relative;
  background: var(--landing-card-bg);
  border: 1.5px solid var(--landing-card-border);
  border-radius: 1.15rem;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.22), 0 0 35px rgba(16, 185, 129, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-window-compact:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 75px -15px rgba(0, 0, 0, 0.3), 0 0 50px rgba(16, 185, 129, 0.2);
}

.screenshot-display-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

/* 3-Screen Gallery Grid */
.gallery-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 1.25rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.4);
}

.gallery-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--landing-card-border);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.02);
}

.gallery-card-body {
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.screenshot-container {
  position: relative;
  max-width: 1160px;
  margin: 2.5rem auto 0;
}

.screenshot-aura-glow {
  position: absolute;
  top: 5%;
  left: 3%;
  right: 3%;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.32) 0%, rgba(6, 182, 212, 0.16) 45%, transparent 72%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  border-radius: 2rem;
}

.screenshot-window {
  position: relative;
  z-index: 1;
  background: var(--landing-card-bg);
  border: 1.5px solid var(--landing-card-border);
  border-radius: 1.25rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.25), 0 0 45px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.screenshot-window:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.35), 0 0 65px rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Feature Callout Hotspot Badges floating over screenshot */
.screenshot-hotspot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 5;
  transition: transform 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

.screenshot-hotspot:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--primary-500);
  color: #ffffff;
}

.hotspot-pos {
  top: 14px;
  right: 170px;
}

.hotspot-roles {
  top: 14px;
  right: 28px;
}

@media (max-width: 992px) {
  .screenshot-hotspot {
    display: none;
  }
}

.mockup-body-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 480px;
}

@media (max-width: 860px) {
  .mockup-body-grid {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
}

.mockup-sidebar {
  background: rgba(15, 23, 42, 0.03);
  border-right: 1px solid var(--landing-card-border);
  padding: 1.25rem 0.85rem;
}

[data-bs-theme="dark"] .mockup-sidebar {
  background: rgba(0, 0, 0, 0.2);
}

.mockup-sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--landing-text-muted);
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}

.mockup-sidebar-item.active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.mockup-content {
  padding: 1.5rem;
  background: var(--landing-bg);
}

/* Mockup KPI Cards */
.mockup-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
  .mockup-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mockup-kpi-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 0.85rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.mockup-kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.mockup-kpi-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--landing-text);
  margin-bottom: 0.2rem;
}

.mockup-kpi-lbl {
  font-size: 0.75rem;
  color: var(--landing-text-muted);
  font-weight: 500;
}

.mockup-kpi-trend {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.mockup-split-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .mockup-split-row {
    grid-template-columns: 1fr;
  }
}

.mockup-panel {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 0.85rem;
  padding: 1.25rem;
}

/* Floating interactive overlay tag */
.floating-demo-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--landing-card-bg);
  border: 1px solid var(--primary-500);
  padding: 0.65rem 1.1rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-500);
  z-index: 10;
  animation: floatBounce 3s ease-in-out infinite;
}

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

/* =========================================================================
   Live Metric Counters Section
   ========================================================================= */
.metrics-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--landing-card-border);
  border-bottom: 1px solid var(--landing-card-border);
  background: var(--landing-card-bg);
  position: relative;
  z-index: 1;
}

.metric-stat-item {
  text-align: center;
  padding: 1rem;
}

.metric-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-500);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.metric-stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--landing-text);
  margin-bottom: 0.2rem;
}

.metric-stat-desc {
  font-size: 0.8rem;
  color: var(--landing-text-muted);
}

/* =========================================================================
   Section Header Styling
   ========================================================================= */
.section-wrapper {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

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

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
}

/* =========================================================================
   Module Explorer Cards
   ========================================================================= */
.module-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 1.15rem;
  padding: 1.85rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.4);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.module-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  background: var(--landing-pill-bg);
  color: var(--primary-500);
  border: 1px solid var(--landing-pill-border);
}

.module-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.module-card-text {
  font-size: 0.925rem;
  color: var(--landing-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.module-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--landing-text);
  font-weight: 500;
}

.module-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.module-features-list li i {
  color: var(--primary-500);
  font-size: 0.95rem;
}

/* =========================================================================
   Deep Dive Spotlight Section
   ========================================================================= */
.spotlight-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  overflow: hidden;
}

.spotlight-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-500);
  margin-bottom: 0.75rem;
  display: block;
}

.spotlight-title {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.spotlight-desc {
  font-size: 1rem;
  color: var(--landing-text-muted);
  margin-bottom: 1.5rem;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--landing-pill-bg);
  color: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* POS Terminal Visual Simulation inside Spotlight */
.pos-preview-box {
  background: #0f172a;
  border-radius: 1.25rem;
  padding: 1.5rem;
  color: #f8fafc;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.pos-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.pos-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 1rem;
}

.pos-key-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.55rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #f8fafc;
}

/* =========================================================================
   Live Demo Experience Section (The Star Feature)
   ========================================================================= */
.demo-showcase-section {
  background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.04) 50%, transparent 100%);
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.demo-role-card {
  background: var(--landing-card-bg);
  border: 1.5px solid var(--landing-card-border);
  border-radius: 1.35rem;
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
}

.demo-role-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px -10px rgba(16, 185, 129, 0.25);
  border-color: var(--primary-500);
}

.demo-role-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  width: fit-content;
}

.role-super-admin {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-500);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.role-manager {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.role-pos {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-violet);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.demo-role-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.demo-role-desc {
  font-size: 0.9rem;
  color: var(--landing-text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.demo-credentials-box {
  background: var(--landing-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.demo-cred-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.demo-cred-row:last-child {
  margin-bottom: 0;
}

.btn-launch-role {
  width: 100%;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.75rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-launch-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35);
}
.btn-launch-emerald:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-launch-cyan {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(6, 182, 212, 0.35);
}
.btn-launch-cyan:hover {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-launch-violet {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(139, 92, 246, 0.35);
}
.btn-launch-violet:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================================================================
   FAQ Accordion Styling
   ========================================================================= */
.accordion-custom .accordion-item {
  background-color: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 0.85rem !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  background-color: var(--landing-card-bg);
  color: var(--landing-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background-color: rgba(16, 185, 129, 0.05);
  color: var(--primary-500);
}

.accordion-custom .accordion-body {
  font-size: 0.95rem;
  color: var(--landing-text-muted);
  line-height: 1.65;
  padding: 0 1.5rem 1.5rem;
}

/* =========================================================================
   Final Conversion Banner
   ========================================================================= */
.cta-banner-wrapper {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #0f172a 100%);
  border-radius: 1.85rem;
  padding: 4.5rem 2.5rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(5, 150, 105, 0.4);
  overflow: hidden;
}

.cta-banner-wrapper::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.cta-banner-subtitle {
  font-size: 1.15rem;
  color: #a7f3d0;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* =========================================================================
   Modern Footer with Green Top Border
   ========================================================================= */
.landing-footer {
  background: var(--landing-footer-bg);
  color: var(--landing-footer-text);
  padding: 4.5rem 0 2rem;
  border-top: 2.5px solid var(--primary-500);
  box-shadow: 0 -4px 25px -4px rgba(16, 185, 129, 0.2);
  position: relative;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.footer-brand-title span {
  color: var(--primary-500);
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-500);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a:hover {
  color: #34d399;
  transform: translateX(3px);
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.btn-scroll-top {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-scroll-top:hover {
  background: var(--primary-500);
  color: #ffffff;
  border-color: var(--primary-500);
  transform: translateY(-2px);
}

/* =========================================================================
   Modal Styling for Live Demo Launcher
   ========================================================================= */
.demo-modal-content {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
  color: var(--landing-text);
}

.copy-badge-btn {
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--landing-card-border);
  background: var(--landing-card-bg);
  font-size: 0.75rem;
  color: var(--landing-text-muted);
  transition: all 0.2s ease;
}

.copy-badge-btn:hover {
  color: var(--primary-500);
  border-color: var(--primary-500);
}

/* =========================================================================
   Utility Helpers for Badges & Gradient Buttons
   ========================================================================= */
.btn-primary-gradient {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stat-icon.emerald {
  background-color: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

[data-bs-theme="dark"] .stat-icon.emerald {
  background-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* =========================================================================
   Unlimited & Enterprise Scale Highlights
   ========================================================================= */
.badge-unlimited {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  color: var(--primary-500);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.unlimited-feature-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 1.15rem;
  padding: 1.65rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.unlimited-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 16px 36px -8px rgba(16, 185, 129, 0.2);
}

.unlimited-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.unlimited-icon-box.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.unlimited-icon-box.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
}

.unlimited-icon-box.violet {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}

.unlimited-icon-box.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.banner-unlimited-wrapper {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: 0 20px 50px -15px rgba(5, 150, 105, 0.3);
}


