/* Expert Gestion 3.0 - ThemeForest zxPos / Riyaqas Inspired SaaS Style */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --primary-royal: #1e3a8a;
  --primary-blue: #2563eb;
  --accent-coral: #ff5757;
  --accent-coral-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
  --accent-blue-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --hero-navy-gradient: linear-gradient(135deg, #0e1738 0%, #152458 45%, #1d357d 100%);
  --bg-light: #f8fafc;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: #ffffff;
  color: #334155;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.025em;
  text-rendering: optimizeLegibility;
}

.font-mono-tech {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'zero' 1;
}

/* Tabular figures for financial numbers, tickets, and tables */
.tabular-nums,
table,
td,
th {
  font-variant-numeric: tabular-nums;
}

/* Hero Navy Gradient with Deep Luxury */
.bg-hero-navy {
  background: var(--hero-navy-gradient);
}

/* Organic Wave Bottom Separator */
.wave-separator-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* Clean SaaS White Cards with Elegant Soft Shadow */
.saas-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 0 1px 1px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.saas-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.12), 0 0 1px 1px rgba(37, 99, 235, 0.05);
  border-color: #e2e8f0;
}

/* Ultra-Sharp Enterprise Desktop Mockup Elevation */
.mockup-desktop-pro {
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 25px 70px -15px rgba(14, 23, 56, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mockup-desktop-pro:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 90px -20px rgba(14, 23, 56, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Vibrant Buttons (Pill Shapes like zxPos) */
.btn-coral-pill {
  background: var(--accent-coral-gradient);
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(255, 87, 87, 0.4);
  transition: all 0.25s ease;
}

.btn-coral-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(255, 87, 87, 0.6);
}

.btn-blue-pill {
  background: var(--accent-blue-gradient);
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
}

.btn-blue-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.5);
}

/* Floating Dots and Geometric Accents */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.deco-circle-coral {
  width: 24px;
  height: 24px;
  background: #ff5757;
  opacity: 0.85;
  box-shadow: 0 0 15px rgba(255, 87, 87, 0.5);
}

.deco-circle-blue {
  width: 36px;
  height: 36px;
  background: #2563eb;
  opacity: 0.85;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

/* Custom Interactive Range Sliders */
input[type=range] {
  -webkit-appearance: none;
  background: #e2e8f0;
  border-radius: 999px;
  height: 8px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  border: 3px solid #ffffff;
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Anti-Copy and Screenshot Protection */
.protected-screenshot {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 23, 56, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.screenshot-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

/* Cinematic Ken Burns Random Pan & Zoom Animations */
@keyframes kb-zoom-in-center {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.09); }
}
@keyframes kb-zoom-in-tl {
  0% { transform: scale(1.0); transform-origin: 18% 22%; }
  100% { transform: scale(1.10); transform-origin: 18% 22%; }
}
@keyframes kb-zoom-in-br {
  0% { transform: scale(1.0); transform-origin: 82% 78%; }
  100% { transform: scale(1.10); transform-origin: 82% 78%; }
}
@keyframes kb-zoom-out-tr {
  0% { transform: scale(1.10); transform-origin: 80% 20%; }
  100% { transform: scale(1.0); transform-origin: 80% 20%; }
}
@keyframes kb-zoom-out-bl {
  0% { transform: scale(1.10); transform-origin: 20% 80%; }
  100% { transform: scale(1.0); transform-origin: 20% 80%; }
}
@keyframes kb-pan-left {
  0% { transform: scale(1.06) translateX(2.5%); }
  100% { transform: scale(1.06) translateX(-2.5%); }
}
@keyframes kb-pan-right {
  0% { transform: scale(1.06) translateX(-2.5%); }
  100% { transform: scale(1.06) translateX(2.5%); }
}

.kb-active-center { animation: kb-zoom-in-center 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.kb-active-tl { animation: kb-zoom-in-tl 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.kb-active-br { animation: kb-zoom-in-br 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.kb-active-tr-out { animation: kb-zoom-out-tr 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.kb-active-bl-out { animation: kb-zoom-out-bl 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.kb-active-pan-l { animation: kb-pan-left 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.kb-active-pan-r { animation: kb-pan-right 7.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

/* Slide Transition Animations */
@keyframes slide-trans-fade {
  from { opacity: 0; filter: blur(4px); }
  to { opacity: 1; filter: blur(0); }
}
@keyframes slide-trans-right {
  from { opacity: 0; transform: translateX(35px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-trans-left {
  from { opacity: 0; transform: translateX(-35px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-trans-up {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slide-trans-zoom {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.trans-fade { animation: slide-trans-fade 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.trans-right { animation: slide-trans-right 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.trans-left { animation: slide-trans-left 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.trans-up { animation: slide-trans-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.trans-zoom { animation: slide-trans-zoom 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

