body {
    font-family: sans-serif; /* Example default font */
}

/* --- Pulse Animation (Box Shadow based) --- */
.animate-pulse-lines {
  /* Apply the animation directly to the element */
  animation: pulse 2s infinite;
  /* Ensure it's treated as a block or inline-block for transform */
  display: inline-block;
  /* Hardware acceleration hint */
  transform: translateZ(0);
  /* Ensure border-radius is applied (Tailwind's rounded-full should handle this) */
  /* border-radius: 9999px; */
}

/* New keyframes based on user example, adapted color and spread */
@keyframes pulse {
    0% {
        /* Use indigo color rgba(79, 70, 229, 0.4) */
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    5% {
        /* Subtle scale effect */
        transform: scale(1.01);
    }
    15% {
        /* Return to normal scale */
        transform: scale(1);
    }
    70% {
        /* Expand shadow outwards and fade out - Reduced spread to 25px */
        box-shadow: 0 0 0 25px rgba(79, 70, 229, 0);
    }
    100% {
        /* Ensure shadow is fully faded - Reduced spread to 50px */
        box-shadow: 0 0 0 50px rgba(79, 70, 229, 0);
    }
}
/* --- End Pulse Animation --- */

.hero-pattern {
    background-color: #52b3cb;
    background-image: linear-gradient(
        43deg,
        #BBDFE8 0%,
        #c850c0 46%,
        #ffcc70 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    padding-bottom: 9px;
}
.bg-purple-gradient {
    background: linear-gradient(
        to bottom,
        #faf5ff,
        #e9d5ff,
        #d8b4fe
    );
}
.bg-white-gray-gradient {
    background: linear-gradient(to bottom, #ffffff, #f3f4f6);
}
.bg-blue-purple-gradient {
    background: linear-gradient(to bottom right, #e0f2fe, #e0e7ff);
}
.bg-pink-orange-gradient {
    background: linear-gradient(to bottom right, #fce7f3, #fff7ed);
}
.highlight {
    position: relative;
    z-index: 10;
    display: inline-block;
    background-color: #ffe5d0;
    cursor: pointer;
}
.highlight-info {
    position: absolute;
    z-index: 10;
    display: none;
    min-width: 200px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 20;
    font-weight: 500;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
}
.highlight-info::before {
    content: "";
    z-index: 10;
    position: absolute;
    top: -0.25rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
}
.highlight:hover .highlight-info {
    z-index: 10;
    display: block;
}
.highlight:hover {
    background-color: #ffd7b5;
}
#buttonContainer {
    margin-top: 20px;
}
.btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.btn-warning {
    background-color: #ffc107;
    color: #000;
}
.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}
@keyframes clickAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}
.click-animation {
    animation: clickAnimation 0.3s forwards;
}
@media (max-width: 768px) {
    .signup-btn-tablet {
        border-radius: 0.5rem;
    }
}

.cta-shimmer {
    position: relative;
    isolation: isolate;
    border-radius: 9999px;
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.25);
}

.cta-shimmer::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 4px;
    border-radius: inherit;
    background: linear-gradient(120deg,
        rgba(196, 210, 254, 0.95),
        rgba(252, 207, 255, 0.95),
        rgba(255, 243, 189, 0.95),
        rgba(198, 243, 255, 0.95),
        rgba(196, 210, 254, 0.95)
    );
    background-size: 320% 320%;
    animation: shimmer-flow 4s linear infinite;
    pointer-events: none;
    z-index: -1;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes shimmer-flow {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Fade-in and scale animation classes */
.fade-in {
    opacity: 0;
    transform: scale(0.9);
    transition:
        opacity 0.7s ease-out,
        transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Mobile header hero: use gradient background and hide image */
@media (max-width: 640px) {
    #hero {
        background: linear-gradient(180deg, #e0f2fe 0%, #e0e7ff 50%, #ffffff 100%);
    }
    #hero > img {
        display: none;
    }
}
