@keyframes fade-in-down {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-down {
    animation: fade-in-down 0.7s ease-out forwards;
}
.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}
@keyframes fade-in {
    from { opacity: 0 }
    to { opacity: 1 }
}
@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
}
.animate-pulse-slow {
    animation: pulse-slow 6s ease-in-out infinite;
}
@keyframes gradient-xy {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-gradient-xy {
    background-size: 100% 200%;
    animation: gradient-xy 0.3s ease infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}
@keyframes fade-slide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-slide {
    animation: fade-slide 1s ease forwards;
}
@keyframes blobMorph {
    0%, 100% {
    border-radius: 42% 58% 30% 70% / 42% 38% 62% 58%;
    }
    50% {
    border-radius: 58% 42% 70% 30% / 58% 62% 38% 42%;
    }
}
.blob {
    animation: blobMorph 10s infinite ease-in-out;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}
.glow-pulse {
    animation: pulse-glow 2s infinite;
}
@keyframes float-rotate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}
.animate-float-rotate {
    animation: float-rotate 6s ease-in-out infinite;
}
#typed-text::after {
content: "|";
animation: blink 1s infinite step-end;
}
@keyframes blink {
0%, 100% { opacity: 1 }
50% { opacity: 0 }
}

a:hover {
text-decoration: underline;
text-underline-offset: 4px;
transition: all 0.3s ease;
}

h2:hover, h3:hover {
color: #005599;
transition: color 0.3s ease;
}
@keyframes wiggle {
0%, 100% { transform: rotate(0deg); }
50% { transform: rotate(-5deg); }
}
.wiggle:hover {
animation: wiggle 0.5s ease-in-out;
}
.cta-shine {
position: relative;
overflow: hidden;
}

.cta-shine::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
transform: rotate(25deg);
transition: all 0.5s ease;
}

.cta-shine:hover::before {
left: 100%;
top: 100%;
}
.dark-transition {
transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}
.spinner {
border-top-color: #3498db;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
@keyframes gradient-xy {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.animate-gradient-xy {
    background: linear-gradient(120deg, #f7a8ff, #bd59ff, #ac7dff);
    background-size: 250% 250%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-xy 15s ease infinite;
}
.feature-description p,
.feature-description p[data-block-key] {
color: #1F2937 !important;
}
.dark-transition {
transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

/* FAQ accordion smooth animation */
.faq-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: max-height;
}

details[open] > .faq-content-wrapper {
  /* max-height will be set dynamically by JS for smooth animation via JS */
}

details.faq-item {
  transition:
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
details.faq-item[open] {
  background-color: #f8fafc; /* slate-50 */
  border-color: #c7d2fe; /* indigo-200 */
  box-shadow: 0 4px 24px 0 rgba(99,102,241,0.08), 0 1.5px 3px 0 rgba(0,0,0,0.02);
}
details.faq-item[open] summary {
  color: #6366f1; /* indigo-600 */
}
details.faq-item summary svg {
  transition: transform 0.3s;
}
details.faq-item[open] summary svg {
  transform: rotate(180deg);
}

/* Added wave separator styles */
.editorial {
  display: block;
  width: 100%;
  height: 60px;
  max-height: 60px;
  margin: 0;
  z-index: 5;
  bottom: 0;
  position: absolute;
  left: 0;
  float: left;
}

.parallax1 > use {
  animation: move-forever1 10s linear infinite;
}
.parallax2 > use {
  animation: move-forever2 8s linear infinite;
}
.parallax3 > use {
  animation: move-forever3 6s linear infinite;
}
.parallax4 > use {
  animation: move-forever4 4s linear infinite;
}

@keyframes move-forever1 {
  0% { transform: translate(85px, 0%); }
  100% { transform: translate(-90px, 0%); }
}
@keyframes move-forever2 {
  0% { transform: translate(-90px, 0%); }
  100% { transform: translate(85px, 0%); }
}
@keyframes move-forever3 {
  0% { transform: translate(85px, 0%); }
  100% { transform: translate(-90px, 0%); }
}
@keyframes move-forever4 {
  0% { transform: translate(-90px, 0%); }
  100% { transform: translate(85px, 0%); }
}