@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #f97316;
  --primary-hover: #ea580c;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-light: #ffffff;
  --bg-subtle: #f8fafc;
  --border-light: #e2e8f0;
}

* {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: #1e293b;
  overflow-x: hidden;
}

/* Subtle Grid Background Pattern matching NoxTools */
.bg-grid-pattern {
  background-color: #ffffff;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* NoxTools Gradient Text (Purple to Pink) */
.text-gradient-nox {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 45%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom shadow effects */
.card-shadow {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-shadow:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 6px 12px -2px rgba(15, 23, 42, 0.06);
}

/* Floating animation for tool badges in hero */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(7px);
  }
}

@keyframes floatDeep {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float-1 {
  animation: floatSlow 4.2s ease-in-out infinite;
}
.animate-float-2 {
  animation: floatReverse 4.8s ease-in-out infinite;
}
.animate-float-3 {
  animation: floatDeep 3.8s ease-in-out infinite;
}

/* 3D Mascot Lifelike Organic Float & Sway Animation */
@keyframes mascotFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  30% {
    transform: translateY(-8px) rotate(-0.5deg);
  }
  65% {
    transform: translateY(-3px) rotate(0.4deg);
  }
  85% {
    transform: translateY(-10px) rotate(0.2deg);
  }
}

.mascot-float-layer {
  animation: mascotFloat 5.2s ease-in-out infinite;
  transform-origin: bottom center;
  will-change: transform;
}

.mascot-tilt-layer {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.mascot-tilt-layer:hover #mascotPandaImg {
  filter: drop-shadow(0 25px 35px rgba(249, 115, 22, 0.35));
}

@keyframes bubbleBob {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-1deg);
  }
}

.bubble-animated {
  animation: bubbleBob 3.8s ease-in-out infinite;
  transform-origin: bottom left;
}

@keyframes screenGlow {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

.screen-glow {
  animation: screenGlow 3.2s ease-in-out infinite;
}


/* Pulse animation for operational dot */
@keyframes pulseGreen {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.pulse-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseGreen 2s infinite ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
