/* assets/css/landing.css — Scoutriq Custom Overrides */
html {
    scroll-behavior: smooth;
}

/* Custom pattern for purple tint edges */
.pixel-edge-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="64" height="32" viewBox="0 0 64 32"><path fill="%23ffffff" d="M0 16h16v16H0zM16 8h16v16H16zM32 16h16v16H32zM48 8h16v16H48z"/></svg>');
    background-repeat: repeat-x;
    background-position: bottom left;
    z-index: 10;
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

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

.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}
.text-outline-dark {
    color: transparent;
    -webkit-text-stroke: 2px #131313;
}

/* Smooth fade in */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Blend mode for purple hero images */
.blend-purple {
    background-color: #4c35b9;
}
.blend-purple img {
    mix-blend-mode: luminosity;
    opacity: 0.8;
}

/* Image zoom effect */
.img-zoom-container {
    overflow: hidden;
}
.img-zoom-container img {
    transition: transform 0.7s ease;
}
.img-zoom-container:hover img {
    transform: scale(1.05);
}

/* Footer SCOUTRIQ Logo Text - Ultra condensed heavy */
.footer-logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    font-stretch: ultra-condensed;
    transform: scaleX(0.75);
    transform-origin: left bottom;
}
@media (min-width: 768px) {
    .footer-logo-text {
        font-size: 8rem;
    }
}
@media (min-width: 1024px) {
    .footer-logo-text {
        font-size: 10rem;
    }
}

/* Scroll to Top Floating Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #5b58f5;
    color: #ffffff;
    border: 2px dashed rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 25px -3px rgba(91, 88, 245, 0.5), 0 4px 10px -2px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
    margin: 0;
}

.scroll-top-btn.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.scroll-top-btn:hover {
    background-color: #4a47d4;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 15px 30px -3px rgba(91, 88, 245, 0.65), 0 6px 12px -2px rgba(0, 0, 0, 0.35);
}

.scroll-top-btn:active {
    transform: translateY(0) scale(0.95) !important;
}

.scroll-top-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.2s ease;
}

.scroll-top-btn:hover svg {
    transform: translateY(-2px);
}
