/* Digital King Software House - Custom Cyber-Tech Styles & Keyframes */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --dk-bg-main: #060b17;
  --dk-bg-card: #0c1433;
  --dk-bg-card-hover: #111d4a;
  --dk-border: rgba(99, 102, 241, 0.18);
  --dk-border-glow: rgba(56, 189, 248, 0.45);
  --dk-cyan: #00d2ff;
  --dk-blue: #2563eb;
  --dk-purple: #7c3aed;
  --dk-violet: #a855f7;
  --dk-gold: #f59e0b;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--dk-bg-main);
  color: #f8fafc;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* Custom Global & Container Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #060b17;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00d2ff;
}

/* Modal & Component Specific Vertical Scrollbars */
.modal-scroll,
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #00d2ff rgba(10, 15, 30, 0.9);
  -webkit-overflow-scrolling: touch;
}

.modal-scroll::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.modal-scroll::-webkit-scrollbar-track,
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(10, 15, 30, 0.85);
  border-radius: 8px;
  margin: 4px 0;
}

.modal-scroll::-webkit-scrollbar-thumb,
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00d2ff 0%, #3b82f6 50%, #7c3aed 100%);
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

.modal-scroll::-webkit-scrollbar-thumb:hover,
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.8);
}

/* Gradient Texts */
.text-gradient-cyan-purple {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(13, 22, 54, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(56, 189, 248, 0.15);
}

.glass-card-purple:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(168, 85, 247, 0.2);
}

/* Glow Background Spheres */
.glow-cyan {
  position: absolute;
  width: 450px;
  height: 450px;
  max-width: 90vw;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.glow-purple {
  position: absolute;
  width: 500px;
  height: 500px;
  max-width: 90vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .glow-cyan {
    width: 240px;
    height: 240px;
    filter: blur(35px);
  }
  .glow-purple {
    width: 260px;
    height: 260px;
    filter: blur(40px);
  }
}

/* Subtle Grid Lines */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Floating Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

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

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

/* Badges & Tags */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  background: rgba(37, 99, 235, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-pill-purple {
  background: rgba(124, 58, 237, 0.15);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.badge-pill-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.5), 0 4px 6px -2px rgba(37, 211, 102, 0.25);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 15px 30px -3px rgba(37, 211, 102, 0.7);
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}

.whatsapp-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.75;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@keyframes ping {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
