/* Additional styles for Loadzy AI Landing Page */
/* MaisonNeue font faces to match cognicam.ai typography */
@font-face {
    font-family: 'MaisonNeue';
    src: url('MaisonNeue/MaisonNeue-normal-400-100.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MaisonNeue';
    src: url('MaisonNeue/MaisonNeue-normal-500-100.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MaisonNeue';
    src: url('MaisonNeue/MaisonNeue-normal-600-100.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: 'MaisonNeue', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    /* Ensure text wrapping and prevent overflow */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Prevent horizontal overflow globally */
* {
    box-sizing: border-box;
}

*:not(.logos-track) {
    max-width: 100%;
}

/* Additional overflow prevention for text elements */
h1, h2, h3, h4, h5, h6, p, div, span {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Headings tighter tracking similar to reference */
h1, h2, .leading-none { letter-spacing: -0.02em; }

/* Trusted-by marquee slider - Fixed overflow issues */
.logos-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: fit-content;
    animation: marquee-left 30s linear infinite;
    will-change: transform;
}

@media (min-width: 768px) {
    .logos-track {
        gap: 3rem;
        animation: marquee-left 24s linear infinite;
    }
}

.logos-track img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.75;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

@media (min-width: 640px) {
    .logos-track img {
        height: 40px;
    }
}

@media (min-width: 768px) {
    .logos-track img {
        height: 48px;
    }
}

@media (min-width: 1024px) {
    .logos-track img {
        height: 56px;
    }
}

.logos-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

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

/* Subtle gradient background effect */
.gradient-bg {
    background: linear-gradient(135deg, #0A0A0A 0%, #121212 100%);
}

/* Glowing effect for feature cards */
.glow-effect {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.5);
}

/* Animated underline for navigation links */
.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #FF6B00;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: #1E1E1E;
    border-radius: 4px;
}

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

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Pulse animation for CTAs */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.pulse-animation:hover {
    animation: pulse 1.5s infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(90deg, #FF6B00 0%, #6B7280 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Orange glow for interactive elements */
.blue-glow {
    transition: box-shadow 0.3s ease;
}

.blue-glow:hover {
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

/* Professional enhancements */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:translate-y-\[-2px\]:hover {
    transform: translateY(-2px);
}

/* Glass morphism effect */
.backdrop-blur-lg {
    backdrop-filter: blur(16px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Enhanced gradient text */
.text-gradient-enhanced {
    background: linear-gradient(135deg, #FF6B00, #6B7280, #E55A00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Professional card transitions */
.card-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-transition:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Subtle animation delay for staggered effects */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Professional button styles */
.btn-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.3);
}

/* Smooth border transitions */
.border-transition {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced text shadows for better contrast */
.text-shadow-subtle {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Professional spacing utilities */
.section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Logo styling - maximize size in navbar */
.navbar-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* CogniCam-inspired animations */
.text-gradient-animated {
    background: linear-gradient(135deg, #FF6B00 0%, #FFA500 25%, #FF8C00 50%, #FF6B00 75%, #E55A00 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 4s ease-in-out infinite;
    display: inline-block;
}

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

/* Warehouse background animation */
.warehouse-animation {
    background: radial-gradient(circle at 25% 25%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(107, 114, 128, 0.1) 0%, transparent 50%);
    animation: warehouse-pulse 8s ease-in-out infinite;
}

@keyframes warehouse-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Enhanced pulse glow animation */
.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05);
    }
}

/* Enhanced logo carousel animation */
.logo-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    animation: float-subtle 6s ease-in-out infinite;
}

.logo-carousel-duplicate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    animation: float-subtle 6s ease-in-out infinite reverse;
}

@keyframes float-subtle {
    0%, 100% { 
        transform: translateY(0px);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-5px);
        opacity: 0.9;
    }
}

/* Logo hover effects enhanced */
.logo-carousel img, .logo-carousel-duplicate img {
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(70%) brightness(0.8);
}

.logo-carousel img:hover, .logo-carousel-duplicate img:hover {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.15);
}

/* Improved fade-in with stagger delays */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* Enhanced button hover effects */
.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

/* Problem-solution section styles */
.problem-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Statistics display enhancements */
.stat-number {
    background: linear-gradient(135deg, #FF6B00 0%, #6B7280 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1;
}

/* Enhanced testimonial cards */
.testimonial-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(22, 22, 22, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Additional CogniCam-inspired animations */
.bg-gradient-radial {
    background: radial-gradient(circle at center, var(--tw-gradient-stops));
}

.animate-pulse-slow {
    animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Feature showcase section enhancements */
.feature-showcase img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-showcase:hover img {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Enhanced hero text animations */
.text-gradient-animated {
    background: linear-gradient(135deg, #FF6B00 0%, #6B7280 50%, #FF6B00 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 3s ease-in-out infinite;
}

/* Improved button animations */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* CTA section enhancement */
.cta-enhanced {
    position: relative;
}

.cta-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(107, 114, 128, 0.05) 100%);
    pointer-events: none;
}

/* Logo hover effects */
.logo-hover-effect {
    transition: all 0.3s ease;
    filter: grayscale(100%) opacity(0.6);
}

.logo-hover-effect:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* CogniCam-inspired enhancements */
/* Enhanced hero typography */
.text-tightest {
    letter-spacing: -0.1em;
}

.leading-none {
    line-height: 0.9;
}

/* Video background enhancements */
video {
    object-fit: cover;
    object-position: center;
}

/* Enhanced button styles matching cognicam.ai */
.btn-primary-enhanced {
    background: linear-gradient(135deg, #FF6B00 0%, #E55A00 100%);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-enhanced:hover {
    background: linear-gradient(135deg, #E55A00 0%, #CC4A00 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.3);
}

.btn-primary-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary-enhanced:hover::before {
    left: 100%;
}

/* Enhanced section spacing */
.section-enhanced {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .section-enhanced {
        padding: 8rem 0;
    }
}

@media (min-width: 1024px) {
    .section-enhanced {
        padding: 10rem 0;
    }
}

/* Enhanced card styles matching cognicam.ai */
.card-cognicam {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(18, 18, 18, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-cognicam:hover {
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(22, 22, 22, 0.95) 100%);
}

/* Enhanced text effects */
.text-shadow-glow {
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

/* Professional spacing utilities */
.space-y-enhanced > * + * {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .space-y-enhanced > * + * {
        margin-top: 2rem;
    }
}

/* Enhanced focus states */
input:focus, textarea:focus {
    outline: none;
    ring: 2px solid rgba(255, 107, 0, 0.5);
    border-color: rgba(255, 107, 0, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* Mobile-specific improvements */
@media (max-width: 640px) {
    .logos-marquee {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    /* Hero copy: make container narrower so text stacks vertically instead of shrinking */
    .hero-copy {
        max-width: 18rem; /* ~288px - keeps lines shorter */
    }

    /* Restore comfortable heading rhythm */
    h1 {
        line-height: 1.05 !important;
        letter-spacing: -0.01em;
    }

    /* Improve form spacing on mobile */
    .space-y-6 > * + * {
        margin-top: 1.25rem;
    }

    /* Prevent horizontal scroll */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}

/* Tablet-specific improvements */
@media (min-width: 641px) and (max-width: 1024px) {
    .logos-track {
        gap: 2.5rem;
    }
}

/* Ensure images don't overflow containers */
img {
    max-width: 100%;
    height: auto;
}

/* Video responsive behavior */
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Better container max-width for very large screens */
@media (min-width: 1536px) {
    .max-w-7xl {
        max-width: 1400px;
    }
} 