/* Custom styles for RentGrab splash page */

body {
    font-family: 'Inter', sans-serif;
}

/* Animation for delayed floating shape */
.floating-delayed {
    animation-delay: 1s;
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scenario transitions */
.scenario-content {
    transition: opacity 0.5s ease-in-out;
}

/* Icon initialization - hide until lucide loads */
[data-lucide] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show icons after lucide initialization */
[data-lucide].lucide {
    opacity: 1;
}

/* Additional hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

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

/* Custom backdrop blur for older browsers */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Ensure proper stacking */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/* Custom focus styles */
button:focus,
input:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

/* Loading state for form submission */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
}

/* Ensure proper text contrast */
.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Custom gradient backgrounds */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Blur effects */
.blur-3xl {
    filter: blur(64px);
}

/* Animation delays for staggered entrance */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Improved button interactions */
button {
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Form validation styles */
input:invalid {
    border-color: #ef4444;
}

input:valid {
    border-color: #10b981;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

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