/* E:\My Web Apps\agencore-website\styles.css */
/* Tailwind is loaded via CDN in index.html - custom styles only here */


.glass-panel {
  background: rgba(36, 40, 59, 0.4);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.2),
    0 10px 15px -3px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.glass-panel:hover {
  border: 1px solid rgba(122, 162, 247, 0.4);
  background: rgba(36, 40, 59, 0.6);
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(122, 162, 247, 0.2);
}

.glass-nav {
  background: rgba(36, 40, 59, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* Custom Animations */
@keyframes float {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1) rotate(5deg);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9) rotate(-5deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(122, 162, 247, 0.4);
  }

  50% {
    box-shadow: 0 0 35px rgba(122, 162, 247, 0.7);
  }
}

@keyframes morph {

  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }

  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
}

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

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

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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: #1a1b26;
  color: #a9b1d6;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-image:
    radial-gradient(at 0% 0%, rgba(122, 162, 247, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(125, 207, 255, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(187, 154, 247, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9999;
}

.blob {
  position: absolute;
  width: 600px;
  height: 600px;
  filter: blur(100px);
  border-radius: 50%;
  animation: float 25s infinite alternate, morph 15s infinite alternate;
  z-index: -1;
  opacity: 0.4;
  mix-blend-mode: screen;
}

.blob-1 {
  top: -15%;
  left: -10%;
  background: linear-gradient(135deg, rgba(122, 162, 247, 0.3) 0%, rgba(187, 154, 247, 0.2) 100%);
}

.blob-2 {
  bottom: -25%;
  right: -10%;
  animation-delay: -7s;
  background: linear-gradient(135deg, rgba(125, 207, 255, 0.3) 0%, rgba(122, 162, 247, 0.2) 100%);
}

.blob-3 {
  top: 45%;
  left: 25%;
  width: 450px;
  height: 450px;
  animation-delay: -12s;
  background: linear-gradient(135deg, rgba(247, 118, 142, 0.2) 0%, rgba(187, 154, 247, 0.2) 100%);
}

.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(800px circle at var(--x) var(--y),
      rgba(122, 162, 247, 0.15),
      rgba(125, 207, 255, 0.08) 20%,
      transparent 60%);
  z-index: 1;
  transition: opacity 0.5s ease;
}

.text-gradient {
  background: linear-gradient(to right, #7aa2f7, #bb9af7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  background: linear-gradient(135deg, #7aa2f7 0%, #7dcfff 100%);
  color: #1a1b26;
  font-weight: 800;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Animations that will be triggered by JS */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

::-webkit-scrollbar-track {
  background: #0B1120;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}