/* Krunnix Premium CSS Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Inter, sans-serif;
  --bg-dark: #0A0A0F;
  --bg-dark-secondary: #0D0D14;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* Match the sticky nav height */
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: #F5F5F7;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

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

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.4);
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
}

.glass-panel-heavy {
  background: rgba(13, 13, 20, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.35); /* Indigo glow */
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
}

.glass-card-cyan:hover {
  border-color: rgba(34, 211, 238, 0.35); /* Cyan glow */
  box-shadow: 0 20px 40px -15px rgba(34, 211, 238, 0.15);
}

/* Float Animations for glowing blobs */
@keyframes float-slow {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translate(0px, 0px) scale(1.1);
  }
  50% {
    transform: translate(-40px, 40px) scale(0.95);
  }
}

.animate-blob-1 {
  animation: float-slow 15s infinite ease-in-out;
}

.animate-blob-2 {
  animation: float-reverse 18s infinite ease-in-out;
}

.animate-blob-3 {
  animation: float-slow 22s infinite ease-in-out reverse;
}

/* Gradient text helpers */
.text-accent-gradient {
  background: linear-gradient(135deg, #6366F1 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text glow */
.text-glow {
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* Custom styles for AOS scroll items */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* Glow buttons */
.btn-glow {
  position: relative !important;
  overflow: hidden !important;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-glow:hover::after {
  transform: translateX(100%);
}

/* Tech badge styling */
.tech-badge {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* FAQ accordion custom height animation support */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-active .faq-content {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* Cute animated glass text shimmer for Logo */
@keyframes shimmer-logo {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.glass-logo-text {
  background-size: 200% auto;
  animation: shimmer-logo 8s linear infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Premium WhatsApp Icon */
.whatsapp-icon-glow {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.4));
}
