/* ==========================================================================
   TrackMyShop — Ultra-Modern SaaS Animation & Design System
   ========================================================================== */

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

:root {
  --primary: #0f172a;
  --primary-rgb: 15, 23, 42;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-light: #ffedd5;
  --accent-rgb: 234, 88, 12;
  --blue-brand: #2563eb;
  --emerald-brand: #10b981;
  --purple-brand: #7c3aed;
  --gold-brand: #d97706;
  
  --dark-slate: #0f172a;
  --slate-900: #090d16;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 35px rgba(234, 88, 12, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: var(--slate-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-slate);
  font-weight: 800;
  line-height: 1.25;
}

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

.container-narrow {
  max-width: 900px;
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(234, 88, 12, 0.2); }
  50% { box-shadow: 0 0 40px rgba(234, 88, 12, 0.45); }
}

@keyframes pulseEmerald {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

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

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

@keyframes laserSweep {
  0% { top: 5%; opacity: 0.8; }
  50% { top: 90%; opacity: 1; }
  100% { top: 5%; opacity: 0.8; }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 6s ease-in-out infinite;
}

.animate-shake {
  animation: shakeAlert 0.4s ease-in-out;
}

/* ==========================================================================
   Interactive Barcode Scanner & Inventory Lab Styles
   ========================================================================== */
.inventory-scanner-container {
  background: var(--dark-slate);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
  position: relative;
  overflow: hidden;
}

.scanner-viewport {
  position: relative;
  background: #090d16;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(234, 88, 12, 0.4);
  padding: 30px 20px;
  text-align: center;
  overflow: hidden;
}

.scanner-laser-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ef4444 50%, transparent 100%);
  box-shadow: 0 0 15px #ef4444, 0 0 30px #ef4444;
  animation: laserSweep 2s infinite ease-in-out;
  pointer-events: none;
  z-index: 5;
}

.barcode-stripes {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  height: 70px;
  padding: 10px 20px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.barcode-stripe {
  height: 100%;
  background: #0f172a;
}

.inventory-item-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inventory-item-card:hover, .inventory-item-card.active {
  background: rgba(234, 88, 12, 0.15);
  border-color: var(--accent);
  transform: translateX(6px);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.5);
}

.btn-dark {
  background-color: var(--dark-slate);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--slate-800);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--slate-700);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-400);
  color: var(--dark-slate);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.badge-emerald {
  background-color: #d1fae5;
  color: var(--emerald-brand);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-blue {
  background-color: #dbeafe;
  color: var(--blue-brand);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

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

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-slate);
  cursor: pointer;
  padding: 4px;
}

/* Mobile Drawer Base & Overlay */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   Hero Section & Interactive Animation Frame
   ========================================================================== */
.hero-section {
  padding-top: 125px;
  padding-bottom: 70px;
  background: radial-gradient(circle at 50% 15%, rgba(255, 237, 213, 0.75) 0%, rgba(248, 250, 252, 1) 65%);
  position: relative;
  overflow: hidden;
}

/* Background Animated Canvas */
#hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Glowing Ambient Gradient Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ea580c 0%, rgba(234, 88, 12, 0) 70%);
  top: -100px;
  left: 5%;
}

.ambient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2563eb 0%, rgba(37, 99, 235, 0) 70%);
  top: 15%;
  right: 2%;
  animation-delay: -4s;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  margin-bottom: 18px;
  display: inline-block;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--dark-slate);
  text-align: left;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-600);
  margin-bottom: 28px;
  text-align: left;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--slate-600);
  font-weight: 600;
  flex-wrap: wrap;
}

.hero-guarantee span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-guarantee i {
  color: var(--emerald-brand);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img, .avatar-stack span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

/* Floating Interactive Badges around Hero Showcase */
.showcase-wrapper {
  position: relative;
  width: 100%;
}

.floating-pill {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.floating-pill-left {
  top: -14px;
  left: -15px;
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.floating-pill-right {
  bottom: 20px;
  right: -20px;
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.floating-pill-bottom {
  bottom: -20px;
  left: 20%;
  color: #1e40af;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.hero-showcase {
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.4) 0%, rgba(15, 23, 42, 0.15) 100%);
  box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.25), 0 0 45px rgba(234, 88, 12, 0.18);
  position: relative;
}

.showcase-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.showcase-topbar {
  background: var(--slate-100);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
}

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

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-url-bar {
  background: #ffffff;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-family: monospace;
  color: var(--slate-500);
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}

/* Rotating Hero Showcase Slides */
.showcase-slider-container {
  position: relative;
  min-height: 230px;
}

.showcase-slide {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.showcase-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: heroSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Showcase Mini Navigation Tabs */
.showcase-nav-tabs {
  display: flex;
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  padding: 6px 10px;
  gap: 6px;
  justify-content: space-between;
}

.showcase-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 6px 4px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.showcase-nav-btn:hover {
  color: var(--dark-slate);
  background: rgba(255,255,255,0.6);
}

.showcase-nav-btn.active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.showcase-nav-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  animation: tabProgress 2.5s linear infinite;
}

@keyframes tabProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* ==========================================================================
   Animated Step-by-Step Explainer Workflow ("How It Works")
   ========================================================================== */
.workflow-section {
  padding: 100px 0;
  background: #ffffff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 50px;
}

.workflow-step-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.workflow-step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.step-number-badge {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark-slate);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.workflow-step-card:hover .step-number-badge {
  background: var(--accent);
}

.step-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 10px 0 20px 0;
}

.step-icon-orange { background: var(--accent-light); color: var(--accent); }
.step-icon-blue { background: #dbeafe; color: var(--blue-brand); }
.step-icon-green { background: #d1fae5; color: var(--emerald-brand); }
.step-icon-purple { background: #f3e8ff; color: var(--purple-brand); }

.workflow-step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.workflow-step-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

.step-mini-visual {
  margin-top: auto;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Live Interactive Conflict Simulator Section
   ========================================================================== */
.conflict-sim-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
}

.sim-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.sim-interactive-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sim-calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.sim-date-btn {
  padding: 10px 4px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.sim-date-btn:hover {
  border-color: var(--accent);
}

.sim-date-btn.booked {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
  cursor: pointer;
}

.sim-date-btn.available {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.sim-date-btn.selected-available {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.sim-date-btn.selected-conflict {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.sim-status-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--slate-200);
  background: var(--slate-50);
  transition: var(--transition);
}

.sim-status-card.status-safe {
  background: #f0fdf4;
  border-color: #10b981;
}

.sim-status-card.status-danger {
  background: #fef2f2;
  border-color: #ef4444;
}

/* ==========================================================================
   Animated Royal Invoice Template Flipper
   ========================================================================== */
.invoice-flipper-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.invoice-preview-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 750px;
  margin: 0 auto;
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

/* ==========================================================================
   Stats & Trust Counters Section
   ========================================================================== */
.stats-section {
  padding: 70px 0;
  background: var(--dark-slate);
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card h3 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-card h3 span.plus {
  color: var(--accent);
}

.stat-card p {
  color: var(--slate-400);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==========================================================================
   Core Features Grid Section
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section-bg {
  background-color: var(--slate-50);
}

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

.section-header .badge {
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 2.5rem;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--slate-600);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(234, 88, 12, 0.4);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.feature-icon-orange { background: var(--accent-light); color: var(--accent); }
.feature-icon-blue { background: #dbeafe; color: var(--blue-brand); }
.feature-icon-green { background: #d1fae5; color: var(--emerald-brand); }
.feature-icon-purple { background: #f3e8ff; color: var(--purple-brand); }
.feature-icon-amber { background: #fef3c7; color: #d97706; }
.feature-icon-cyan { background: #cffafe; color: #0891b2; }

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Tabbed Feature Showcase
   ========================================================================== */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--slate-300);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.tab-content-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content-panel.active {
  display: block;
}

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

.tab-feature-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
}

.tab-text-col h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.tab-text-col p {
  color: var(--slate-600);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.tab-feature-list {
  list-style: none;
  margin-bottom: 30px;
}

.tab-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--slate-700);
  font-weight: 500;
}

.tab-feature-list li svg, .tab-feature-list li i {
  color: var(--emerald-brand);
  flex-shrink: 0;
  margin-top: 3px;
}

.tab-visual-col {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--slate-200);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

/* ==========================================================================
   Comparison Table (Excel vs TrackMyShop)
   ========================================================================== */
.comparison-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-200);
}

.comparison-table th {
  background: var(--slate-100);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
}

.comparison-table th.highlight, .comparison-table td.highlight {
  background: #fff7ed;
}

.comparison-table td {
  font-size: 0.95rem;
}

.status-cross {
  color: #ef4444;
  font-weight: 700;
}

.status-check {
  color: var(--emerald-brand);
  font-weight: 700;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.pricing-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
}

.pricing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--slate-300);
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -5px rgba(234, 88, 12, 0.28);
  transform: scale(1.04);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.pricing-header p {
  color: var(--slate-500);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-slate);
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--dark-slate);
}

.price-period {
  color: var(--slate-500);
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.pricing-features li i, .pricing-features li svg {
  color: var(--emerald-brand);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-slate);
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

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

.faq-chevron {
  transition: var(--transition);
  color: var(--accent);
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark-slate) 0%, #1e293b 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-box p {
  color: var(--slate-300);
  font-size: 1.2rem;
  margin-bottom: 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ==========================================================================
   Semantic Component Grids & Mobile Utilities
   ========================================================================== */
.showcase-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.inventory-lab-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.inventory-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12px;
}

.rental-calc-box {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
  padding: 36px;
}

.rental-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
  align-items: start;
  margin-top: 40px;
}

.onboarding-card {
  background: #ffffff;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
}

.comparison-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}

.comparison-swipe-hint {
  display: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  margin-bottom: 8px;
}

/* Mobile Sticky Bottom Floating Action Bar */
.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 1030;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-floating-bar-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-floating-bar .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-full);
}
