/**
 * Arrancando — Custom CSS (Landing Page)
 * Complementa a Tailwind CSS.
 */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Select dropdown custom arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Input autofill override for dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1A1A1A inset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-color: #2A2A2A !important;
    caret-color: #FFFFFF;
}

/* Subtle animations on scroll (view transition) */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }
    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand glow effect on hover for cards */
.group:hover .brand-glow {
    box-shadow: 0 0 30px rgba(39, 110, 241, 0.15);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #276EF1 0%, #4A8AF4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
