/* Nexora Global - Enterprise Brand Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --color-primary: #1D63FF;
  --color-primary-hover: #154ecc;
  --color-purple: #7C3AED;
  --color-purple-hover: #6D28D9;
  --color-green: #00B887;
  --color-navy: #0B132B;
  --color-navy-dark: #060B1A;
  --color-navy-light: #152244;
  --color-slate-900: #0F172A;
  --color-slate-700: #334155;
  --color-slate-500: #64748B;
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;
  --color-bg-light: #F8FAFC;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-slate-900);
  background-color: #FFFFFF;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Custom Gradients */
.gradient-text-primary {
  background: linear-gradient(135deg, #1D63FF 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
  background: linear-gradient(135deg, #7C3AED 0%, #00B887 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-bg-hero {
  background: radial-gradient(120% 80% at 50% -10%, rgba(29, 99, 255, 0.08) 0%, rgba(124, 58, 237, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
}

.gradient-bg-dark {
  background: radial-gradient(80% 60% at 50% 10%, rgba(29, 99, 255, 0.15) 0%, rgba(124, 58, 237, 0.08) 40%, #0B132B 80%);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card-dark {
  background: rgba(21, 34, 68, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enterprise Shadows & Hover Effects */
.card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.09), 0 10px 15px -5px rgba(29, 99, 255, 0.04);
  border-color: rgba(29, 99, 255, 0.3);
}

/* Button glow animations */
.btn-primary-glow {
  box-shadow: 0 4px 14px 0 rgba(29, 99, 255, 0.35);
  transition: all 0.25s ease-in-out;
}

.btn-primary-glow:hover {
  box-shadow: 0 6px 20px rgba(29, 99, 255, 0.5);
  transform: translateY(-1px);
}

/* Subtle badge pulse */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.15); }
}

.animate-pulse-dot {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* Floating consultation widget */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Modal transition styles */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-container {
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

/* Notification Toast */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #0B132B;
  color: #FFFFFF;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--color-primary);
}

.toast.toast-show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: var(--color-green);
}

.toast-error {
  border-left-color: #EF4444;
}

/* Accessibility focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
