/* Audimo lander — visual effects on top of Tailwind (CDN). */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* ---- Gradient text ---- */
.text-gradient {
    background: linear-gradient(120deg, #2D6CF6 0%, #6366F1 45%, #009DFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- Animated mesh blobs ---- */
@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -40px) scale(1.1); }
    66%      { transform: translate(-25px, 25px) scale(0.95); }
}
.blob { animation: blob 18s ease-in-out infinite; will-change: transform; }
.blob-2 { animation-duration: 24s; animation-direction: reverse; }
.blob-3 { animation-duration: 21s; }

/* ---- Dotted / grid background ---- */
.bg-grid {
    background-image:
        linear-gradient(to right, rgba(45,108,246,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(45,108,246,0.06) 1px, transparent 1px);
    background-size: 44px 44px;
}
.bg-dots {
    background-image: radial-gradient(rgba(99,102,241,0.18) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* ---- Float ---- */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.floaty { animation: floaty 6s ease-in-out infinite; }

/* ---- Live waveform bars ---- */
@keyframes wave {
    0%, 100% { transform: scaleY(0.35); }
    50%      { transform: scaleY(1); }
}
.wave-bar { transform-origin: bottom; animation: wave 1s ease-in-out infinite; }

/* ---- Typing caret ---- */
@keyframes caret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.caret { animation: caret 1s step-end infinite; }

/* ---- Marquee (language rows) ---- */
@keyframes marquee-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* Force LTR: the roller is a decorative continuous horizontal loop whose
   translateX animation must not flip on RTL pages (e.g. Arabic/Hebrew), or it
   jumps and tears. Individual chip labels still shape RTL via Unicode bidi. */
.marquee { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0.625rem; }
.marquee-l .marquee-track { animation: marquee-l 60s linear infinite; }
.marquee-r .marquee-track { animation: marquee-r 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---- Card hover: soft lift + a glow that actually reads on the blue bg ----
   These cards aren't clickable, so keep the normal arrow cursor (not the text
   I-beam that shows over their text by default). The old glow was a blue shadow
   on a blue background — invisible. Use a dark ambient shadow for depth plus a
   faint white halo so the lift is legible. */
.card-hover { transition: transform .25s ease, box-shadow .25s ease; cursor: default; }
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -18px rgba(2, 6, 23, 0.55), 0 0 26px -6px rgba(255, 255, 255, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .blob, .floaty, .wave-bar, .caret, .marquee-track { animation: none !important; }
}

/* ---- Long-form legal/contact pages ---- */
.prose-audimo { color: #334155; line-height: 1.7; }
.prose-audimo h1 { font-size: 2rem; font-weight: 800; color: #1E293B; margin-bottom: 1rem; }
.prose-audimo h2 { font-size: 1.25rem; font-weight: 700; color: #1E293B; margin-top: 2rem; margin-bottom: 0.5rem; }
.prose-audimo p { margin-bottom: 1rem; }
.prose-audimo a { color: #2D6CF6; text-decoration: underline; }
