/* Core Stylesheet for Sprinuks Landing Page */

/* Base transitions and smooth scroll */
/* Core Stylesheet for Sprinuks Landing Page */

/* Base transitions and smooth scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: hidden;
  /* Removes unexpected horizontal scrolling across viewports */
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium Typography Refinements for Plus Jakarta Sans & Space Grotesk */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.03em !important;
}

/* Tighten big hero headers even more for high-end dynamic impact */
h1 {
  letter-spacing: -0.04em !important;
}

/* Monospaced text tracking refinements for futuristic agency feel */
.font-mono {
  letter-spacing: 0.08em !important;
}

/* Paragraph legibility adjustments */
p {
  letter-spacing: -0.015em;
}

/* Custom Scrollbar for Viewports & Document */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #08080C;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3B82F6;
}

/* Custom scrollbar specifically for client web mockup viewports */
.scrollbar-thin::-webkit-scrollbar {
  width: 4px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: rgba(18, 18, 26, 0.4);
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 165, 233, 0.5);
  /* Cyan scroll bar glow on portfolio */
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
  }

  50% {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.55);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes hop {

  0%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

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

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-gradient {
  animation: gradient 8s ease infinite;
}

/* Apply WhatsApp hop/pulse on load */
#whatsapp-badge {
  animation: pulse-glow 3s ease-in-out infinite, hop 4s ease-in-out infinite;
}

#whatsapp-badge:hover {
  animation-play-state: paused;
}

/* Custom Text Gradient Selection */
.text-gradient-cyan {
  background: linear-gradient(135deg, #0EA5E9 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #3B82F6 0%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links under-bars */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #3B82F6;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Glassmorphism details */
.glassmorphism {
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px border-white/5;
}

/* Step Card Interactivity Grid line effects */
.step-card {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--x, 0) var(--y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Interactive Portfolio Tabs states */
.portfolio-tab {
  transition: all 0.3s ease;
}

.portfolio-tab.active-tab {
  background-color: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Lead form interactive rings */
input:focus,
textarea:focus {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

/* Input validation feedback states */
.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15) !important;
}

.input-success {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15) !important;
}

/* Hide scrollbar utility for sleek horizontal sliding on mobile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}