/* Animations */
@keyframes parallax {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.8);
  }
}

/* Parallax Background */
.parallax-bg {
  background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: parallax 20s ease-in-out infinite;
}

/* Marquee Animation */
.marquee-item {
  animation: float 3s ease-in-out infinite;
}

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

.prose-custom h2 {
  color: #10b981;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose-custom h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.prose-custom h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.prose-custom p {
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.prose-custom a {
  color: #10b981;
  text-decoration: none;
  transition: color 0.2s;
}

.prose-custom a:hover {
  color: #059669;
}

/* Fix CTA buttons to maintain white text on green background */
.prose-custom a.bg-emerald-500,
.prose-custom a.bg-emerald-600 {
  color: #ffffff !important;
}

.prose-custom a.bg-emerald-500:hover,
.prose-custom a.bg-emerald-600:hover {
  color: #ffffff !important;
}

.prose-custom ul,
.prose-custom ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose-custom li {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.prose-custom strong {
  color: #ffffff;
  font-weight: 600;
}

.prose-custom code {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-custom blockquote {
  border-left: 4px solid #10b981;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #9ca3af;
  font-style: italic;
}

.prose-custom table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.prose-custom th {
  background-color: rgba(16, 185, 129, 0.2);
  color: #ffffff;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
}

.prose-custom td {
  padding: 0.75rem;
  border-bottom: 1px solid #374151;
  color: #d1d5db;
}

.prose-custom img {
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

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

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

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #10b981;
  border-radius: 5px;
}

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

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Details/Summary Styling */
details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

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