/* Custom Animations and Styles */

/* Pulse Glow Effect for CTAs */
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
  }
}

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

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

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

/* Parallax Content Effects */
.parallax-content {
  animation: parallaxSlide 1s ease-out;
}

.parallax-image {
  animation: parallaxSlide 1.2s ease-out;
}

@keyframes parallaxSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Marquee Animation for Provider Cloud */
.marquee-container {
  position: relative;
}

.marquee-content {
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Duplicate content for seamless loop */
.marquee-content::after {
  content: "";
  display: flex;
  gap: 1rem;
  position: absolute;
  left: 100%;
  top: 0;
}

/* Create seamless marquee by duplicating */
.marquee-content {
  display: inline-flex;
  gap: 1rem;
}

/* Prose Styling for Better Readability */
.prose {
  color: #d1d5db;
  line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #d4af37;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.2;
}

.prose h1 {
  font-size: 2.25em;
}

.prose h2 {
  font-size: 1.875em;
}

.prose h3 {
  font-size: 1.5em;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose strong {
  color: #f3f4f6;
  font-weight: 700;
}

.prose a {
  color: #d4af37;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: #fbbf24;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.75em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose blockquote {
  border-left: 4px solid #d4af37;
  padding-left: 1em;
  font-style: italic;
  color: #9ca3af;
}

.prose code {
  background-color: #1a1a1a;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #fbbf24;
}

.prose pre {
  background-color: #1a1a1a;
  padding: 1em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.prose th,
.prose td {
  border: 1px solid #374151;
  padding: 0.75em;
  text-align: left;
}

.prose th {
  background-color: #1f2937;
  font-weight: 700;
  color: #d4af37;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 6px;
}

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

/* Hover Effects */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
details:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* Loading Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .marquee-content {
    animation-duration: 20s;
  }

  .floating-section {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}
